Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
726 views
in Q2A Core by

hi, my error log is 20GB with this errors how can we fix

PHP Warning:  count(): Parameter must be an array or an object that implements Countable in 

/qa-include/qa-theme-base.php on line 632

/qa-theme-base.php on line 211

/qa-include/app/format.php on line 384

PHP 7.2.4

Q2A 1.8

1 Answer

+1 vote
by

You can't be using Q2A 1.8 because those warnings were fixed for 1.8 and the code you show is not the latest code.

Try downloading the latest version again from the Q2A website.

by
edited by
the two error is fixed with the latest version
/qa-theme-base.php on line 632
/qa-theme-base.php on line 211

but the
/qa-include/app/format.php on line 384
error still exists

Edit Fixed:
File replaced with https://github.com/q2a/question2answer/blob/dev/qa-include/app/format.php
...