larson210 Posted February 8, 2021 Share Posted February 8, 2021 Bonjour, J'ai installé récemment une boutique en Prestashop 1.7.7.1 j'ai essayé de mettre le mode debug pour résoudre un problème sur un module Une fois le mode debug me je me retrouve avec ces erreurs : Quote Whoops, looks like something went wrong. (1/1) ContextErrorException Warning: Use of undefined constant _PS_DISPLAY_COMPATIBILITY_WARNING_ - assumed '_PS_DISPLAY_COMPATIBILITY_WARNING_' (this will throw an Error in a future version of PHP) in Tools.php line 3096 at ToolsCore::throwDeprecated('Function <b>getAssetUriFromLegacyDeprecatedMethod()</b> is deprecated in <b>/home/bebecreati/public_html/classes/controller/FrontController.php</b> on line <b>1179</b><br />', 'Backward compatibility for this method couldn\'t be handled. Use $this->registerJavascript() instead', 'FrontControllerCore')in Tools.php line 3066 at ToolsCore::displayAsDeprecated('Backward compatibility for this method couldn\'t be handled. Use $this->registerJavascript() instead')in FrontController.php line 1978 at FrontControllerCore->getAssetUriFromLegacyDeprecatedMethod('https://www.google.com/recaptcha/api.js')in FrontController.php line 1179 at FrontControllerCore->addJS(array('https://www.google.com/recaptcha/api.js'))in prestablog.php line 16684 at PrestaBlog->hookDisplayHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 990 at HookCore::coreCallHook(object(PrestaBlog), 'hookDisplayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 414 at HookCore::callHookOn(object(PrestaBlog), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 927 at HookCore::exec('displayHeader')in FrontController.php line 575 at FrontControllerCore->initContent()in IndexController.php line 37 at IndexControllerCore->initContent()in Controller.php line 306 at ControllerCore->run()in Dispatcher.php line 518 at DispatcherCore->dispatch()in index.php line 28 Pourriez-vous me dire ce que je dois faire pour les corriger si tenté ces erreur sont déjà connu je vous remercie 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