Ultra Web Hosting Docs

WordPress White Screen of Death

The dreaded "White Screen of Death" is a completely blank page where your WordPress site should be, often with no error message at all. It looks alarming, but it is almost always recoverable. The cause is usually a PHP fatal error, exhausted memory, or a plugin or theme conflict — and each has a clear fix.

What Causes It

A white screen and a 500 Internal Server Error share many of the same causes; the difference is often just whether the server surfaced the error. The recovery steps overlap heavily.

Step 1: Turn On WP_DEBUG

By default WordPress hides errors, which is why you see a blank page. Enable debugging to see what actually failed.

  1. Open File Manager in cPanel and edit wp-config.php in your WordPress folder.
  2. Find the line define('WP_DEBUG', false); and change it to:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

With WP_DEBUG_LOG on, errors are written to wp-content/debug.log instead of shown to visitors. Reload the site, then open that log to read the exact error.

Tip The error in debug.log usually names the exact plugin or theme file that failed. That single line often tells you precisely what to disable in the steps below.

Step 2: Raise the Memory Limit

If the error mentions Allowed memory size exhausted, give WordPress more memory. Add this to wp-config.php above the "That's all, stop editing" line:

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

You can also raise PHP's own memory_limit from the MultiPHP INI Editor in cPanel if the WordPress setting alone isn't enough.

Step 3: Deactivate All Plugins

If you can't reach the admin dashboard, deactivate every plugin at once by renaming their folder.

  1. In File Manager, browse to wp-content.
  2. Rename the plugins folder to plugins-off.
  3. Reload your site. If it comes back, a plugin was the cause.
  4. Rename the folder back to plugins. Now rename each plugin subfolder one at a time, reloading after each, until the white screen returns — that last one is the culprit.

Step 4: Switch to a Default Theme

If plugins aren't the cause, your theme may be. Force WordPress back to a default theme.

  1. In File Manager, browse to wp-content/themes.
  2. Rename your active theme's folder (for example mytheme to mytheme-off).
  3. WordPress automatically falls back to a default theme such as Twenty Twenty-Four if it is present.
  4. If the site loads with the default theme, the problem is in your theme — check its functions.php for recent edits.

Step 5: Read the Error Log

Alongside debug.log, the server keeps its own error log. In cPanel, go to Metrics > Errors and read the most recent entries. Together with WP_DEBUG output, this pinpoints the failing file and line.

Note Once your site is working again, set WP_DEBUG back to false. Leaving debug logging on in production can expose information and grow the log file over time.

Still Blank?

If you've disabled every plugin, switched themes, and raised memory but the screen is still white, open a support ticket. Include your domain and the latest lines from wp-content/debug.log and the cPanel error log so we can trace it quickly.