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

Found a bug? Tell us!!
Post Reply
dirka
Posts: 2
Joined: Fri Jan 18, 2019 2:35 pm

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

Post by dirka »

I am confronted with the following warning in the error logging of my provider:
Backend log: PHP Warning: count(): Parameter must be an array or an
object that implements Countable in /include/functions_entries_admin.inc.php

Is this a known issue? Can I solve it? How?
I am not a developer
I am using PHP version 7.3
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

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

Post by yellowled »

dirka wrote: Fri Jan 18, 2019 2:44 pmI am using PHP version 7.3
Assuming you're using the latest Serendipity (2.1.4), that is not even quite ready for PHP 7.2 just yet. (Older versions neither, obviously.)

Do you get a line number for that error?

YL
dirka
Posts: 2
Joined: Fri Jan 18, 2019 2:35 pm

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

Post by dirka »

Yep: functions_entries_admin.inc.php on line 139
And yes I am using 2.1.4.
Post Reply