01426: Parameter must be an array or an object that implements Countable

Summary: Parameter must be an array or an object that implements Countable
Created: 2018-02-13 01:18
Status: Closed, already fixed
Category: Bug
Assigned:
Priority: 3

SORRY, I found that I was using version 2.2.106. Upgrading to 2.2.107 solved this problem.

Version: 2.2.107
OS: 7.2

Description: When editing a page on site [(approve links) edit diff]

I see a repeated warning on top of the edit form:

Warning: count(): Parameter must be an array or an object that implements Countable in /home/letivbvp/www/wiki/scripts/forms.php on line 109

Line 109 of forms.php says: while (count($posnames) > 0 && count(@$args['']) > 0) {

Bernard Bel February 13, 2018, at 01:19 AM