Всем привет. Почистил кэш, после этого перестало заходить в админку, ошибка 500. На сайт заходит без проблем.
Вот что пишет в файле Error:
PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\RuntimeException: Cannot dump definition because of invalid class name (NULL) in /home/fpbuz/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1403
Stack trace:
#0 /home/fpbuz/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php(790): Symfony\Component\DependencyInjection\Dumper\PhpDumper->dumpLiteralClass('NULL')
#1 /home/fpbuz/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php(394): Symfony\Component\DependencyInjection\Dumper\PhpDumper->addNewInstance('_defaults', Object(Symfony\Component\DependencyInjection\Definition), 'return ', '$this->services...')
#2 /home/fpbuz/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php(639): Symfony\Component\DependencyInjection\Dumper\PhpDumper->addServiceInstance('_defaults', Object(Symfony\Component\DependencyInjection\Definition)) in /home/fpbuz/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php on line 1403
Содержимое файла Dumper.php:
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <[email protected]> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Dumper; use Symfony\Component\DependencyInjection\ContainerBuilder; /** * Dumper is the abstract class for all built-in dumpers. * * @author Fabien Potencier <[email protected]> */ abstract class Dumper implements DumperInterface { protected $container; public function __construct(ContainerBuilder $container) { $this->container = $container; } }
Кэш также почистил вручную в папках: /cache/cachefs/ /cache/smarty/