• Resolved mafsdisseny

    (@capiedge)


    Hello,

    I own a webiste with both WP and WP-members plugin up to date.

    I’ve my error_log file full of this two messages (null and bool), repeating continuously, practically every minute.

    PHP Warning: Trying to access array offset on value of type null in /home/********/public_html/wp-content/plugins/wp-members/includes/class-wp-members-captcha.php on line 108

    PHP Warning: Trying to access array offset on value of type bool in /home/********/public_html/wp-content/plugins/wp-members/includes/class-wp-members-captcha.php on line 108

    Any clue on what could be causing this? and how to solve it?
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The line noted is where it gets the saved API key for Google ReCaptcha.

    Obviously, you have captcha enabled in the plugin’s settings, but have you also added your API keys in the plugin’s Captcha tab?

    Thread Starter mafsdisseny

    (@capiedge)

    OK, that was the point.

    The api keys where missing. Thanks for your support!
    Regards.

    Plugin Author Chad Butler

    (@cbutlerjr)

    Glad that was it.

    I’ll note for the next release that it should be checking to make sure API keys are set, and if not, it should add a notice in the admin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I’m getting a php warning message’ is closed to new replies.