How to Fix the WordPress White Screen of Death (WSoD): Complete Diagnostic Guide

The Dreaded White Screen

Every WordPress developer has encountered it: you update a plugin or edit a template, and suddenly your entire website disappears, replaced by a blank white screen or a generic "There has been a critical error on this website" message.

The White Screen of Death (WSoD) is typically caused by fatal PHP syntax errors, memory limit exhaustion, or catastrophic plugin conflicts. Follow this systematic troubleshooting protocol to restore your site in minutes.

1. Step-by-Step Diagnostic Protocol

Step 1: Enable WP_DEBUG Logging

Stop guessing what went wrong. Open your wp-config.php file via FTP or hosting file manager and enable error logging:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

WordPress will now write the exact fatal error message, file name, and line number into wp-content/debug.log.

Step 2: Resolve Memory Limit Exhaustion

If the log reveals an "Allowed memory size of X bytes exhausted" error, increase your PHP memory limit inside wp-config.php:

define('WP_MEMORY_LIMIT', '256M');

Step 3: Deactivate Problematic Plugins via FTP

If a rogue plugin caused the crash, connect via FTP, navigate to wp-content/plugins/, and rename the offending plugin's folder (e.g., from broken-plugin to broken-plugin_disabled). WordPress will automatically deactivate it, instantly restoring site access.

Conclusion

Knowing how to troubleshoot fatal PHP errors calmly separates true engineers from casual users. Need emergency WordPress recovery or ongoing maintenance? Explore my services or reach out immediately.