Jump to content

HTTP Error 500 on backoffice modification


Recommended Posts

Hello,

We recently upgraded our prestashop website to the 1.7.5 version. We got no problem during the installation, and upgraded our plugins with 1-click upgrade.

But then we started to get 500 server errors on backoffice modifications, as soon as we touch the cache or any "save" button, it crashes.

This is the error we get when we activate the debug mode :

Fatal error: Uncaught TypeError: Argument 1 passed to PrestaShop\PrestaShop\Adapter\Configuration::__construct() must be of the type array, object given, called in /var/www/vhosts/mascottes-animaux.com/httpdocs/classes/db/container/LegacyCompilerPass.php on line 51 and defined in /var/www/vhosts/mascottes-animaux.com/httpdocs/src/Adapter/Configuration.php:47 Stack trace: #0 /var/www/vhosts/mascottes-animaux.com/httpdocs/classes/db/container/LegacyCompilerPass.php(51): PrestaShop\PrestaShop\Adapter\Configuration->__construct(Object(Shop)) #1 /var/www/vhosts/mascottes-animaux.com/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php(141): LegacyCompilerPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #2 /var/www/vhosts/mascottes-animaux.com/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(788): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\Contai in /var/www/vhosts/mascottes-animaux.com/httpdocs/src/Adapter/Configuration.php on line 47
 
If anyone have any solution we'll test out,

Thank you for your time.

 

Edited by Thibaut Mamascotte (see edit history)
Link to comment
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...