Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Warning: Count(): Parameter Must Be An Array Or An Object

0 votes
80 views
asked Jan 11 in Q2A Core by ANGELICA
I'm getting this warning for lines 580 and 177 of qa-theme-base.php.

Any ideas of how to solve it?

Many thanks,
Q2A version: 1.7.5
commented Jan 11 by pupi1985
That's been fixed in the dev (not stable) branch: https://github.com/q2a/question2answer/archive/dev.zip

1 Answer

+1 vote
answered Jan 13 by q2apro
It comes from PHP 7.2

Best is to update your q2a 1.7.5 installation to q2a 1.8+: http://www.question2answer.org/versions.php
...