Title: Error reporting switched off
Last modified: August 21, 2016

---

# Error reporting switched off

 *  Resolved [Pep](https://wordpress.org/support/users/pino_nl/)
 * (@pino_nl)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-reporting-switched-off/)
 * Can please remove the line: `error_reporting(0);` (the first line of code)
 * It prevents displaying all errors on the site, even when WP_DEBUG is set to true
   in the config. This way it impossible to debug.
 * It took me several hours finding this line of code in my WordPress install.
 * [https://wordpress.org/plugins/simple-share-buttons-adder/](https://wordpress.org/plugins/simple-share-buttons-adder/)

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

 *  Plugin Author [Simple Share](https://wordpress.org/support/users/davidoffneal/)
 * (@davidoffneal)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-reporting-switched-off/#post-4782681)
 * Sorry to hear you had to root around to find this. I’ve commented it out now,
   hopefully no one shall experience any errors.
 *  Thread Starter [Pep](https://wordpress.org/support/users/pino_nl/)
 * (@pino_nl)
 * [12 years ago](https://wordpress.org/support/topic/error-reporting-switched-off/#post-4782689)
 * Thanks!

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

The topic ‘Error reporting switched off’ is closed to new replies.

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

## Tags

 * [reporting](https://wordpress.org/support/topic-tag/reporting/)

 * 2 replies
 * 2 participants
 * Last reply from: [Pep](https://wordpress.org/support/users/pino_nl/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/error-reporting-switched-off/#post-4782689)
 * Status: resolved