I also have the same error on two other sites (http and https)
The error is on that line:
$errors->add('captcha_error', "<strong>$error</strong>: $validate_result");
In this function :
// this function checks the captcha posted with registration
function si_captcha_register_post($errors) {
global $si_captcha_dir, $si_captcha_dir_ns, $si_captcha_opt;
$validate_result = $this->si_captcha_validate_code('reg', 'unlink');
if($validate_result != 'valid') {
$error = ($si_captcha_opt['si_captcha_error_error'] != '') ? $si_captcha_opt['si_captcha_error_error'] : __('ERROR', 'si-captcha');
<strong>$errors->add('captcha_error', "<strong>$error</strong>: $validate_result");</strong>
return $errors;
}
return($errors);
} // end function si_captcha_register_post
Hi, try the following. Deactivate all your plugins except this one and carry out a test? If that does not fix the problem try one of WordPress defaults themes like Twenty Fifteen.
Thank you
Hi !
I’ve never solved this issue on my sites.
I’ve built a new site and I still have issues with this plugin.
If the captcha field is empty or inaccurate I obtain the error :
Error thrown
Call to a member function add() on null
This time there is no PHP error thrown.
If I enter the right captcha everything works as expected.
HELP appreciated.
Regards
Hi, what PHP version is your server running? I can’t reproduce this error on my test local site or my test life site.
Regards
HI !
I use PHP 7.0.7
I’ll try to setup a new site and I’ll check step by step any changes to determine what’s going wrong.
Regards
@alkerion, can you test the latest version 2.7.7.8 and report back.
Thank you
Hi !
It still hang, but I don’t think it’s due to your plugin.
Regards
Hi, what do you think is causing the hanging effect in your site?
It seems to be the mix between your plugin and “WP-SpamSchield” and “New User Approve”.
“New User Approve” seems to be the mess maker.
Okay so you have a plugin conflict, is that correct?