How to debug white screen

This topic contains 3 replies, has 3 voices, and was last updated by  Kor 4 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #522652

    Manfred Van Ursel
    Expired Member
    Post count: 295

    We often find that the admin and frontend areas do not load, or take forever, or get stuck in a white screen.

    It clearly is something wrong.

    How can we debug it?

    I enabled this on wp-config.php

    define(‘WP_DEBUG’, true);
    error_reporting(E_ALL); // Error engine
    ini_set(‘log_errors’, 1); // Error logging
    ini_set(‘error_log’, ABSPATH.’errors_log.log’);

    But the last logs are from August, so…

    How can we find the culprit?

    #522653

    Guust
    Moderator
    Post count: 29970

    Try this

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
    define('SCRIPT_DEBUG', true);
    ini_set('display_errors', true);
    ini_set('error_reporting', E_ALL);

    and then look at /wp-content/debug.log

    Thanks

    #522654

    Manfred Van Ursel
    Expired Member
    Post count: 295

    Thanks that gave us some more info to look at.

    #522658

    Kor
    Moderator
    Post count: 16516

    Hi Manfred Van Ursel,

    Thanks for your reply. You can also deactivate plugins by renaming the plugin folder via FTP access to troubleshoot the issue you had there. I hope it helps.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount