Title: I&#8217;m getting a php warning message
Last modified: February 10, 2024

---

# I’m getting a php warning message

 *  Resolved [mafsdisseny](https://wordpress.org/support/users/capiedge/)
 * (@capiedge)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/im-getting-a-php-warning-message/)
 * 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](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/im-getting-a-php-warning-message/#post-17415162)
 * 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](https://wordpress.org/support/users/capiedge/)
 * (@capiedge)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/im-getting-a-php-warning-message/#post-17416323)
 * OK, that was the point.
 * The api keys where missing. Thanks for your support!
   Regards.
 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/im-getting-a-php-warning-message/#post-17416649)
 * 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.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/im-getting-a-php-warning-message/#post-17416649)
 * Status: resolved