How i solve this? " Warning : count(): Parameter must be an array or an object "

Home Forums Support How i solve this? " Warning : count(): Parameter must be an array or an object "


Hi,
How can i solve this problem in my template?
I got this when i add and view a PRICING element in “Health Center Pro” template.

“Warning
: count(): Parameter must be an array or an object that implements Countable in
/home/doutoragenda/www/libraries/quix/app/drivers/joomla/joomla.php
on line
93”

Site: http://www.doutoragenda.med.br/index.php/services


Hi Sidney,
Which php version are you using ? Make sure that you’re using php version 5.6 or higher.
Is it possible for me to take a look back-end settings ? if so, please submit the ticket here https://warptheme.com/member-area/ticket-system/


Hi Brian
I changed the PHP version from 7.2 to 5.6 on the Host Control Panel, waited a few minutes, and that error disappeared.
Thank you


Hi Sidney,
Switch your php version to 7.1, it better than 5.6 🙂 , I will create a test with latest php 7.2.x to find the issue then report it for Developer.
Thank you

You must be logged in to reply to this topic.