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

Hi, Any idea how to solve this issue?

Warning: A non-numeric value encountered in C:\xampp\htdocs\qa\qa-include\app\format.php on line 1105

No other problems, only this one.

Thank you!


1 Answer

+2 votes

This is an issue on the newest PHP version, and will be fixed in the upcoming Q2A 1.8.

In the meantime you can fix it by changing that line (format.php line 1105) to this:

$lastpage = ceil(min((int)$count, 1 + QA_MAX_LIMIT_START) / $pagesize);

In other words, add (int) before the $count variable.