Jump to content

Recommended Posts

Hello,

I have Presta 1.7.3.2 and I made a clear cache today.

After this I cannot acces admin folder. It says error 500.  The frontend looks fine.

I turn debug mode on (from /config/defines.inc.php) and I got this then I try to open admin :

RuntimeException in PhpDumper.php line 1403:
Cannot dump definition because of invalid class name (NULL)
in PhpDumper.php line 1403
at PhpDumper->dumpLiteralClass('NULL') in PhpDumper.php line 790
at PhpDumper->addNewInstance('_defaults', object(Definition), 'return ', '$this->services['_defaults'] = ') in PhpDumper.php line 394
at PhpDumper->addServiceInstance('_defaults', object(Definition)) in PhpDumper.php line 639
at PhpDumper->addService('_defaults', object(Definition)) in PhpDumper.php line 666
at PhpDumper->addServices() in PhpDumper.php line 145
at PhpDumper->dump(array('class' => 'appDevDebugProjectContainer', 'base_class' => 'Container', 'namespace' => '', 'debug' => true, 'file' => '/home/plafarco/public_html/app/cache/dev/appDevDebugProjectContainer.php')) in bootstrap.php.cache line 2846
at Kernel->dumpContainer(object(ConfigCache), object(ContainerBuilder), 'appDevDebugProjectContainer', 'Container') in bootstrap.php.cache line 2759
at Kernel->initializeContainer() in bootstrap.php.cache line 2533
at Kernel->boot() in bootstrap.php.cache line 2564
at Kernel->handle(object(Request), '1', false) in index.php line 86

 

I don't know what to do in this case. 

Please help.

Thanks

 

Share this post


Link to post
Share on other sites

I found a solution.

I comment line 1403 from /public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php and now the admin worked.

Now, should I be concern about comment this line? It will affect the Presta somehow ?

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More