• Resolved Andrew

    (@andrewlindner1)


    Hi all,

    I’ve enabled WP_DEBUG and the errors are not being displayed on any screen.

    any suggestions?

Viewing 6 replies - 1 through 6 (of 6 total)
  • How do you know you have any errors to display?

    Thread Starter Andrew

    (@andrewlindner1)

    The plugins that are being debugged are using deprecated functions.

    Ive used WP_DEBUG in the past and it has worked fine, displaying all errors and deprecated functions at the top of every screen.

    Now when I set it to true nothing happens.

    Thread Starter Andrew

    (@andrewlindner1)

    There has to be something stupid I’m doing/overlooking that are causing the errors to be hidden.

    I’m just not sure what it could be.

    Have you tried looking in wp-content/debug.log?

    Remove any existing debug macro from your wp-config.php file. Then try adding the following towards the middle of your wp-config.php file:

    define('WP_DEBUG', true);
    if (WP_DEBUG) {
        define('WP_DEBUG_LOG', true);
        define('WP_DEBUG_DISPLAY', true);
        @ini_set('display_errors', 0);
    }
    Thread Starter Andrew

    (@andrewlindner1)

    That Worked Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP_DEBUG not showing errors’ is closed to new replies.