I'm trying to deploy a symfony project following the steps:
./composer.phar update
php bin/console cache:clear
I've also tried to install manually doctrine driver ArrayCache running:
./composer.phar require doctrine/cache
The results is always the same and I end up with the following error:
# ./composer.phar update --no-interaction
[...]
Script cache:clear returned with error code 255
!!
!! In ContainerBuilder.php line 1089:
!!
!! Class Doctrine\Common\Cache\ArrayCache does not exist
!!
!!
!!
Script @auto-scripts was called via post-update-cmd
I'm new with symfony and I'm not able to understand why this class is missing.
I'm using the following versions:
"symfony/framework-bundle": "5.1.*",
"doctrine/doctrine-bundle": "^2.2",
Thanks in advance for your help.