Hello,
Can you please correct it?
As of PHP 7.2 var_dump(count(null)); will throw that error, the fix is simple:
instead of
} elseif (count($args) == 1 && !empty($args['remoteAddress'])) {
replace with
} elseif (is_array($args) && count($args) == 1 && !empty($args['remoteAddress'])) {
Thanks!
Hello,
Can you please correct it?
As of PHP 7.2 var_dump(count(null)); will throw that error, the fix is simple:
instead of
} elseif (count($args) == 1 && !empty($args['remoteAddress'])) {
replace with
} elseif (is_array($args) && count($args) == 1 && !empty($args['remoteAddress'])) {
Thanks!