White Screen of Death (WSoD) in WordPress – Causes and Fixes

On this page
  1. Common Causes of the White Screen
  2. Step 1: Enable WordPress Debug Mode
  3. Step 2: Deactivate All Plugins
  4. Step 3: Switch to a Default Theme
  5. Step 4: Increase the PHP Memory Limit
  6. Step 5: Check for Auto-Update Failures
  7. Technical Analysis via mybox Logs
  8. Summary

The “White Screen of Death” is one of the most common yet alarming WordPress issues. It occurs when your website displays a completely blank page with no error message, effectively locking you out of both the front end and the dashboard. This typically happens when a script on your mybox-hosted server times out or encounters a fatal error.

Common Causes of the White Screen

  • Plugin or Theme Conflicts: A recent update or a poorly coded plugin can crash the site.
  • Exhausted PHP Memory: Your site has reached the memory limit assigned to it.
  • Coding Errors: A small typo in a file like functions.php or .htaccess.
  • Database Issues: Corrupted tables or a failed connection to the database.

Step 1: Enable WordPress Debug Mode

Since the white screen hides the actual error, you need to force WordPress to reveal what is going wrong.

  1. Connect to your FTP account via your preferred FTP client.
  2. Locate the wp-config.php file in your root directory.
  3. Search for the line: define( 'WP_DEBUG', false );
  4. Change it to: define( 'WP_DEBUG', true );
  5. Save the file. Refresh your site. Instead of a white screen, you should now see a specific error message pointing to a specific file and line number.

Step 2: Deactivate All Plugins

If the debug message points to a plugin folder, or if you can’t access the debug log, deactivating plugins is the next logical step.

  1. Via FTP, go to /wp-content/.
  2. Rename the plugins folder to plugins_old.
  3. Check your site. If it loads, a plugin was the culprit.
  4. Rename the folder back to plugins, then log in to your dashboard and activate them one by one to find the specific one causing the crash.

Step 3: Switch to a Default Theme

If plugins aren’t the issue, your theme might be.

  1. Using FTP, navigate to /wp-content/themes/.
  2. Rename your active theme’s folder (e.g., mytheme_old).
  3. WordPress will automatically attempt to fall back to a default theme (like Twenty Twenty-Four). If the site comes back, you know the issue lies within your theme’s code.

Step 4: Increase the PHP Memory Limit

Sometimes the white screen happens because a process is simply too “heavy” for the default settings.

  1. In your wp-config.php file, add this line before the “Happy blogging” message: define('WP_MEMORY_LIMIT', '256M');
  2. Additionally, you can adjust the PHP limits globally within your mybox panel under the PHP Settings section to ensure your environment has enough resources for your specific site requirements.

Step 5: Check for Auto-Update Failures

If the white screen appeared during an update, a .maintenance file might be stuck.

  1. Check your root folder via FTP.
  2. If you see a file named .maintenance, delete it.
  3. This often clears the “Briefly unavailable” or white screen issue immediately.

Technical Analysis via mybox Logs

If none of the above works, the mybox panel provides deeper insights:

  • Error Logs: Access the “Logs” section in your panel to see real-time server errors (500 errors). These often provide a more technical explanation than WordPress’s internal debug mode.
  • Restoring Backups: If you cannot find the source of the error, use the mybox backup tool to restore your site to a state from 24 or 48 hours ago when it was working perfectly.

Summary

While the White Screen of Death looks intimidating, it is almost always caused by a minor code conflict or a resource limit. By using the debug mode and the file management tools in your mybox panel, you can quickly identify the source and restore your site to full functionality.

Didn't find an answer?

Our support team is here for you 24/7 – write to us and we will help you sort it out.