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 3:35 pm

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

Post by dirka » Fri Jan 18, 2019 3:44 pm

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

User avatar
yellowled
Regular
Posts: 7036
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

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

Post by yellowled » Fri Jan 18, 2019 9:37 pm

dirka wrote:
Fri Jan 18, 2019 3:44 pm
I 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
amazon Wishlist - Serendipity-Podcast (German only, sorry)

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

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

Post by dirka » Sat Jan 19, 2019 11:06 am

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

Post Reply