tarica Posted January 7, 2023 Share Posted January 7, 2023 (edited) Hello i see this error log in my C panel Parameter must be an array or an object that implements Countable in /home/bogatiockasi/public_html/shop/var/cache/prod/smarty/compile/16/dd/0f/16dd0fd9b6734344beca485d6535c17a3f4035c0_2.file.displayBlockWhite.tpl.php on line 25 and so like this line 25: <?php $_smarty_tpl->_assignInScope('numCols', count($_smarty_tpl->tpl_vars['blocks']->value));?> Edited January 7, 2023 by tarica (see edit history) Link to comment Share on other sites More sharing options...
presta.show Posted January 16, 2023 Share Posted January 16, 2023 Hi, try to change to this code <?php $_smarty_tpl->_assignInScope('numCols', count((array)$_smarty_tpl->tpl_vars['blocks']->value));?> 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