Clean up Warning messages
PHP Warning: count(): Parameter must be an array or an object that implements Countable in ......\videodb\core\functions.php on line 456.
As of php 7.3 the above is being signaled as a warning. add code to use is_countable function to check variable.
For pre php 7.3 users added code to emulate the is_countable function (can be removed once videodb is moved to minimum php version 7.3
Note: as of php 8 the warning will become an error level.
Clean up Warning messages PHP Warning: count(): Parameter must be an array or an object that implements Countable in ......\videodb\core\functions.php on line 456.
As of php 7.3 the above is being signaled as a warning. add code to use is_countable function to check variable. For pre php 7.3 users added code to emulate the is_countable function (can be removed once videodb is moved to minimum php version 7.3
Note: as of php 8 the warning will become an error level.