Viewing 3 replies - 1 through 3 (of 3 total)
  • I could be related to the following, which has started popping up occasionally since the latest update:

    PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/dailysceptic.org/wp-content/plugins/user-verification/includes/functions-recaptcha.php:326

    Thread Starter panbrioche

    (@panbrioche)

    How can it be fixed?

    • This reply was modified 4 years, 10 months ago by panbrioche.

    Quick & dirty? You could put in this line:

    if (is_wp_error($response)) wp_die( __('Captcha error, please try again.','user-verification') );

    before this line:

    $response = json_decode($response["body"], true);

    But that won’t fix any underlying issues, it’ll just exit more gracefully.

    • This reply was modified 4 years, 10 months ago by solarian.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Captcha Error in comments and login error’ is closed to new replies.