count() - functions_calendar.php
Does anyone else get this PHP warning?

 Error String: count(): Parameter must be an array or an object that implements Countable
 Error File: /home/testing/mybb1820/inc/functions_calendar.php
 Error Line: 133
a plugin incompatibility? Try disabling your plugins to see what happens
Hey man, what's up?
Tested on a vanilla install.

Tested on PHP 5.6 = No Error.
Tested on PHP 7.2 = Error
I can confirm it. It try to get the array count also if the index is not set:
Error suppression doesn't work to all.
My Projects - Support My Projects

Don't forget to rate posts!
Just came across this thread, looks like you have already opened this up on github for us.

Good spot and thank you for contributing!

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.

Forum Jump:

Users browsing this thread: 1 Guest(s)