Error Reporting Wordpress Plugin - Rating, Reviews, Demo & Download

 Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Logs Errors to files and / or Sends Error Notification emails. Records Ping Errors and displays them in a dashboard widget.

License

Released under the terms of the GNU General Public License.

Long Description

It is the hope that the Error Reporting plugin will prove to be a valuable tool for the WordPress developer. Highly customizable settings allow for the ability to locate various types of both native WordPress Core errors, and plugin and theme errors. Errors can be handled by logging to files and/or by email notification. The Error Reporting plugin can help identify problems during plugin development, and can help in both locating and keeping aware of errors in a live blog.
The Ping Errors feature can catch up to 100 ping errors. These are displayed in both a dashboard widget and on the plugin’s Settings page. Great for tracking repeated ping failures so you can clean up your ping list.

Ping Errors
The Ping Errors feature works independently from Log Errors and Email Errors. That is, it can be enabled even if one or both of the others are not enabled.

If you do not want to see the widget on your dashboard, please go to dashboard’s “Screen Options” and deselect “Ping Errors”
* Because a ping fails once, or even a few times, does not necessarily mean that it should be removed from your ping list. However, if one is repeatedly failing over a long period of time, it justifies investigation and possible removal.
The Ping Error feature is also available as a stand-alone plugin Ping Watcher
The two are not compatible and both can not be activated at the same time.

Log Error Reporting
Depending on where an error occurs, it will be logged to a wp-logs folder that’s either under the blog’s installation folder, or under the wp-admin folder. New files are created for each day with names having the format “ER-dd-Mmm-yyyy.log”
eg. ER-13-Aug-2009.log

Auto Delete Old Log Files
The auto delete uses core WordPress CRON and as such is not real CRON but occurs when your blog is visited. Once per day the auto delete can remove files older than one week – 7 days, or one month – 31 days. So depending on your blog’s activity, there may be some slight imprecision, but in general using the auto delete will prevent the error log folders from becoming bloated.

Email Error Reporting
Email Error Reporting does not have a “no repeat errors” setting. This means that the blog administrator’s email address will get an email for every reported error, every time.
For example, while testing this plugin using the default settings, 10 failed pings generated 190+ emails. It is strongly suggested that you “fine tune” your options using Log Error Reporting first (with the Repeat Error option set to yes to get an accurate indication of how many emails would have been sent) and get the errors down to a manageable amount before experimenting with the Email Error Reporting settings.
Be very careful setting these options. You could end up flooding the inbox with hundreds, and MORE LIKELY THOUSANDS, of emails in a relatively short amount of time.
Note that the default Email Error Reporting settings are not enabled on install.

Error Types Options
The Error Reporting plugin can report E_ WARNING, E_ NOTICE and E_ STRICT errors.
Any E_ RECOVERABLE_ ERROR, and any “trigger” errors, E_ USER_ERROR, E_ USER_ WARNING, and E_ USER_ NOTICE, will be reported if the option settings report “other error types” (see the “Option Settings Logic” section).
If you want to ensure that all error types are reported, check “Yes, All Error Types”.
If you are interested in only certain error types “Include” them.
Conversely, if you specifically do not want an error type, “Exclude” it.

AND / OR Option
The AND / OR option setting will only matter if neither “Types” nor “Folders” are set to “All”.
But, if both are either “Exclude” – “Include”, it will make a big difference (see the “Option Settings Logic” section).

Folder Options
Errors in Files that are under the blog’s install folder, and are not in the wp-admin, wp-content, or wp-includes folders, will be reported if the option settings report “other folders” (see the “Option Settings Logic” section).
Note that the plugins folder is inside the wp-content folder. It is presented as a separate option to allow for more precise control.
If the wp-content folder is included / excluded, so too will be the plugin folder with it. Likewise for any folders under the other folders.

Context and Repeat Errors Options
Including the Context of the error may provide some helpful information, but as it adds significantly to the size of the log file, it is by default not included.
Likewise, there may be times when it would be helpful to see that a line of a file is causing the same error “X” amount of times, but because including Repeat errors would add significantly to the size of the log file, it too is by default not included.
Note that there is no repeat error option for Email Error Reporting.
Because each error will be sent as an individual email, the Context is not as crucial a setting here as it is for the Log options. So once you’re sure you have the number of emails being sent under control, you may want to include it if that information will help you.

Timezone Option
This value is initially set to the server’s timezone and controls what time is used. This option requires PHP ver 5+

Self Cleanup
Deactivating this plugin will remove the “Number of Ping Errors to Save” setting.
Uninstalling this plugin using the WordPress plugin list page’s “delete” will remove the plugin’s options from the wp-options table, including any saved ping errors, and all Log files and folders will be deleted.

Option Settings Logic

Please see screenshot-2.jpg or the plugin’s ACP Settings page for visual explanation by example.

Log Files

Provides links to the log files for viewing / saving, and a way to delete them.
Note that they must be temporarily toggled to insecure to access them. Because a native WordPress Core error will reset the permissions if the plugin is set to “E_ NOTICE” and “wp-include”, the ‘shutdown’ action hook is also removed.
Please remember to toggle permissions back to secure to prevent direct HTTP access to the files and re-enable the output buffer flush as not doing so may result in a security risk and possible PHP memory problems.

More Info

For more info, please visit the plugin’s page
Error Reporting

For support, please visit the forum (registration required to post)
Support

For comments / suggestions, please visit the blog
Comments / Suggestions

** AN IMPORTANT NOTE **

It can not be stressed enough. Be VERY CAREFUL with the Email Option Settings.
You could end up flooding the inbox with hundreds, and MORE LIKELY THOUSANDS, of emails in a relatively short amount of time.

After downloading or viewing a log file, be sure to toggle permissions back to “secure”. Failure to do so may allow direct HTTP access to the log files. Also the ‘shutdown’ action is removed to allow a Core WordPress E_ NOTICE error from resetting permissions when the Options Settings include E_ NOTICE errors in the wp-include folder. Avoid potential memory problems by resetting back to “secure” which re-enables the output buffer flush by re-adding the ‘shutdown’ action.

Screenshots

  1. <p>Email Options</p>

    Email Options

  2. <p>Option Settings Logic</p>

    Option Settings Logic

  3. <p>Log Files</p>

    Log Files

  4. <p>Ping Errors</p>

    Ping Errors

  5. <p>Dashboard Widget</p>

    Dashboard Widget


Reviews & Comments