Support » Plugin: Error Log Monitor » Adding Notices & Warnings to Error Log

  • Resolved jimmb


    Hello – After first installing this plug-in, I didn’t have the correct path to the “php-errors.log” file set in the “wp-config.php” file…

    And on the Dashboard, the ‘PHP Error Log’ section provided help text for this *plus* some text with the code to add if the user wants the plug-in to also provide logs of notices and warnings.

    However, now that the aforementioned files are set up correctly, this additional help text about notices and warnings is gone too.

    I searched the forum and also looked in the ‘readme’ file, but am not seeing these instructions. So if you could point me to the file where this is buried, or better yet give that text in a reply here, it would be much appreciated.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Janis Elsts


    I think this might be the code that you’re referring to:

    //Report all types of errors.
    define('WP_DEBUG', true);
    //Don't show errors to site visitors.
    define('WP_DEBUG_DISPLAY', false);

    You can find more information about the WP_DEBUG constant and related wp-config.php settings in this Codex page.

    The help text automatically disappears after error logging is enabled because I thought it might be annoying for users if they had to hide it manually.

    Thanks Janis – that is exactly what I was looking for!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Notices & Warnings to Error Log’ is closed to new replies.