The wordpress white screen of death is exactly what it sounds like: you open your site — sometimes the admin too — and get a completely blank white page. No error, no clue. The silence is the problem: PHP hit a fatal error, and error display is (correctly, for production) switched off. The fix is a methodical process of making the error visible, then bisecting plugins, theme and memory until the culprit confesses. Here is that process.
Step 1: Turn On WordPress Debug Mode – How to Fix the WordPress White
Edit wp-config.php in your site’s root and change or add these lines:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Reload the broken page, then read the log WordPress just wrote:
tail -n 50 wp-content/debug.log
A fatal error line names the file and line number — very often inside a plugin or theme — which frequently ends the investigation right here. Remember to set WP_DEBUG back to false when you finish; debug output should never stay enabled on a live site.

Step 2: Check the Web Server and PHP Error Logs – How to Fix the WordPress White
If debug.log stays empty, the error happens before WordPress loads or PHP logging points elsewhere:
sudo tail -n 50 /var/log/apache2/error.log # Apache
sudo tail -n 50 /var/log/nginx/error.log # Nginx
sudo tail -n 50 /var/log/php*-fpm.log # PHP-FPM
“Allowed memory size exhausted” in these logs sends you to Step 5; “Call to undefined function” points at a plugin/theme conflict (Step 3); a syntax error names a file someone edited (Step 6).
Step 3: Disable All Plugins Without the Admin
When wp-admin is also white, disable plugins from the filesystem or database. The fastest reversible method:
mv wp-content/plugins wp-content/plugins.off
mkdir wp-content/plugins
If the site returns, move plugin folders back a few at a time, reloading after each batch, until the white screen reappears — the last batch contains the culprit. With WP-CLI installed (see our WP-CLI installation guide) it is cleaner:
wp plugin deactivate --all
wp plugin activate akismet # then one by one
Step 4: Switch to a Default Theme
Themes break sites too, especially after PHP upgrades. Rename the active theme’s folder, and WordPress falls back to a default theme such as Twenty Twenty-Four if one is installed:
mv wp-content/themes/mytheme wp-content/themes/mytheme.off
Or with WP-CLI: wp theme activate twentytwentyfour. If the site loads on the default theme, the custom theme needs an update or a code fix — the debug log from Step 1 usually names the incompatible function.
Step 5: Raise the PHP Memory Limit
A white screen after installing a heavy plugin or during an import is frequently memory exhaustion. Raise the limits in wp-config.php and PHP itself:
define( 'WP_MEMORY_LIMIT', '256M' );
// in php.ini or the FPM pool config:
memory_limit = 256M
Restart PHP-FPM afterwards (sudo systemctl restart php8.2-fpm). Confirm the effective value on the Site Health screen (Tools → Site Health → Info → Server) once you are back in. Our WP-CLI on cPanel walkthrough shows how these checks look on shared hosting without SSH root access.
Step 6: Rule Out Corrupted Core Files and Bad Edits
If neither plugins nor theme are responsible, verify the core installation:
wp core verify-checksums
wp core download --force --skip-content
The second command reinstalls pristine core files without touching content or configuration. Also undo any recent manual edits — a single missing semicolon in functions.php or a child theme file whitescreens the whole site, and version control (even a simple pre-edit backup copy) makes this a 30-second fix. The official WordPress debugging documentation describes all debug constants used above.
How to Prevent the WordPress White Screen of Death
Update plugins and themes on a staging copy first, keep PHP versions current but test before upgrading, maintain automatic backups you have actually restored once, and leave Site Health’s critical-issue warnings at zero. Most WSODs happen in the five minutes after an update — a staging habit makes them a non-event.
Recovering When You Have No SSH: Hosting-Panel Route
Not every site owner has shell access, but the same bisection works through a hosting file manager and phpMyAdmin. In the file manager, rename the plugins folder as in Step 3 and reload — cPanel, DirectAdmin and similar panels all allow this. To switch themes without wp-admin, edit the database: in the wp_options table, set the template and stylesheet rows to a default theme’s folder name (keep a note of the original values). Memory limits can often be raised from the panel’s PHP selector (MultiPHP INI Editor in cPanel) instead of editing files. And debug mode works identically — the file manager’s editor can add the three WP_DEBUG lines to wp-config.php, with debug.log appearing in wp-content. The method is the same as with SSH; only the tools are friendlier.
Conclusion
The wordpress white screen of death is a hidden PHP fatal error, not a mystery. Enable debug logging to see it, then bisect: plugins off, default theme on, memory up, core verified. Work in that order and keep notes of what you changed — the blank page will give up its secret, usually within the first two steps.