In this guide
Why the screen is white
A white screen means PHP stopped with an error, and the error isn’t being displayed, which is normal and safe on a live site. Newer WordPress versions usually show “There has been a critical error” instead (see how to fix a critical error), but a white page still happens, especially in the admin area, with memory problems, or with output from broken code.
Step 1: Clear caches and test again
Clear your caching plugin, your host’s cache and any CDN such as Cloudflare. Test in a private browser window. If the white screen disappears, it was a stale cached page.
Step 2: Make WordPress show the error
Add this to wp-config.php, above That’s all, stop editing:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Reload the white page, then read the last lines of wp-content/debug.log. Your host’s PHP error log shows the same. Turn debugging off afterwards.
Step 3: The most common causes and fixes
- A plugin: the log names it. Rename its folder in
wp-content/pluginsvia SFTP or the file manager to deactivate it. - The theme: rename the active theme’s folder. WordPress falls back to a default theme.
- Memory:
Allowed memory size exhaustedin the log. Adddefine( 'WP_MEMORY_LIMIT', '256M' );or ask your host. - A failed update: a
.maintenancefile left in the site’s root folder can leave the site stuck. Delete it. - Syntax error after editing code: undo the last change to
functions.phpor the file you edited. - Corrupted core files: reinstall core with
wp core download --version=$(wp core version) --skip-content --force.
If you can’t tell which plugin is responsible, rename the whole plugins folder to deactivate all plugins, check that the site loads, rename it back, then reactivate plugins one at a time.
Step 4: Rule out malware
Look further if the log mentions files with random names, eval()'d code, or files in wp-content/uploads, or if the white screen came out of nowhere with no updates. A hack can cause a white screen, and fixing the symptom alone leaves the attacker in place. See Is my WordPress site hacked?
From my cleanup work: blank wp-admin pages after a cleanup are a classic. Someone deleted an infected file that a modified plugin still tried to load, and the admin crashed. The real fix is to replace the modified plugin with a clean copy, not to restore the malware. Deleting files without understanding them is how a malware problem becomes a white-screen problem.