Support » Plugin: WordPress Logging Service » Warning messages with define('WP_DEBUG', true) set

  • Firstly – thanks for developing this plugin. I’ve used it with many plugins I’ve developed for clients and have found it very useful.

    As I’m sure we’re all aware it’s recommended to develop for WordPress with WP_DEBUG set true. I would also expect that WLS is commonly used during development (that’s my primary use of it), and so the fact the WLS system logs page spits out warning ‘Notice’ messages is rather frustrating.

    Here are the two issues…

    1. Notice: Undefined variable: show_new_info in ######\wp-content\plugins\wordpress-logging-service\includes\admin-overview.php on line 150

    Line 150 is:
    if( $show_new_info ) {

    and I can’t find any other reference to $show_new_info anywhere in the wordpress-logging-service plugin code.

    2. Notice: Use of undefined constant WLS_TXS – assumed ‘WLS_TXS’ in C:\src\dustymoon.git\public_html\wp-content\plugins\wordpress-logging-service\includes\admin-overview.php on line 101

    Line 101 is:
    <h3><?php _e( "New log entries from all categories", WLS_TXS ); ?></h3>

    I presume that WLS_TXS is supposed to be WLS_TXD ?

    I’d really appreciate the next version not spitting out warnings when developing – hope this helps with that.

    Once again – thanks for sharing this plugin with the community.


    Dave Amphlett
    Davelopware Ltd

  • The topic ‘Warning messages with define('WP_DEBUG', true) set’ is closed to new replies.