• Resolved Mickey Kay

    (@mcguive7)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    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.