Welcome to the Question2Answer Q&A. There's also a
demo
if you just want to try it out.
Login
Remember
Register
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Ask a Question
Warning: Count(): Parameter Must Be An Array Or An Object
0
votes
77
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
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
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
Please
log in
or
register
to add a comment.
Welcome to the Q&A site for
Question2Answer
.
If you have a question about Q2A, please
ask in English
.
To report a bug, please create a
new issue on Github
or ask a question here with the
bug
tag.
If you just want to try Q2A, please use the
demo site
.
Related questions
PHP Warning: count(): Parameter must be an array or an object that implements Countable
Donut theme shows "Warning: count(): Parameter must be an array..."
Activity count widget. number_format()expects parameter 1 to....
Is exist an array indice for question url?
SSO Integration must be done before the database is created?
q2apro-on-site-notifications: I am receiving twice the same notification at the same time. What must be happening?
Improving code: 3 widgets must check if userid or cookieid
PHP Warning: session_start() - The session id is too long or contains illegal characters
Is there an easy way to count users currently online
is question view count be a feature of ver1.4?
All categories
Q2A Core
(9,469)
Plugins
(2,772)
Themes
(571)
...