Title: WP_DEBUG throwing some errors
Last modified: August 24, 2016

---

# WP_DEBUG throwing some errors

 *  Resolved [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wp_debug-throwing-some-errors/)
 * Hey, I am trying to help a user of my plugin ([Better Click To Tweet](https://wordpress.org/plugins/better-click-to-tweet/))
   to make it play nice with your plugin, and when I went to install WP-NoExternalLinks
   on my dev server, it returns these warnings/errors on the settings page (right
   at the top):
 *     ```
       Notice: Undefined index: submit in /srv/www/wordpress-default/wp-content/plugins/wp-noexternallinks/wp-noexternallinks-options.php on line 212
   
       Notice: Undefined index: action in /srv/www/wordpress-default/wp-content/plugins/wp-noexternallinks/wp-noexternallinks-options.php on line 214
       ```
   
 * And then this just above the first three blue links:
 * `Notice: Undefined index: action in /srv/www/wordpress-default/wp-content/plugins/
   wp-noexternallinks/wp-noexternallinks-options.php on line 84`
 * Just thought I’d give you a heads up. It seems to be working well enough (I can’t
   replicate the error the user is getting) but those debug warnings were cause 
   for concern, so I thought I’d reach out!
 * Have a good one!
 * [https://wordpress.org/plugins/wp-noexternallinks/](https://wordpress.org/plugins/wp-noexternallinks/)

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

 *  [Jehy](https://wordpress.org/support/users/jehy/)
 * (@jehy)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wp_debug-throwing-some-errors/#post-5960272)
 * Hi. Notices should be turned off in production environment, so it does not matter.
   Thanks for concern anyway!
 *  Thread Starter [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wp_debug-throwing-some-errors/#post-5960277)
 * Well sure, the notices are typically turned off, but that doesn’t change the 
   fact that you’ve got those undefined indexes.
 * Why wouldn’t you want to properly define indexes so that folks who are trying
   to track down errors with your (or another) plugin aren’t tripped up by these
   notices?
 * Just my thoughts. Have a great day.
 * Ben

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

The topic ‘WP_DEBUG throwing some errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-noexternallinks.svg)
 * [WP No External Links](https://wordpress.org/plugins/wp-noexternallinks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-noexternallinks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-noexternallinks/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-noexternallinks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-noexternallinks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-noexternallinks/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/wp_debug-throwing-some-errors/#post-5960277)
 * Status: resolved