DATAVIGI Posted March 2, 2020 Share Posted March 2, 2020 Bonsoir, Afin de récupérer de l'espace sur mon hébergeur, j'ai supprimé sur mes deux boutiques qui ont la même configuration, même thème, même versions php et presta etc... les images contenues dans le dossier images/tmp Pour le premier site aucun problème, 8000 suppressions, pour le second 10 000 suppressions et oh : plantage. (1/1) ContextErrorException Warning: count(): Parameter must be an array or an object that implements Countable in d343d87bc6a54ff3b14fa4438797aa23975a36cf_2.module.ctfootercmsblockviewstemp.php line 30 at content_5e5d2a6a8eafb7_07377355(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 2413 at ModuleCore->fetch('module:ct_footercmsblock/views/templates/hook/ct_footercmsblock.tpl', 'ct_footercmsblock|1|1|1|2|8')in ct_footercmsblock.php line 246 at Ct_Footercmsblock->renderWidget('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 971 at HookCore::coreRenderWidget(object(Ct_Footercmsblock), 'displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 923 at HookCore::exec('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)), 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 d97581eb40bb7587affddc9b749eb1ecef8c849d_2.file.footer.tpl.php line 105 at Block_4065396425e5d2a6a840289_17802403->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_4065396425e5d2a6a840289_17802403), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_4065396425e5d2a6a840289_17802403))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_4065396425e5d2a6a840289_17802403', 'hook_footer')in d97581eb40bb7587affddc9b749eb1ecef8c849d_2.file.footer.tpl.php line 44 at content_5e5d2a6a844813_66065037(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 a4efdd077377c31c4172ae2203837b2cfcc60f99_2.file.layout-both-columns.tpl.php line 346 at Block_19315224585e5d2a6967d3f8_96530068->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19315224585e5d2a6967d3f8_96530068), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19315224585e5d2a6967d3f8_96530068))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_19315224585e5d2a6967d3f8_96530068', 'footer')in a4efdd077377c31c4172ae2203837b2cfcc60f99_2.file.layout-both-columns.tpl.php line 115 at content_5e5d2a69680ab5_55184094(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 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in 1f2387f23ae1c8df75eaf25a0c0fd0b3cc5fb5f0_2.file.layout-full-width.tpl.php line 42 at content_5e5d2a69599a86_28729355(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 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in 0016db0b1cc8c82191d7bdf8890e56559f29bad8_2.file.page.tpl.php line 33 at content_5e5d2a695357f8_78938996(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 116 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in 7a660e5616f53b9be8fbca7722f755fd2ef62183_2.file.index.tpl.php line 32 at content_5e5d2a694d20f6_39285441(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 682 at FrontControllerCore->smartyOutputContent('index.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 J'ai tenté de faire la manip inverse, de remettre les fichiers supprimés (puisque par sécurité j'avais fais une sauvegarde) et ... pas de changement, les mêmes erreurs... Dois-je supprimer le dossier var/cache/dev ? ainsi que vendor/smarty ? Merci d'avance, Link to comment Share on other sites More sharing options...
DATAVIGI Posted March 3, 2020 Author Share Posted March 3, 2020 En désactivant le mode debug j'ai pu récupérer l'accès à la boutique, j'ai supprimé le var/cache/dev, et je vois qu'un module newsletter s'est ajouté. Impossible de le supprimer via le panneau d'admin puisque je suis déconnectée tous les 2 clics, impossible également de le supprimer via le ftp puisque le dossier n'existe pas... impossible également de "l'effacer" par un display:none puisque la fiche css ne se met pas à jour.. à ne rien y comprendre alors que j'ai fais la même manipulation sur l'autre site sans aucun problème. Si quelque sait comment résoudre le souci des déconnexions intempestives et de supprimer un module qui n'existe pas... Merci 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