WordPress White Screen of Death (WSoD) Fix
The dreaded "White Screen of Death" (WSoD) in WordPress is a common issue that can be incredibly frustrating. It presents as a completely blank, white screen, preventing you from accessing your website's content or admin area. Luckily, it's usually fixable. This guide will walk you through common causes and solutions.
Troubleshooting Steps
Before diving into more complex solutions, try these quick fixes:
- Clear your browser cache: Sometimes, outdated cached files can cause display issues.
- Try a different browser: Rule out a browser-specific problem.
If those don't work, proceed with these more in-depth troubleshooting steps:
- Disable Plugins: A faulty plugin is the most frequent culprit. Since you can't access the admin panel, you'll need to use FTP or your hosting provider's file manager.
- Connect to your server.
- Navigate to
/wp-content/plugins/. - Rename the
pluginsfolder to something likeplugins_disabled. This effectively disables all plugins. - Check your website. If it's working, a plugin was the issue. Rename the folder back to
plugins. - Now, rename each plugin folder individually (e.g.,
akismettoakismet_disabled) and check your site after each change to identify the problematic plugin. - Once you find the faulty plugin, delete it or contact the developer for support.
- Switch to a Default Theme: Similar to plugins, a poorly coded theme can trigger the WSoD.
- Using FTP or your file manager, navigate to
/wp-content/themes/. - Rename your active theme's folder (e.g.,
mythemetomytheme_disabled). WordPress will automatically revert to a default theme like Twenty Twenty-Three. - Check your website. If it's working, your theme is the issue. Consider using a different theme or contacting the theme developer.
- Using FTP or your file manager, navigate to
- Increase PHP Memory Limit: WordPress requires a certain amount of memory to function correctly. The default is often 64MB, but you might need more.
- Edit your
wp-config.phpfile (located in the root directory of your WordPress installation). - Add the following line before the
/* That's all, stop editing! Happy blogging. */line:define( 'WP_MEMORY_LIMIT', '256M' ); - Save the file and check your website. You can also try increasing it further to 512M if 256M doesn't resolve the issue.
- Edit your
- Enable WP_DEBUG: This will display error messages on the screen, helping you pinpoint the exact cause of the WSoD.
- Open your
wp-config.phpfile. - Find the line
define( 'WP_DEBUG', false );and changefalsetotrue. If the line doesn't exist, adddefine( 'WP_DEBUG', true );before the "Happy blogging" line. - Save the file and refresh your website. Note the error messages and research them. Remember to set
WP_DEBUGback tofalseafter troubleshooting.
- Open your
Still Stuck?
If none of these steps work, consider contacting your hosting provider for assistance. They may be able to identify server-side issues or provide more specific guidance.