Kerey Posted June 19, 2019 Share Posted June 19, 2019 ContextErrorException in Managerblock.php line 54: Warning: count(): Parameter must be an array or an object that implements Countable in Managerblock.php line 54 at ErrorHandler->handleError('2', 'count(): Parameter must be an array or an object that implements Countable', '/home2/prixvert/public_html/modules/labmanagerblocks/models/Managerblock.php', '54', array('id_shop' => '2', 'hook_position' => 'displayHome', 'id_lang' => '2', 'object' => array(), 'newObject' => array())) in Managerblock.php line 54 at ManagerBlock->getStaticblockLists('2', 'displayHome') in labmanagerblocks.php line 313 at Labmanagerblocks->hookdisplayHome(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '3')) in Hook.php line 758 at HookCore::coreCallHook(object(Labmanagerblocks), 'hookdisplayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '3')) in Hook.php line 723 at HookCore::exec('displayHome') in IndexController.php line 39 at IndexControllerCore->initContent() in Controller.php line 201 at ControllerCore->run() in Dispatcher.php line 366 at DispatcherCore->dispatch() in index.php line 28 Please help me ! Link to comment Share on other sites More sharing options...
musicmaster Posted June 22, 2019 Share Posted June 22, 2019 "Warning: count(): Parameter must be an array or an object that implements Countable" This happens because you are running a newer php version than is recommended for your Prestashop version. However, if you do a bit of internet search you will find that code that produces this warning can easily be fixed. 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