Uncaught Error: Class 'Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle' symfony Обновление до 5ой версии, решение

PHP Fatal error: Uncaught Error: Class 'Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle' not found in ...src/Kernel.php:23

Причина в том, что плагин депрекейтнули в симфони 5:

This bundle is deprecated; it will not be updated for Symfony 5. If you want to use doctrine/cache in Symfony, please configure the services manually. When using Symfony, we no longer recommend configuring doctrine/cache through this bundle. Instead, you should use symfony/cache for your cache needs. However, the deprecation does not extend to doctrine/cache, you'll be able to use those classes as you did so far.

Источник: https://github.com/doctrine/DoctrineCach...

Просто удалите строку из config/bundles.php, если вы решили обновляться до 5-ой версии:

// больше не используется
Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true],

Key Words for FKN + antitotal forum (CS VSU):