EnglishEN

Fix the WordPress white screen (White Screen of Death)

If the screen goes blank or shows a critical error message, first look at other sites on the same server, then check memory, plugins, cache, and debug in that order.

ChemiCloudcPanelFilesFile Managerwp-config.php

HostingerhPanelWebsitesManage siteFilesFile Managerwp-config.php

Steps

  1. Check whether your other sites on the same hosting also show a white screen. If they do too, it may be a server issue, so contact support.
  2. Add two lines to wp-config.php that raise the memory limit.
    define( 'WP_MEMORY_LIMIT', '1024M' );
    define( 'WP_MAX_MEMORY_LIMIT', '1024M');
  3. In File Manager, rename the plugins folder inside wp-content to turn off all plugins. Then rename it back and turn them on one at a time to find the cause.
  4. On WordPress 5.2 or later, a Recovery Mode link is sent to the admin email. You can use that link to get into the admin screen.
  5. If you use LiteSpeed cache, clear it from the LS logo in the wp-admin top bar > Purge All.
  6. If you still can't find the cause, turn on debug mode. In File Manager, right-click wp-config.php → Edit, change false to true on the WP_DEBUG line, and click Save.
    define( 'WP_DEBUG', true );

Source

Related posts