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

If you get this message after switching to php version 7.x, change your code to from count() to count(get_object_vars()).

You have no rights to post comments