Title: Debug:  Undefined constant WP_Admin
Last modified: August 21, 2016

---

# Debug: Undefined constant WP_Admin

 *  Resolved [baumeister](https://wordpress.org/support/users/baumeister/)
 * (@baumeister)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/debug-undefined-constant-wp_admin/)
 * This plugin works well for me.
 * I wanted to point out one error message that appears throughout the site for 
   all users while debug is on in WP-Config:
 * Notice: Use of undefined constant WP_ADMIN – assumed ‘WP_ADMIN’ in / wp-content/
   plugins/replace-featured-image-with-video/pt-page-featured-video.php on line 
   12
 * [https://wordpress.org/plugins/replace-featured-image-with-video/](https://wordpress.org/plugins/replace-featured-image-with-video/)

The topic ‘Debug: Undefined constant WP_Admin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/replace-featured-image-with-video.
   svg)
 * [Replace Featured Image with Video](https://wordpress.org/plugins/replace-featured-image-with-video/)
 * [Support Threads](https://wordpress.org/support/plugin/replace-featured-image-with-video/)
 * [Active Topics](https://wordpress.org/support/plugin/replace-featured-image-with-video/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/replace-featured-image-with-video/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/replace-featured-image-with-video/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [baumeister](https://wordpress.org/support/users/baumeister/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/debug-undefined-constant-wp_admin/)
 * Status: resolved