Error: Parameter must be an array
-
Hi, I just installed the Woodmart theme and tested in localhost, there is a warning message appeared at the top of the footer. Appreciate your advise on this. Thanks.
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\coronacraft\wp-content\themes\woodmart\sidebar-footer.php on line 14
Attachments:
You must be
logged in to view attached files.
Hello,
We are glad to know that you considered using WoodMart for your web-site. I hope you will be happy with it.
It may happen if you are running an outdated version of PHP on your server. You need to use 5.6+ version for our theme. And we will fix this notice in our next theme update also.
Kind Regards
Xtemos
Hi, how about php version 7.2?
Hi,
We suggest you to use 7.1 version at the moment since 7.2 may be not supported by some plugins even if our theme is fully compatible with it.