Describe the bug
When trying to install the ODC locally by packages (without docker) the compose.phar install command is failing.
VichUploaderBundle's AnnotationDriver is expecting more arguments (2) then provided (1) for construction.
To Reproduce
Steps to reproduce the behavior:
Execute steps respectively from Dockerfile but on local machine
Execute php compose.phar install instead of compose install
Expected behavior
Packages should be installed
Screenshots
Error message
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!!
!! // Clearing the cache for the prod environment with debug false
!!
!! 19:52:43 CRITICAL [php] Uncaught Error: Too few arguments to function Vich\UploaderBundle\Metadata\Driver\AnnotationDriver::__construct(), 1 passed in /srv/odc/odc/var/cache/prod/ContainerBxacoLx/App_KernelProdContainer.php on line 9043 and exactly 2 expected ["exception" => ArgumentCountError { …}]
!!
!! In AnnotationDriver.php line 35:
!!
!! Too few arguments to function Vich\UploaderBundle\Metadata\Driver\Annotatio
!! nDriver::__construct(), 1 passed in /srv/odc/odc/var/cache/prod/ContainerBx
!! acoLx/App_KernelProdContainer.php on line 9043 and exactly 2 expected
!!
!!
!! cache:clear [--no-warmup] [--no-optional-warmers]
!!
!!
Script @auto-scripts was called via post-install-cmd
Server:
OS: Debian 11
php: 8.2
ODC-Release: 3.0.0-RC13
If you need any further information, please let me know!
I hope, that I am just overseeing something..
Thanks a lot in advance!
Describe the bug When trying to install the ODC locally by packages (without docker) the
compose.phar install
command is failing. VichUploaderBundle's AnnotationDriver is expecting more arguments (2) then provided (1) for construction.To Reproduce Steps to reproduce the behavior:
php compose.phar install
instead ofcompose install
Expected behavior Packages should be installed
Screenshots Error message
Server:
If you need any further information, please let me know! I hope, that I am just overseeing something.. Thanks a lot in advance!