The Error Log Monitor plugins allow you to view the errors on the WordPress administration dashboard or the new custom log file. This plugin eliminates the need to view the WordPress server error log to view any errors created during code customisation.
To install Error Log Monitor plugin, follow these steps:
Search for “Error Log Monitor” and, you should see a display of available plugins on your screen:
Click Install, and then click Activate. Click Recommended Settings to set up the plugin:
Open the wp-config.php file the WordPress installation folder. Add the code below to monitor any WordPress related error.
//Enable error logging. @ini_set('log_errors', 'On'); @ini_set('error_log', 'PATH-OF-YOUR-WORDPRESS-INSTALLATION/wp-content/elm-error-logs/php-errors.log'); //Don't show errors to site visitors. @ini_set('display_errors', 'Off'); if ( !defined('WP_DEBUG_DISPLAY') ) { define('WP_DEBUG_DISPLAY', false); }
Access and view the error log widget on the dashboard.
For more information about PHP and WordPress errors, please visit: https://www.a2hosting.com/kb/developer-corner/php/using-php-directives-in-custom-htaccess-files/php-error-log-settings-in-an-htaccess-file
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.
We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.