Jump to content

[RÉSOLU] Erreurs en debug mode


Recommended Posts

Bonjour.

Avez-vous une idée de l'origine des erreurs qui apparaissent en mode debug? Je vois que ca vient beaucoup du module content box mais je comprends pas l'erreur

Prestashop 1.7.5

 

Merci

(1/1) ContextErrorException
Notice: Undefined index: main_heading

in 0f722755a399705a99e1824395df0580f9a5256f_2.file.template.tpl.php line 25
at content_5f96db42059a64_51462363(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore->fetch()
in Module.php line 2375
at ModuleCore->display('/modules/contentbox/contentbox.php', 'views/templates/front/template.tpl')
in contentbox.php line 179
at CONTENTBOX->genericHookMethod(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in contentbox.php line 122
at CONTENTBOX->__call('hookdisplayHome', array(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)))
in Hook.php line 966
at HookCore::coreCallHook(object(CONTENTBOX), 'hookdisplayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 351
at HookCore::callHookOn(object(CONTENTBOX), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 903
at HookCore::exec('displayHome')
in IndexController.php line 39
at IndexControllerCore->initContent()
in Controller.php line 281
at ControllerCore->run()
in Dispatcher.php line 509
at DispatcherCore->dispatch()
in index.php line 28

 

Edited by @rthur (see edit history)
Link to comment
Share on other sites

Il y a 2 heures, @rthur a dit :

at ModuleCore->display('/home/robotresto/public_html/modules/contentbox/contentbox.php', 'views/templates/front/template.tpl') in contentbox.php line 179

Le souci semble venir de ce module il faudrait donc adapter son code pour ne plus avoir cette alerte.

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...