Title: PHP notice when WP_DEBUG true
Last modified: August 22, 2016

---

# PHP notice when WP_DEBUG true

 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-notice-when-wp_debug-true/)
 * I’m looking at ‘WP Document Revisions’ with ‘WP Document Revisions Simple Downloads’
   on a site with WP_DEBUG set to true and The two plugins together are looking 
   very good so far.
 * I get a PHP notice within the usage tab of the Download Settings:
 * > Notice: Use of undefined constant Document – assumed ‘Document’ in …/wordpress/
   > wp-content/plugins/wpdr-simple-downloads/includes/admin-form/wpdrsd-usage-tab.
   > php on line 51
 * This doesn’t cause any problems and it is simple to fix by adding the missing
   quotes around the word ‘downloads’ on that line, so this is just a heads-up.
 * [https://wordpress.org/plugins/wpdr-simple-downloads/](https://wordpress.org/plugins/wpdr-simple-downloads/)

The topic ‘PHP notice when WP_DEBUG true’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpdr-simple-downloads_7b47c2.svg)
 * [Simple Download Manager for WP Document Revisions](https://wordpress.org/plugins/wpdr-simple-downloads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdr-simple-downloads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdr-simple-downloads/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdr-simple-downloads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdr-simple-downloads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdr-simple-downloads/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/php-notice-when-wp_debug-true/)
 * Status: not resolved