Jump to content

Warning: Use of undefined constant _PS_DISPLAY_COMPATIBILITY_WARNING_ - assumed


Recommended Posts

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

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More