Ben.Fitzpatrick Posted November 27, 2020 Share Posted November 27, 2020 Have been doing a few edits recently and I seem to have corrupted my site. When I access the front end (www.bees.com.au) I now get the "Whoops, looks like something went wrong." error. Fully error details below. I still have access to the back end. Most recent change to the site prior to it not working: - Updated payment preferences to only allow PrestaShop Checkout as a payment option Other changes made a few hours earlier but site continued to operate fine: - Updated php.ini to increase maximum size for attached files and downloadable products Thanks. Ben PrestaShop 1.7.6.8 -- Whoops, looks like something went wrong. (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' => 2))in Hook.php line 970 at HookCore::coreCallHook(object(Ps_Googleanalytics), 'hookdisplayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 355 at HookCore::callHookOn(object(Ps_Googleanalytics), 'displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 907 at HookCore::exec('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2), 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 00de71589090397295d207f2915f6624faaf939a_2.file.footer.tpl.php line 92 at Block_2338854135fc04130781c35_72115101->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_2338854135fc04130781c35_72115101), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_2338854135fc04130781c35_72115101))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_2338854135fc04130781c35_72115101', 'hook_footer')in 00de71589090397295d207f2915f6624faaf939a_2.file.footer.tpl.php line 39 at content_5fc04130784888_78589339(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, 31536000, array(), 0, false)in 646dae2b649801490f2803a78bf5d5e570a1b25e_2.file.layout-both-columns.tpl.php line 333 at Block_4110893805fc041306f7f66_05847798->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_4110893805fc041306f7f66_05847798), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_4110893805fc041306f7f66_05847798))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_4110893805fc041306f7f66_05847798', 'footer')in 646dae2b649801490f2803a78bf5d5e570a1b25e_2.file.layout-both-columns.tpl.php line 102 at content_5fc041306fa189_12641137(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, 31536000, 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 02c6cbd3fcdd96a222f269838561be6cad12ac30_2.file.layout-full-width.tpl.php line 42 at content_5fc041306e9fb9_26487902(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, 31536000, 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 8dcdb649b7deb86ed768ed411b391e3fc80d8af2_2.file.page.tpl.php line 33 at content_5fc041306e2f57_55079036(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, 31536000, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in c9a5cf220eb5f5748fcf152c3bf47c7237cd6b90_2.file.index.tpl.php line 33 at content_5fc041306dab97_14730114(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('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40 at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 683 at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 667 at FrontControllerCore->display()in Controller.php line 312 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 28 Link to comment Share on other sites More sharing options...
Ben.Fitzpatrick Posted November 27, 2020 Author Share Posted November 27, 2020 Screenshot of logs attached. Link to comment Share on other sites More sharing options...
Ben.Fitzpatrick Posted November 27, 2020 Author Share Posted November 27, 2020 Solved. The problem was that my shop was in "Debug mode". Problem was resolved as soon as this was switched off. Link to comment Share on other sites More sharing options...
kamalchi Posted January 26, 2021 Share Posted January 26, 2021 I have the same problem, Since I changed my hosting, when I try to access my back office and my front office , These errors appear Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php on line 99 Whoops, looks like something went wrong. (1/1) ContextErrorException Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnacweb05/bosnacweb05ad/b260/ipg.farouktraouli44608/src/Adapter/EntityMapper.php:99) in FrontController.php line 823 at FrontControllerCore->canonicalRedirection('https://mycady.com/fr/')in FrontController.php line 438 at FrontControllerCore->init()in Controller.php line 273 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 28 Link to comment Share on other sites More sharing options...
Rhobur Posted January 30, 2021 Share Posted January 30, 2021 @kamalchi, please do not hijack other people threads, open one for yourself. This being said, the most probable cause of your issues is that you're using an outdated PHP version. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now