Details
-
Bug
-
Resolution: Fixed
-
High
-
5.4.7
-
None
Description
After updating to the latest version, using Symfony 2.7.17 and clearing cache, the following exception is thrown while accessing the site (prod environment):
You have requested a synthetic service ("request"). The DIC does not know how to construct this service.
This has been reported upstream @ https://github.com/symfony/symfony/issues/19840
Log / stack:
[Mon Sep 05 21:29:34.009473 2016] [:error] [pid 3083] [client 192.168.56.1:41812] PHP Fatal error: Uncaught exception 'Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' with message 'You have requested a synthetic service ("request"). The DIC does not know how to construct this service.' in /var/www/ezp54/ezpublish/cache/prod/ezpublishProdProjectContainer.php:17105 Stack trace: #0 /var/www/ezp54/ezpublish/bootstrap.php.cache(2189): ezpublishProdProjectContainer->getRequestService()\n#1 /var/www/ezp54/ezpublish/cache/prod/ezpublishProdProjectContainer.php(18752): Symfony\\Component\\DependencyInjection\\Container->get('request', 2) #2 /var/www/ezp54/ezpublish/bootstrap.php.cache(2125): ezpublishProdProjectContainer->synchronizeRequestService() #3 /var/www/ezp54/ezpublish/bootstrap.php.cache(3278): Symfony\\Component\\DependencyInjection\\Container->set('request', NULL, 'request') #4 /var/www/ezp54/ezpublish/bootstrap.php.cache(2479): Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true) #5 /var/www/ezp54/vendor/s in /var/www/ezp54/ezpublish/bootstrap.php.cache on line 3133