incorrect-captcha-sol – no login 2.1.9 and 2.2.0 even disabling um-recaptcha
-
Notice: Undefined index: incorrect-captcha-sol in /…/htdocs/…/wp-content/plugins/um-recaptcha/includes/core/actions/um-recaptcha-form.php on line 132
After updating to v2.1.9 and even v2.2.0 (a few minutes ago) I get the notice above and I’m bounced back at login even disabling the plugin from the Ultimate Member admin (Settings –> Extensions).
Browsing I see that the “incorrect-captcha-sol” is mostly due to recaptcha tags being mixed with form tags.
Everything ok on um-recaptcha v2.1.5 where there are no div with class=”g-recaptcha” into the source page (the div tag is present in 2.1.9 and 2.2.0).
For the notice itself, I suggest you something like:
UM()->form()->add_error( ‘recaptcha’, $error_codes[ $error_code ] ?? ‘Undefined error’);
Thanks!
- The topic ‘incorrect-captcha-sol – no login 2.1.9 and 2.2.0 even disabling um-recaptcha’ is closed to new replies.