Skip to content
Free website migration on every plan, done by our team.Learn more ›
WordPress

How to fix the WordPress white screen or "critical error"

Fix a blank white WordPress page or "There has been a critical error": use recovery mode, read the error log, disable plugins and raise memory.

Short answer: A white screen or "There has been a critical error on this website" means PHP hit a fatal error, usually from a plugin, a theme or a PHP version change. Use the recovery link WordPress emails you, or turn off plugins by renaming their folder, then fix or replace the culprit.

Step 1: Check your email for recovery mode

WordPress emails the site administrator a special login link when a fatal error happens. It lets you sign in with the faulty plugin or theme paused, so you can deactivate it from the dashboard.

Step 2: Read the error log

In cPanel, open Errors or look for a file called error_log in your site folder. The last lines usually name the exact plugin or theme file. You can also add these lines to wp-config.php to log errors:

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

The log then appears in wp-content/debug.log. Turn debugging off again when you're done.

Step 3: Disable plugins

In File Manager, rename wp-content/plugins to plugins-off. If the site returns, rename it back and disable plugins one at a time (by renaming each plugin's folder) until the error returns.

Step 4: Switch the theme

Rename your active theme's folder inside wp-content/themes. WordPress falls back to a default theme if one is installed.

Step 5: Check PHP version and memory

  • If the problem started after a PHP upgrade, an old plugin may not support it yet. Update the plugin or temporarily switch PHP back. See which PHP version to use.
  • If the log mentions "Allowed memory size exhausted", raise the limit. See how to increase PHP limits.

Prevent it next time

Update plugins one at a time, test big changes on a staging site and keep backups.

Frequently asked questions

Is my site hacked if I see a white screen?

Usually not. It's almost always a plugin, theme or PHP compatibility issue. If you also see strange redirects or files, follow our hacked website guide.

Why do I only see the white screen in the dashboard?

A plugin that only loads in the admin area may be failing. The same steps apply.

Can my host fix it for me?

Yes. AuroxHost support can read the server logs with you and point to the failing plugin or theme.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.