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://www.ads-software.com/plugins/calculated-fields-form/
- The topic ‘Plugin overrides native error reporting level’ is closed to new replies.