Jump to content

Edit History

Thibaut Mamascotte

Thibaut Mamascotte

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.

 

Thibaut Mamascotte

Thibaut Mamascotte

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 modification with the prestashop backoffice, as soon as we touch it, 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.

 

×
×
  • Create New...