Jump to content

ContextErrorException Notice: Array to string conversion


Recommended Posts

Salut tous le monde !

 

J'ai posté ici car je suis vraiment désespéré je ne sais pas ce que j'ai fait lors de mes parametrages prestashop ..

Je me retrouve avec une erreur 500 et du coup j'ai activé le mode debug et j'ai donc cette erreur : ContextErrorException Notice: Array to string conversion

Plus de détails ci-dessous :

in HookDisplayFooter.php line 74
at HookDisplayFooter->run()
in ps_googleanalytics.php line 111
at Ps_Googleanalytics->hookDisplayFooter(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 966
at HookCore::coreCallHook(object(Ps_Googleanalytics), 'hookdisplayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 351
at HookCore::callHookOn(object(Ps_Googleanalytics), 'displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 903
at HookCore::exec('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)
in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayFooter'), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayFooter'), object(SmartyDevTemplate)))
in 50132c1e34ff92939f9040de5e6652267388fb34_2.file.footer-1.tpl.php line 98
at Block_8051690905fa983783e1042_99394442->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8051690905fa983783e1042_99394442), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8051690905fa983783e1042_99394442))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_8051690905fa983783e1042_99394442', 'hook_footer')
in 50132c1e34ff92939f9040de5e6652267388fb34_2.file.footer-1.tpl.php line 39
at content_5fa983783ea097_47261145(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/_variants/footer-1.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false)
in c39574c990b612df0963a897894194d11cf4868f_2.file.footer.tpl.php line 32
at content_5fa983783cd645_48159324(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false)
in 0e74819cf152e56e64cfef1639381b4e4b7d29ad_2.file.layout-both-columns.tpl.php line 375
at Block_190126295fa983775a6808_66538442->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_190126295fa983775a6808_66538442), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_190126295fa983775a6808_66538442))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_190126295fa983775a6808_66538442', 'footer')
in 0e74819cf152e56e64cfef1639381b4e4b7d29ad_2.file.layout-both-columns.tpl.php line 118
at content_5fa983775ae286_55415245(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, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')
in bbbfcb03bd4ac04260727677e228d6a0bf9f9f1b_2.file.layout-full-width.tpl.php line 50
at content_5fa98377579007_34769639(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-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')
in c8b5c9da21e3b64e1c96efefce59a65d466df84c_2.file.page.tpl.php line 33
at content_5fa9837753ac96_81618331(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('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')
in d7931574b2c4b9de073b4fbb89074eac82cd1927_2.file.checkout.tpl.php line 33
at content_5fa9837eaefbb7_24943088(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, 'layouts/layout-full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('checkout/checkout.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('checkout/checkout.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 682
at FrontControllerCore->smartyOutputContent('checkout/checkout.tpl')
in FrontController.php line 666
at FrontControllerCore->display()
in Controller.php line 301
at ControllerCore->run()
in Dispatcher.php line 511
at DispatcherCore->dispatch()
in index.php line 28

Pouvez-vous s'il vous plait m'aider ?

 

Merci,

Un nouveau sur PrestaShop.

Link to comment
Share on other sites

  • 8 months later...

Bonjour, je reviens un peu là dessus, j'ai installé un prestashop 1.7.6.8 il n'y a pas longtemps et je tombe également sur cette erreur, je ne trouve pas quel est le fichier qu'il faut modifier j'ai trouvé le hookdisplayfooter.php mais il y a quasiment rien dedans, je pense que ça doit se faire ailleurs; est ce que vous avez réussi à le faire marcher SVP ? merci.

Link to comment
Share on other sites

il y a 9 minutes, Magadi Petshop a dit :

en fait je n'ai pas trouvé le bon fichier php, mais je n'arrive pas à trouver le module ps_googleanalytics j'ai regardé dans theme/classic/modules et il n'y figure pas pourtant installé sur le site

les modules sont dans le répertoire modules

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