0
When I executed the commands
Composer require symfony/filesystem Post update , is occurring the following error below in my project, on any route I access. Could you help me ? I am using symfony 3.0 with Mysql database on Apache server.
Uncaught ReflectionException: Class does not exist in C:\xampp\htdocs\univrmanut_desenvolvimento\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ContainerBuilder.php:305 Stack trace: #0 C:\xampp\htdocs\univrmanut_desenvolvimento\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ContainerBuilder.php(305): ReflectionClass->__construct('') #1 C:\xampp\htdocs\univrmanut_desenvolvimento\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(771): Symfony\Component\DependencyInjection\ContainerBuilder->addObjectResource('AppKernel') #2 C:\xampp\htdocs\univrmanut_desenvolvimento\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(640): Symfony\Component\HttpKernel\Kernel->buildContainer() #3 C:\xampp\htdocs\univrmanut_desenvolvimento\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php(135): Symfony\Component\HttpKernel\Kernel->initializeContainer() #4 C:\xampp\htdocs\univrmanut_desenvolvimento\vendor\symfony\symfony\src\Symfony\Component\Http in C:\xampp\htdocs\univrmanut_desenvolvimento\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ContainerBuilder.php on line 305
It seems that you have some project dependency problem, try to reinstall the dependencies
– Thayller vilela cintra
I managed to fix it! I removed the Symfony folder from the vendor folder, ran Composer update again and restarted the apache server and the error was fixed. Thank you!
– Daniel Mendes