Jump to content

lanie05

New Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by lanie05

  1. We have been trying to setup our prestashop and when testing the cart checkout page, we received this error message. Has anyone encountered this or know what we can do to resolve this? We are still new and learning and trying to do up our own online shop. Thanks in advance _________________________________________________________________________________ (1/1) ContextErrorException Notice: Array to string conversion 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 990 at HookCore::coreCallHook(object(Ps_Googleanalytics), 'hookDisplayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 414 at HookCore::callHookOn(object(Ps_Googleanalytics), 'displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 927 at HookCore::exec('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), 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 b45afe3790851a6fac16717020493db7bd22cf43_2.file.footer.tpl.php line 95 at Block_1343738711611e2410a0cf98_64484150->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_1343738711611e2410a0cf98_64484150), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1343738711611e2410a0cf98_64484150))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_1343738711611e2410a0cf98_64484150', 'hook_footer')in b45afe3790851a6fac16717020493db7bd22cf43_2.file.footer.tpl.php line 39 at content_611e2410a16592_62989763(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, 'greylooklayouts/layout-left-column.tpl', 0, 3600, array(), 0, false)in 835ae4dea51835968260b0329fee312e6fe4781f_2.file.layout-both-columns.tpl.php line 331 at Block_815520936611e240c6b59d7_45780174->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_815520936611e240c6b59d7_45780174), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_815520936611e240c6b59d7_45780174))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_815520936611e240c6b59d7_45780174', 'footer')in 835ae4dea51835968260b0329fee312e6fe4781f_2.file.layout-both-columns.tpl.php line 104 at content_611e240c6b9877_54782965(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, 'greylooklayouts/layout-left-column.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 7c19676f6e6c8fe2f0e878c48aaac57637975db3_2.file.layout-left-column.tpl.php line 38 at content_611e240c695598_92311615(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-left-column.tpl', null, 'greylooklayouts/layout-left-column.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-left-column.tpl')in 783d6173b5762f6e19ca9b4681cc6c4a8a8869fb_2.file.cart.tpl.php line 36 at content_611f6faaadbf83_04274453(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, 'greylooklayouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('checkout/cart.tpl', null, 'greylooklayouts/layout-left-column.tpl', null, false, true, false)in SmartyDev.php line 40 at SmartyDev->fetch('checkout/cart.tpl', null, 'greylooklayouts/layout-left-column.tpl')in FrontController.php line 704 at FrontControllerCore->smartyOutputContent('checkout/cart.tpl')in FrontController.php line 686 at FrontControllerCore->display()in Controller.php line 326 at ControllerCore->run()in Dispatcher.php line 518 at DispatcherCore->dispatch()in index.php line 28
  2. It is happening again, my site issue seemed to have resolved on its own a few weeks ago and then suddenly today it happened again. Anyone found a solution?
  3. Prestashop version 1.7.6.5 PHP 5.6 The PHP version was set by the tech support previously when he managed to solve the issue back in 2020. We haven't amended or added any new add ons so we have no idea why this has happened again
  4. Can anyone help and assi t with this issue? We had this before in Sept 2020 and when we couldn't solve it, finally our hosting provider managed to. Unfortunately over the weekend this error issue happened again. After spending the whole day of trying to solve this again with our hosting techs, the issue cannot be resolved. They have advised that it is a developer issue. Has anyone encountered this and solved it? Need any help possible. Thanks
  5. Hi Everyone, our issue was settled by our hosting service. Our site had randomly loaded on certain browsers and sometimes even after a few refreshes. We had written in to our hosting service and they eventually solved it. Below is a copy of their reply. "When the problem is happening, the cause should show clearly in cPanel | Metrics | Visitors. It shows website activity in realtime. I have checked there, and I believe the problem was due to bad search engine bots accessing the website. I have blocked them. The block code is in the .htaccess file. These bots are blocked: SemrushBot, AhrefsBot, MJ12bot, YandexBot, PetalBot, BLEXBot, DotBot Also, I think some component of the PrestaShop site is old. I was only able to make the site work using PHP 5.6." Now our site is working well but we will need to figure out what went wrong so that we won't have the same issue again. Thanks
  6. Our site turned plain white and in debug mode we see en error message Illegal length modifier specified 'f' in s[np]printf call in smarty_template_compiled.php line 178 we have tried to clear cache but nothing seems to work Am looking for assistance urgently. thank you in advance
  7. Hi , thank u for the reference. We received this error message instead FatalErrorException Error: Illegal length modifier specified 'f' in s[np]printf call in smarty_template_compiled.php line 178" and are not sure how to rectify this. Any advice? Thanks
  8. Our site has suddenly stopped loading or just shows a blank white page. We have tried reverting back to the old default theme but it doesn't work.. Can anyone help with this?
×
×
  • Create New...

Important Information

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