Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Error Log Monitor

Adds a Dashboard widget that displays the latest messages from your PHP error log. It can also send logged errors to email.

This plugin adds a Dashboard widget that displays the latest messages from your PHP error log. It can also send you email notifications about newly logged errors.


  • Automatically detects error log location.
  • Explains how to configure PHP error logging if it's not enabled yet.
  • The number of displayed log entries is configurable.
  • Sends you email notifications about logged errors (optional).
  • Configurable email address and frequency.
  • You can easily clear the log file.
  • The dashboard widget is only visible to administrators.
  • Optimized to work well even with very large log files.


Once you've installed the plugin, go to the Dashboard and enable the "PHP Error Log" widget through the "Screen Options" panel. The widget should automatically display the last 20 lines from your PHP error log. If you see an error message like "Error logging is disabled" instead, follow the displayed instructions to configure error logging.

Email notifications are disabled by default. To enable them, click the "Configure" link in the top-right corner of the widget and enter your email address in the "Periodically email logged errors to:" box. If desired, you can also change email frequency by selecting the minimum time interval between emails from the "How often to send email" drop-down.

Author Janis Elsts
Contributors whiteshadow
Tags admin, administration, dashboard widget, error reporting, maintenance, php
  1. error-log-monitor screenshot 1

    The "PHP Error Log" widget added by the plugin.

  2. error-log-monitor screenshot 2

    Dashboard widget configuration screen.

Follow these steps to install the plugin on your site:

  1. Download the .zip file to your computer.
  2. Go to Plugins -> Add New and select the "Upload" option.
  3. Upload the .zip file.
  4. Activate the plugin through the *Plugins -> Installed Plugins" page.
  5. Go to the Dashboard and enable the "PHP Error Log" widget through the "Screen Options" panel.
  6. (Optional) Click the "Configure" link in the top-right of the widget to configure the plugin.


  • Fix a fatal error caused by a missing directory. Apparently, SVN externals don't work properly in the plugin repository.


  • Added an option to ignore specific error messages. Ignored messages don't show up in the dashboard widget and don't generate email notifications, but they stay in the log file.
  • Added limited support for parsing stack traces generated by PHP 7.
  • Made the log output more compact.
  • Improved log parsing performance.
  • Fixed an "invalid argument supplied for foreach" warning in scbCron.


  • Added a severity filter. For example, you could use this feature to make the plugin send notifications about fatal errors but not warnings or notices.
  • Added limited support for XDebug stack traces. The stack trace will show up as part of the error message instead of as a bunch of separate entries. Also, stack trace items no longer count towards the line limit.


  • Hotfix for a parse error that was introduced in version 1.4.1.


  • Fixed a PHP compatibility issue that caused a parse error in Plugin.php on sites using an old version of PHP.


  • Added an option to send an email notification when the log file size exceeds the specified threshold.
  • Fixed a minor translation bug.
  • The widget now shows the full path of the WP root directory along with setup instructions. This should make it easier to figure out the absolute path of the log file.
  • Tested with WP 4.6-beta3.


  • Added i18n support.
  • Added an elm_show_dashboard_widget filter that lets other plugins show or hide the error log widget.
  • Tested with WP 4.5.1 and WP 4.6-alpha.


  • Tested up to WP 4.5 (release candidate).


  • Added support for Windows and Mac style line endings.


  • Added an option to display log entries in reverse order (newest to oldest).
  • Added a different error message for the case when the log file exists but is not accessible.
  • Only load the plugin in the admin panel and when running cron jobs.
  • Fixed the error log sometimes extending outside the widget.
  • Tested up to WP 4.4 (alpha version).


  • Tested up to WP 4.2 (final release).
  • Added file-based exclusive locking to prevent the plugin occasionally sending duplicate email notifications.


  • Tested up to WP 4.2-alpha.
  • Refreshing the page after clearing the log will no longer make the plugin to clear the log again.


  • Updated Scb Framework to the latest revision.
  • Tested up to WordPress 4.0 beta.


  • Tested up to WordPress 3.9.


  • Tested up to WordPress 3.7.1.


  • Fixed plugin homepage URL.
  • Fix: If no email address is specified, simply skip emailing the log instead of throwing an error.
  • Tested with WordPress 3.4.2.


  • Initial release.
Version 1.5.2

Requires WordPress version: 4.5 or higher

Compatible up to: 4.8-alpha

Last Updated 02 Feb 2017

Date Added: 27 Jul 2012

Plugin Homepage


4.4 stars
14 ratings


Not Enough Data

Works: 0
Broken: 0