2017-06-07, 11:04 AM
Since PHP 7.1, arrays need explicitly declaring; you can no longer implicitly cast an empty string to an empty array.
In member.php, line 255 causes an error if the Captcha test fails. It assumes $errors is already an array.
We need to replace (line 205)
with
Quote:As of PHP 7.1.0, applying the empty index operator on a string throws a fatal error. Formerly, the string was silently converted to an array.(http://php.net/manual/en/language.types.array.php)
In member.php, line 255 causes an error if the Captcha test fails. It assumes $errors is already an array.
We need to replace (line 205)
$errors = "";
with
$errors = array();