gpautomatic Posted February 24, 2023 Share Posted February 24, 2023 I get http 500 error in back office when tried to edit product. Last log in var>logs: *ERROR* v1.7.8.7 2023/02/21 - 12:22:48: Invalid product vars at line 174 in file classes/Link.php I turned on debug mode and I got this: Symfony\Component\Debug\Exception\ContextErrorException: Warning: Zend OPcache API is restricted by "restrict_api" configuration directive at src/Adapter/Debug/DebugMode.php:131 at PrestaShop\PrestaShop\Adapter\Debug\DebugMode->updateDebugModeValueInMainFile('false') (src/Adapter/Debug/DebugMode.php:181) at PrestaShop\PrestaShop\Adapter\Debug\DebugMode->changePsModeDevValue('false') (src/Adapter/Debug/DebugMode.php:85) at PrestaShop\PrestaShop\Adapter\Debug\DebugMode->disable() (src/Adapter/Debug/DebugModeConfiguration.php:158) at PrestaShop\PrestaShop\Adapter\Debug\DebugModeConfiguration->updateDebugMode(false) (src/Adapter/Debug/DebugModeConfiguration.php:89) at PrestaShop\PrestaShop\Adapter\Debug\DebugModeConfiguration->updateConfiguration(array('disable_non_native_modules' => false, 'disable_overrides' => false, 'debug_mode' => false)) (src/PrestaShopBundle/Form/Admin/AdvancedParameters/Performance/PerformanceFormDataProvider.php:62) at PrestaShopBundle\Form\Admin\AdvancedParameters\Performance\PerformanceFormDataProvider->setData(array('disable_non_native_modules' => false, 'disable_overrides' => false, 'debug_mode' => false)) (src/Core/Form/Handler.php:125) at PrestaShop\PrestaShop\Core\Form\Handler->save(array('disable_non_native_modules' => false, 'disable_overrides' => false, 'debug_mode' => false)) (src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php:227) at PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\PerformanceController->processForm(object(Request), object(Handler), 'DebugMode') (src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/PerformanceController.php:124) at PrestaShopBundle\Controller\Admin\Configure\AdvancedParameters\PerformanceController->processDebugModeFormAction(object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false) (admin5454ngebl/index.php:82) I tried to reset htaccess file and didn't worked. Does somebody know how to fix this? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted February 24, 2023 Share Posted February 24, 2023 Kindly confirm whether if Link.php or Dispatcher.php file is overriden on your store or not by checking the below path: /overrides/classes/ If the override exist, then kidnly comment the same and check whether the issue is resolved or not. Link to comment Share on other sites More sharing options...
gpautomatic Posted February 28, 2023 Author Share Posted February 28, 2023 @Knowband Plugins I can't see those files, but now I see this error when I try to edit product.. Error: Maximum execution time of 60 seconds exceeded [Symfony\Component\Debug\Exception\FatalErrorException 0] Link to comment Share on other sites More sharing options...
Derbeca Posted November 3, 2023 Share Posted November 3, 2023 Salut, j'ai la même erreur Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now