Title: wp-debug error message when plugin is enabled
Last modified: October 27, 2017

---

# wp-debug error message when plugin is enabled

 *  Resolved [AJWD](https://wordpress.org/support/users/ajwd/)
 * (@ajwd)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/wp-debug-error-message-when-plugin-is-enabled/)
 * First of all great plugin!
    Thank you for creating and offering this plugin.
 * I am getting the following error when running this plugin (the message disappears
   when I disable it).
 * Undefined index: captcha_wc_lost_password in /home/…/public_html/wp-content/plugins/
   no-captcha-recaptcha-for-woocommerce/lost-password.php on line 11
 * It happens when I’m logged in as admin on every page.
    -A

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [AJWD](https://wordpress.org/support/users/ajwd/)
 * (@ajwd)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/wp-debug-error-message-when-plugin-is-enabled/#post-9628109)
 * I will add that in my error log I have hundreds of the following:
    [27-Oct-2017
   13:10:28 UTC] PHP Notice: Undefined index: captcha_wc_lost_password in …./public_html/
   wp-content/plugins/no-captcha-recaptcha-for-woocommerce/lost-password.php on 
   line 11
 * Followed by :
 * [27-Oct-2017 13:10:29 UTC] PHP Notice: add_option was called with an argument
   that is **deprecated** since version 2.3.0 with no alternative available. in ….
   public_html/wp-includes/functions.php on line 4026
    [27-Oct-2017 13:10:30 UTC]
   PHP Notice: add_option was called with an argument that is **deprecated** since
   version 2.3.0 with no alternative available. in ….public_html/wp-includes/functions.
   php on line 4026 [27-Oct-2017 13:10:38 UTC] PHP Notice: add_option was called
   with an argument that is **deprecated** since version 2.3.0 with no alternative
   available. in ….public_html/wp-includes/functions.php on line 4026
 *  [sarahmytych](https://wordpress.org/support/users/sarahmytych/)
 * (@sarahmytych)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/wp-debug-error-message-when-plugin-is-enabled/#post-9628188)
 * I am getting the same error. Please advise a fix.
 *  Thread Starter [AJWD](https://wordpress.org/support/users/ajwd/)
 * (@ajwd)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/wp-debug-error-message-when-plugin-is-enabled/#post-9635417)
 * The undefined index error was resolved by replacing no-captcha with a different
   security measure. The deprecated code error was caused by custom code that was
   pulling from the db. I removed the code and all is back to normal.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wp-debug error message when plugin is enabled’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/no-captcha-recaptcha_afc5ce.svg)
 * [No CAPTCHA reCAPTCHA](https://wordpress.org/plugins/no-captcha-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/no-captcha-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/no-captcha-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/no-captcha-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/no-captcha-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/no-captcha-recaptcha/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)
 * [undefined index](https://wordpress.org/support/topic-tag/undefined-index/)

 * 3 replies
 * 2 participants
 * Last reply from: [AJWD](https://wordpress.org/support/users/ajwd/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/wp-debug-error-message-when-plugin-is-enabled/#post-9635417)
 * Status: resolved