Title: Why Turnoff Debug?
Last modified: March 26, 2025

---

# Why Turnoff Debug?

 *  Resolved [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/why-turnoff-debug/)
 * It is recommended to turn off **WP_DEBUG** on a production site. Edit wp-config.
   php file and set the the WP_DEBUG value like this: **define(‘WP_DEBUG’, false);**
   or add additional line **_define( ‘WP\_DEBUG\_DISPLAY’, false );_** to the wp-
   config.php. Could you add a setting for this?

Viewing 1 replies (of 1 total)

 *  Plugin Support [Igor S.](https://wordpress.org/support/users/arsenique/)
 * (@arsenique)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/why-turnoff-debug/#post-18382879)
 * WP_DEBUG should not be used on live/production site for several reasons. For 
   example, if it is enabled and some warnings, notices or errors appear, the debug
   message may reveal file paths, plugin names or database related messages which,
   as you may imagine, is not very good practice. On top of this, if enabled, debugging
   can potentially impact the performance of your website as it will log more data
   and may write large log files over time.
 * So, you should make sure to turn off debugging on live/production website.
 * Hope this helps a bit.

Viewing 1 replies (of 1 total)

The topic ‘Why Turnoff Debug?’ is closed to new replies.

 * ![](https://ps.w.org/tickera-event-ticketing-system/assets/icon-256x256.jpg?rev
   =1328378)
 * [Tickera – Sell Tickets & Manage Events](https://wordpress.org/plugins/tickera-event-ticketing-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tickera-event-ticketing-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tickera-event-ticketing-system/)
 * [Active Topics](https://wordpress.org/support/plugin/tickera-event-ticketing-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tickera-event-ticketing-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tickera-event-ticketing-system/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Igor S.](https://wordpress.org/support/users/arsenique/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/why-turnoff-debug/#post-18382879)
 * Status: resolved