Support » Plugin: Simple Google reCAPTCHA » Login Error

  • Resolved jansudek


    sometimes 1) I have problem with login to WP (Error…)
    and 2) there is going some Error saved to debug with real login/password (super security issue?!)…
    thx for fix it 🙂

    [2019-01-02T08:31:19+00:00 FATAL]: Core error Uncaught Error: Cannot use object of type WP_Error as array in /wp-content/plugins/simple-google-recaptcha/simple-google-recaptcha.php:112
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(288): sgr_verify(Object(WP_User))
    #1 /wp-includes/plugin.php(203): WP_Hook->apply_filters(Object(WP_User), Array)
    #2 /wp-includes/user.php(163): apply_filters('wp_authenticate...', Object(WP_User), 'PASSWORD')
    #3 /wp-includes/class-wp-hook.php(286): wp_authenticate_username_password(Object(WP_User), 'USER_LOGIN', 'PASSWORD')
    #4 /wp-includes/plugin.php(203): WP_Hook->apply_filters(NULL, Array)
    #5 /wp-includes/pluggable.php(532): apply_ in file /wp-content/plugins/simple-google-recaptcha/simple-google-recaptcha.php on line 112

    WordPress v4.9.9
    Simple Google reCAPTCHA v2.9
    WP_DEBUG is enabled
    PHP 7.2.11

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Minor


    Hi @jansudek,

    Ok, thank you for the report. I did some changes, could you try to replace file simple-google-recaptcha.php with this new version:, please?

    Let me know, If new version works correctly…

    Hi @minor, thx for solving problem… so maybe working, don’t know, that special webhosting (+ fatal error handler), I got this error once/twice in month… now it working 😉

    Plugin Author Minor


    Ok, I’ll wait 1 month before release this new version into official respository. Hope no error will occur during this time otherwise let me know, please 🙂

    maybe working 😉 there is some new error showing while logginng “ERROR: Wrong response from Google.”

    Plugin Author Minor


    Damn, it’s strange that this error occurs only sometimes. I prepared updated version (added line error_log(var_export($response, true));) on the link above, so could you update the main file again and send me the error message which will be saved into server error log (If the error occur again), pls?

    yes, shared hosting problem with block cUrl, so no fatal error (only corrected showed error message while logging) 🙂

       'errors' => array (
        'http_request_failed' =>  array (
          0 => 'cURL error 6: getaddrinfo() thread failed to start
       'error_data' => array ( ),
    Plugin Author Minor


    This looks like DNS problem on the server. Which shared hosting are you use?

    Hello, can you update plugin with that updates ??

    it working well, show “ERROR: Wrong response from Google.” instead of log error with password…



    ERROR: Google reCAPTCHA verification failed.
    cannot login, tried deleting and creating new key it doesn’t help.



    @pushpa3112 Hi, try another WP plugin Advanced noCaptcha & invisible Captcha (v2 & v3) with better v3 ReCaptcha 😉

    Plugin Author Minor


    Update added into version 3.0. I’m sorry for really late reaction.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Login Error’ is closed to new replies.