How to install and configure Error Log Monitor plugin for WordPress

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.

Installing and configuring the Error Log Monitor plugin 

To install Error Log Monitor plugin, follow these steps:

  1. Log in to your WordPress site with an administrator account.
  2. On the Dashboard in the left sidebar, click Plugins, and then click Add New:

  3. Search for “Error Log Monitor” and, you should see a display of available plugins on your screen:

  4. Click Install, and then click Activate. Click Recommended Settings to set up the plugin:

  5. 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);
    
    }

     

  6. Access and view the error log widget on the dashboard.

More Information

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

Get WordPress Hosting

Article Details

  • Product: All accounts Managed WordPress with Plesk
  • Level: Beginner

Other Articles in This Category

Show More

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.

Usamos cookies con el fin de personalizar para usted nuestro sitio Web y analizar el uso de éste. Usted acepta esto haciendo clic en “Acepto” o al continuar usando el sitio Web. Hay más información sobre cookies en nuestra política de privacidad.