I havent checked my website for a few months and today i noticed:
Warning: count(): Parameter must be an array or an object that implements Countable in …. jevelin/inc/helpers.php on line 503
This happens on most pages, from googling and looking on this forum it appears to be an issue with new versions of PHP and the Jevelin theme which looks to have been updated about 10 months ago to fix the above error.
I have run all updates across site, via envato market plugin, have also updated all other plugins and theme files just to make sure.
Can anyone shed any light?
Website is http://www.thetenthyard.co.uk
Thanks for any help.
Sorry to hear of the problem you are having.
Please update the theme on your site to the below latest version as described here https://support.shufflehound.com/updating-theme/
Please login to access this file
After updating the theme, please clear the cache of Hummingbird plugin that you are using on your site.
Thanks for that, i guess the beta version doesnt get pulled from the envato market update method?
Either way it half worked, got rid of all of the errors apart from 1, this remains on my blog page…
<b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>…wp-includes/post-template.php</b> on line <b>293</b>
Should the update have fixed that?
Edit** cleared the hummingbird cache twice just to make sure, but error remains. **
This doesn’t seem to be caused by the theme.
This can be due to plugin conflict on your site so please try temporary deactivating all plugins except Unyson plugin and WpBakery page builder plugins and see whether everything works fine and then enable the plugins one by one to see which plugin is conflicting if any.