WPLANG Error Warning Custom Press

Generates this error message in admin area with debug enabled. Can this be ignored?

Notice: Use of undefined constant WPLANG - assumed 'WPLANG' in /home/shiftgspresscom/public_html/wp-content/plugins/custompress/core/core.php on line 57

  • Rupok

    Hi Phill

    I hope you had a wonderful day.

    You can keep debug mode enabled but still hide your debug messages from your dashboard. For doing that, open your wp-config.php file and look for this line:
    define( 'WP_DEBUG_DISPLAY', true );
    If you find it, change it to:
    define( 'WP_DEBUG_DISPLAY', false );
    If you don't find it, then add this line and save:
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    It will store all the debug messages in debug.log file inside your "wp-content" directory but won't show anything in your dashboard.

    I could also regenerate the same in my test site. So I'm flagging our developer to work on this.

    Have a nice day. Cheers!
    Rupok

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.