Fatal error: Interface 'Symfony\Component\Config\FileLocatorInterface' not found in /var/www/webapp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php on line 22

Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load interface "FileLocatorInterface" from namespace "Symfony\Component\Config". Did you forget a "use" statement for e.g. "Metadata\Driver\FileLocatorInterface" or "Symfony\Component\Config\FileLocatorInterface"? in /var/www/webapp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Templating/Loader/TemplateLocator.php:22 Stack trace: #0 {main} Next Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "twig", path: "templating -> twig -> twig.loader -> twig.controller.exception". in /var/www/webapp/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:293 Stack trace: #0 /var/www/webapp/var/cache/prod/appProdProjectContainer.php(3879): Symfony\Component\DependencyInjection\Container->get('twig') #1 /var/www/webapp/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(329): appProdProjectContainer->getTwi in /var/www/webapp/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php on line 293