Title: Error with wp_debug enabled
Last modified: August 22, 2016

---

# Error with wp_debug enabled

 *  Resolved [jdp23](https://wordpress.org/support/users/jdp23/)
 * (@jdp23)
 * [11 years ago](https://wordpress.org/support/topic/error-with-wp_debug-enabled/)
 * Using the latest version of the plugin (20150319), when I add
 * `define(WP_DEBUG, "true")`
 * I get the following errors when I try to submit a user-submitted post:
 * Notice: Undefined index: usp_email in /home/optnet/liminality.achangeiscoming.
   net/experiment/wp-content/plugins/user-submitted-posts/user-submitted-posts.php
   on line 491
 * Notice: Undefined index: titles_unique in /home/optnet/liminality.achangeiscoming.
   net/experiment/wp-content/plugins/user-submitted-posts/user-submitted-posts.php
   on line 493
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/optnet/liminality.achangeiscoming.net/experiment/wp-content/plugins/
   user-submitted-posts/user-submitted-posts.php:491) in /home/optnet/liminality.
   achangeiscoming.net/experiment/wp-includes/pluggable.php on line 1178
 * [https://wordpress.org/plugins/user-submitted-posts/](https://wordpress.org/plugins/user-submitted-posts/)

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [11 years ago](https://wordpress.org/support/topic/error-with-wp_debug-enabled/#post-5932345)
 * Those are not “errors”, they are Notices and Warnings. That said, I appreciate
   you taking the time to report what you are seeing for your particular setup. 
   I am not getting any of these issues on default WP install, but will investigate
   further for the next update. Also, just FYI, it is not a good idea to post publicly
   on the Web the full path to your file(s).
 *  [Rasmus](https://wordpress.org/support/users/rasmusbe/)
 * (@rasmusbe)
 * [11 years ago](https://wordpress.org/support/topic/error-with-wp_debug-enabled/#post-5932629)
 * I’m having similar problems with the update, please develop the plugin with WP_DEBUG
   activated ([https://codex.wordpress.org/Debugging_in_WordPress](https://codex.wordpress.org/Debugging_in_WordPress))
 * `Notice: Undefined index: disable_required in wp-content/plugins/user-submitted-
   posts/views/submission-form.php on line 6`
 * `Notice: Undefined index: usp_email in wp-content/plugins/user-submitted-posts/
   views/submission-form.php on line 41`
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [11 years ago](https://wordpress.org/support/topic/error-with-wp_debug-enabled/#post-5932632)
 * Those also are just Notices, safe to disregard. Please learn the difference. 
   Thanks.
 *  [Rasmus](https://wordpress.org/support/users/rasmusbe/)
 * (@rasmusbe)
 * [11 years ago](https://wordpress.org/support/topic/error-with-wp_debug-enabled/#post-5932636)
 * Even if they are notices, it’s bad practice to leave them there.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [11 years ago](https://wordpress.org/support/topic/error-with-wp_debug-enabled/#post-5932637)
 * Says who?

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

The topic ‘Error with wp_debug enabled’ is closed to new replies.

 * ![](https://ps.w.org/user-submitted-posts/assets/icon-256x256.png?rev=2567685)
 * [User Submitted Posts – Enable Users to Submit Posts from the Front End](https://wordpress.org/plugins/user-submitted-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-submitted-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-submitted-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/user-submitted-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-submitted-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-submitted-posts/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/error-with-wp_debug-enabled/#post-5932637)
 * Status: resolved