Title: Plugin overrides native error reporting level
Last modified: September 1, 2016

---

# Plugin overrides native error reporting level

 *  Resolved [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/plugin-overrides-native-error-reporting-level/)
 * Hi there,
 * First of all, brilliant plugin – love it! Thanks for such a fully featured solution.
 * I’m encountering an issue related to CFF that I’m hoping you can address. In 
   various plugin files, you explicitly set the error reporting level with the following
   code:
 * `error_reporting( E_ERROR | E_PARSE );`
 * Unfortunately, this overrides whatever the default error reporting level is on
   the server, as well as any other level that was explicitly set before your plugin
   loads. In our case, we want to ensure that all errors, warnings, and notices 
   are logged in our dev environments. We do this by setting the error reporting
   level early on, both on the server and in wp-config.php when necessary. However
   when your plugin is enabled, only fatal errors are reported. Is there a reason
   you manually override the error reporting level? This seems like a configuration
   that should remain in the hands of the server admin and/or primary developer,
   not the plugin. Is this something you’d be willing to fix?
 * Thanks!
 * [https://wordpress.org/plugins/calculated-fields-form/](https://wordpress.org/plugins/calculated-fields-form/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/plugin-overrides-native-error-reporting-level/#post-7566588)
 * Hi,
 * My apologies for delay.
 * In reality we have included the piece of code you are referring in the plugin
   files, because if the notices and warnings generated by other plugins are send
   to the browser, they can break the form generation.
 * If you have configured the web server to store the errors, warnings and notices
   to a log file, you can remove the piece of code from the plugin’s files.
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Plugin overrides native error reporting level’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/plugin-overrides-native-error-reporting-level/#post-7566588)
 * Status: resolved