Jump to content

Prestashop 1.7 PHP fatal error - urgent help


Recommended Posts

Hello, I was translating a module and at some point stopped receiving "succesfully saved" notification about the translations. Then I refreshed the page and got HTTP 500 Error and the BO not working anymore.

AH01071: Got error 'PHP message: PHP Fatal error: Cannot declare interface Symfony\\Component\\DependencyInjection\\ContainerAwareInterface, because the name is already in use in /var/www/vhosts/ladies-tailor.ro/httpdocs/app/cache/prod/classes.php on line 7247\n'

The FO is working.

Link to comment
Share on other sites

Reinstalling PS is not an option.


I removed this function:


interface ContainerAwareInterface{public function setContainer(ContainerInterface $container = null);}


from .../prod/classes.php and now the backoffice is working.


What is this function for, what should I expect to not work anymore? 


Edited by Anubis2702 (see edit history)
Link to comment
Share on other sites

  • 9 months later...

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...