Title: WP-CLI commands with WP_DEBUG = true
Last modified: August 31, 2016

---

# WP-CLI commands with WP_DEBUG = true

 *  Resolved [Jonathan Perlman](https://wordpress.org/support/users/jperlman/)
 * (@jperlman)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-commands-with-wp_debug-true/)
 * I’ve got WP_DEBUG set to true in my dev instanace of my site and when I run wp-
   cli commands this notice always popups up.
 * `Notice: Undefined index: SERVER_NAME in /var/www/html/dev.snookercanada.ca/wp-
   content/plugins/wordfence/lib/wfUtils.php on line 619`
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

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

 *  Plugin Author [WFMattR](https://wordpress.org/support/users/wfmattr/)
 * (@wfmattr)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-commands-with-wp_debug-true/#post-7282722)
 * Hi Jonathan,
 * Thanks for the report! Our dev team is aware of this and will be including a 
   fix soon.
 * -Matt R
 *  Thread Starter [Jonathan Perlman](https://wordpress.org/support/users/jperlman/)
 * (@jperlman)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-commands-with-wp_debug-true/#post-7282726)
 * Thanks for letting me know and for the speedy reply!

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

The topic ‘WP-CLI commands with WP_DEBUG = true’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)
 * [undefined index](https://wordpress.org/support/topic-tag/undefined-index/)
 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)
 * [wp_debug](https://wordpress.org/support/topic-tag/wp_debug/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jonathan Perlman](https://wordpress.org/support/users/jperlman/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-commands-with-wp_debug-true/#post-7282726)
 * Status: resolved