ValeV Posted November 21, 2020 Share Posted November 21, 2020 Ciao a tutti, dopo aver aggiornato Prestashop dalla versione 1.7.6.4 alla 1.7.6.9 non riesco più ad accedere al back office, ma il sito a frontend si vede regolarmente. Dopo aver eseguito il debug vi riporto gli errori mostrati: (1/1) ContextErrorException Warning: count(): Parameter must be an array or an object that implements Countable in a64eb5dded9b075c397352c51b768fb4fcb60f8c_2.file.posvegamenu.tpl.php line 42 at content_5fb82ee87a55e9_94013590(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 2409 at ModuleCore->display('/web/htdocs/www.floricolturalari.com/home/modules/posvegamenu/posvegamenu.php', 'posvegamenu.tpl', 'posvegamenu|1|1|1|10') in posvegamenu.php line 806 at Posvegamenu->hookDisplayVegamenu(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 970 at HookCore::coreCallHook(object(Posvegamenu), 'hookdisplayvegamenu', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 355 at HookCore::callHookOn(object(Posvegamenu), 'displayvegamenu', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 907 at HookCore::exec('displayvegamenu', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null) in smarty.config.inc.php line 167 at smartyHook(array('h' => 'displayvegamenu'), object(SmartyDevTemplate)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayvegamenu'), object(SmartyDevTemplate))) in 4bc9a352aaaa1f0314efe5214b80cc58f97508d1_2.file.header.tpl.php line 167 at Block_4687479625fb82ee83c9ae0_99144396->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_4687479625fb82ee83c9ae0_99144396), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_4687479625fb82ee83c9ae0_99144396)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_4687479625fb82ee83c9ae0_99144396', 'header_top') in 4bc9a352aaaa1f0314efe5214b80cc58f97508d1_2.file.header.tpl.php line 36 at content_5fb82ee83de4b7_44438651(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/header.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false) in 0d34ee46b10b42c3acb892008db8e9fed2b83f07_2.file.layout-both-columns.tpl.php line 213 at Block_2697161355fb82ee826eed4_63899331->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_2697161355fb82ee826eed4_63899331), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_2697161355fb82ee826eed4_63899331)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_2697161355fb82ee826eed4_63899331', 'header') in 0d34ee46b10b42c3acb892008db8e9fed2b83f07_2.file.layout-both-columns.tpl.php line 63 at content_5fb82ee82a4e77_69449218(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 efd2b075bc0600b5f5a2f5b2e731a3c6da9a7e80_2.file.layout-full-width.tpl.php line 42 at content_5fb82ee8231e25_80912997(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 abe10ee08fcbf660d8ae01a39fdc3bad923140ec_2.file.page.tpl.php line 33 at content_5fb82ee81d2176_13018459(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 c8b089a48911d9ec0a5aa7077ab3c1128ee6fbe8_2.file.index.tpl.php line 33 at content_5fb82ee816a318_89895919(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 Qualcuno può aiutarmi? Grazie! Link to comment Share on other sites More sharing options...
ziobudda Posted November 22, 2020 Share Posted November 22, 2020 Ciao, diminuisci la versione di PHP. M. Link to comment Share on other sites More sharing options...
ValeV Posted November 22, 2020 Author Share Posted November 22, 2020 3 hours ago, ziobudda said: Ciao, diminuisci la versione di PHP. M. Sono alla versione 7.2, se torno alla 7.1 mi dice che non è più supportata. Dici che funziona ugualmente? grazie Link to comment Share on other sites More sharing options...
ziobudda Posted November 22, 2020 Share Posted November 22, 2020 Tu prova. M. Link to comment Share on other sites More sharing options...
ValeV Posted November 22, 2020 Author Share Posted November 22, 2020 Ho provato, sono tornata fino alla 5.4, ma dopodichè nemmeno mi apre più la pagina web. Link to comment Share on other sites More sharing options...
ziobudda Posted November 22, 2020 Share Posted November 22, 2020 solitamente funziona con la 7.1 Ogni volta che hai diminuito, hai anche cancellato la cache ? M. Link to comment Share on other sites More sharing options...
ValeV Posted November 22, 2020 Author Share Posted November 22, 2020 (edited) Adesso ho messo la 7.1, e ho fatto l'accesso da safari, browser dal quale non ho mai effettuato l'accesso prima. Confermo che non funziona purtroppo. Provo con la 7.0 cancellando la cache? Edited November 22, 2020 by ValeV (see edit history) 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