Title: Debug mode turned off
Last modified: June 6, 2021

---

# Debug mode turned off

 *  Resolved [granny63](https://wordpress.org/support/users/granny63/)
 * (@granny63)
 * [5 years ago](https://wordpress.org/support/topic/debug-mode-turned-off/)
 * Your site is set to display errors to site visitors Security
 * Debug mode is often enabled to gather more details about an error or site failure,
   but may contain sensitive information which should not be available on a publicly
   available website.
 * The value, WP_DEBUG_DISPLAY, has either been enabled by WP_DEBUG or added to 
   your configuration file. This will make errors display on the front end of your
   site.

Viewing 1 replies (of 1 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years ago](https://wordpress.org/support/topic/debug-mode-turned-off/#post-14526320)
 * [@granny63](https://wordpress.org/support/users/granny63/) You’ll have to turn
   off the debug mode, In your wp-config.php file search for following line:
 * define(‘WP_DEBUG’, true);
 * And replace it with
 * define(‘WP_DEBUG’, false);

Viewing 1 replies (of 1 total)

The topic ‘Debug mode turned off’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/debug-mode-turned-off/#post-14526320)
 * Status: resolved