search.php in PHP 8.1 have Error message
CHCCD opened this issue · 0 comments
CHCCD commented
Can try your xoops
https://XOOPS_URL/search.php?query=xxx&mid=1&action=showallbyuser&andor=AND&uid=1
Have Error : TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given
line 229:
$count = count($results);
Fix:
$results?$count = count($results):$count = 0;