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
- 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.
- Add two lines to
wp-config.phpthat raise the memory limit.define( 'WP_MEMORY_LIMIT', '1024M' ); define( 'WP_MAX_MEMORY_LIMIT', '1024M'); - In File Manager, rename the
pluginsfolder inside wp-content to turn off all plugins. Then rename it back and turn them on one at a time to find the cause. - 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.
- If you use LiteSpeed cache, clear it from the LS logo in the wp-admin top bar > Purge All.
- 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_DEBUGline, and click Save.define( 'WP_DEBUG', true );
Source
Related posts
- WordPress error fixesWordPress 500 error (Internal Server Error) fixA 500 error means the server could not process the request. Check in this order: rename .htaccess, raise the PHP memory limit, turn off plugins, reinstall WordPress.4 stepscPanel › Files › File Manager › public_htmlRead
- WordPress error fixesFix «Error establishing a database connection»This shows up when the database has stopped, the login details in wp-config.php are wrong, or a table is damaged. Check in this order: repair, confirm the login details, restore a backup.4 stepscPanel › Databases › phpMyAdminRead
- WordPress error fixesFix ERR_TOO_MANY_REDIRECTS (too many redirects)This happens when the WordPress address and the site address differ. In Settings > General, set both to the same domain.3 stepswp-admin › Settings › GeneralRead