skeyms16 Posted April 9, 2020 Share Posted April 9, 2020 Bonjoir je rencontre une erreur en mode debeug , serais t'il possible de m'expliquer cette erreur ansi que la manipulation pour y remedier Merci (1/1) ContextErrorException Warning: count(): Parameter must be an array or an object that implements Countable in 9b5fcd2fbf758086bc3898baa9ddbf680ec639eb_2.module.ttcategoryfeatureviewstem.php line 84 at content_5e8f78194d5b15_35890669(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 2447 at ModuleCore->fetch('module:ttcategoryfeature/views/templates/hook/ttcategoryfeature.tpl', 'ttcategoryfeature|1|1|1|8')in ttcategoryfeature.php line 202 at TtCategoryFeature->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 975 at HookCore::coreRenderWidget(object(TtCategoryFeature), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 927 at HookCore::exec('displayHome')in IndexController.php line 39 at IndexControllerCore->initContent()in Controller.php line 292 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...
lagui Posted April 9, 2020 Share Posted April 9, 2020 (edited) Bonjour, C'est lié à la fonction count() depuis PHP 7.2.0 : https://www.php.net/manual/fr/function.count.php Donc passer en PHP 7.1 ou mettre à jour le code. Edited April 9, 2020 by lagui (see edit history) Link to comment Share on other sites More sharing options...
skeyms16 Posted April 9, 2020 Author Share Posted April 9, 2020 je vous remercie beaucoup le probleme c'est que mon herbergeur commence les proposition a partire de la 7.2 il faudrait donc que je modifie mon fichier mais quoi modifier mdr Link to comment Share on other sites More sharing options...
skeyms16 Posted April 10, 2020 Author Share Posted April 10, 2020 et d'ailleur cette erreur ce trouve dans qu'elle fichier ? Link to comment Share on other sites More sharing options...
lagui Posted April 10, 2020 Share Posted April 10, 2020 Dans le module ttcategoryfeature, fichier ttcategoryfeatureviewstem.php Link to comment Share on other sites More sharing options...
skeyms16 Posted April 10, 2020 Author Share Posted April 10, 2020 (edited) le probleme c'est que j'ai pas de fichier a ce nom dans dans le module ttcategoryfeature Edited April 10, 2020 by skeyms16 (see edit history) Link to comment Share on other sites More sharing options...
lagui Posted April 10, 2020 Share Posted April 10, 2020 Quelle version de PrestaShop ? Link to comment Share on other sites More sharing options...
skeyms16 Posted April 10, 2020 Author Share Posted April 10, 2020 (edited) version de PrestaShop : 1.7.6.3 Edited April 10, 2020 by skeyms16 (see edit history) Link to comment Share on other sites More sharing options...
lagui Posted April 10, 2020 Share Posted April 10, 2020 En fait c'est un fichier en cache généré à partir d'un template du module en question Link to comment Share on other sites More sharing options...
skeyms16 Posted April 10, 2020 Author Share Posted April 10, 2020 c'est bien ce que je me disais sa c'est assez complexe je pense que je vais demander au developpeur 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