WordPress White Screen of Death Troubleshooting Guide
The WordPress white screen of death (WSOD) is a common issue that can leave your website inaccessible. It’s often caused by plugin or theme conflicts, PHP errors, memory limits, or issues from recent updates. This guide will help you diagnose and resolve the issue efficiently.
Common Causes
- Plugin or Theme Conflicts
- Incompatible or poorly coded plugins/themes can break your site. Also check for outdated/vulnerability in plugin/themes.
- PHP Version Mismatch
- Your WordPress site may require a specific PHP version to function properly.
- Memory Exhaustion
- Insufficient memory allocated to WordPress can lead to WSOD.
- Corrupted
.htaccessFile- A corrupted
.htaccessfile can disrupt your site’s functionality. This can include conflicting htaccess rules
- A corrupted
- Recent Updates
- Updates to WordPress core, plugins, or themes may introduce compatibility issues.
Diagnostic Steps
- Enable Debug Mode
- Add the following line to your
wp-config.phpfile: - // Enable debugging mode:
define('WP_DEBUG', true ); - // Enable logging to the debug.log file:
define( 'WP_DEBUG_LOG', true ); - // Disable displaying errors on the screen:
define( 'WP_DEBUG_DISPLAY', false );
- Add the following line to your
- Check Error Logs
- Access your server’s error logs via your hosting control panel or FTP. Look for recent errors related to WordPress, themes or plugins.
- You can also check the debug logs enable above from
/wp-content/debug.log
- Disable Plugins
- Rename the
pluginsfolder inwp-contenttoplugins_old. If the site works, a plugin is causing the issue. Rename the folder back and deactivate plugins one by one.
- Rename the
- Switch to a Default Theme
- Rename your active theme folder in
wp-content/themes. WordPress will revert to a default theme like Twenty Twenty-Five.
- Rename your active theme folder in
- Increase PHP Memory Limit
- Add this line to your
wp-config.phpfile:define ('WP_MEMORY_LIMIT', '256M'); - PHP Memory limit can also be increase from your cPanel or Plesk or ULTRA Cloud Panel hosting.
- Add this line to your
- Check
.htaccessFile- Rename the
.htaccessfile to.htaccess_oldand refresh your site. If it works, regenerate the file and add default WordPress htaccess rules
- Rename the
Questions to Ask
- Have you recently updated WordPress, a plugin, or a theme?
- Did you install or activate a new plugin or theme?
- Have there been any configuration changes?
When to Escalate
If the above steps don’t resolve the issue, contact Freethought to help review. Provide the following information to speed up the resolution:
- Error messages from debug mode or logs.
- Recent changes made to the site.
- Steps you’ve already taken to troubleshoot.
By following this guide, you can identify and resolve the WordPress white screen of death more quickly.