Bonjour à tous
J'ai voulu profiter du 11 novembre pour migrer notre eshop de 1.7.7.8 à 1.7.8.0. Et PHP7.3.à 7.4
Mon souci est le suivant: je rencontre une erreur 500 sur toutes les pages de notre site, et le debug m'affiche les éléments suivants, m'amenant pour le moment à désactiver le module google analytics
Whoops, looks like something went wrong.
(1/1) ContextErrorException
Notice: Trying to access array offset on value of type null
in HookDisplayFooter.php line 90
at HookDisplayFooter->run()in ps_googleanalytics.php line 113
at Ps_Googleanalytics->hookDisplayFooter(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 997
at HookCore::coreCallHook(object(Ps_Googleanalytics), 'hookDisplayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 21
at Hook::coreCallHook(object(Ps_Googleanalytics), 'hookDisplayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 421
at HookCore::callHookOn(object(Ps_Googleanalytics), 'displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 934
at HookCore::exec('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null, false, true, false, null, false)in Hook.php line 52
at Hook::exec('displayFooter', array('smarty' => object(SmartyDevTemplate)), null)in smarty.config.inc.php line 167
at smartyHook(array('h' => 'displayFooter'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayFooter'), object(SmartyDevTemplate)))in 5e54802a8c637af3ec00238b944d7678a8f3163e_2.file.footer.tpl.php line 83
at Block_221113497618ce2494ee012_69251474->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_221113497618ce2494ee012_69251474), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_221113497618ce2494ee012_69251474))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_221113497618ce2494ee012_69251474', 'hook_footer')in 5e54802a8c637af3ec00238b944d7678a8f3163e_2.file.footer.tpl.php line 38
at content_618ce2494ef337_03713322(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()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('file:_partials/footer.tpl', null, 'akira-child-themelayouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)in 5ff8f196f4c64682fe17482f2cfdfcbe7610d1ab_2.file.layout-both-columns.tpl.php line 234
at Block_1767557892618ce2491fb571_47457934->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_1767557892618ce2491fb571_47457934), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1767557892618ce2491fb571_47457934))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_1767557892618ce2491fb571_47457934', 'footer', 1)in 5ff8f196f4c64682fe17482f2cfdfcbe7610d1ab_2.file.layout-both-columns.tpl.php line 408
at Block_832835662618ce2491ebdb6_93331368->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_832835662618ce2491ebdb6_93331368), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_832835662618ce2491ebdb6_93331368))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_832835662618ce2491ebdb6_93331368', 'axps_html')in 5ff8f196f4c64682fe17482f2cfdfcbe7610d1ab_2.file.layout-both-columns.tpl.php line 33
at content_618ce2491fe282_92839773(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()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'akira-child-themelayouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 116
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in a57257aeb165486cb233e42436683d2a463e8dba_2.file.index.tpl.php line 41
at content_618ce2555cac64_73759530(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, 'akira-child-themelayouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'akira-child-themelayouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40
at SmartyDev->fetch('index.tpl', null, 'akira-child-themelayouts/layout-full-width.tpl')in FrontController.php line 727
at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 709
at FrontControllerCore->display()in Controller.php line 326
at ControllerCore->run()in Controller.php line 75
at Controller->run()in Dispatcher.php line 518
at DispatcherCore->dispatch()in index.php line 28
Comme indiqué plus haut, j'ai pour le moment désactivé le module Google Analytics. La réinitialisation n'a pas servi du tout.
C'est un outil indispensable pour le suivi des commandes et des fréquentations. Auriez-vous une idée?
Je vous remercie
Addon: le retour sur php7.3 règle le souci, et j'ai l'impression qu'il y a une incompatibilité avec un autre module appelé "carte cadeau"