If your site went white or shows “There has been a critical error on this website” right after an update, nothing has been deleted. One piece of code, usually a plugin or theme that just updated, is failing early enough to stop every page, including the login page. To get back in, work down this list and stop at the first step that works: wait ten minutes if you see the maintenance message, use the recovery email WordPress sent, rename the failing plugin’s folder, rename the theme folder, or ask your host. We checked every behaviour below against the WordPress core source and the official documentation on 16 November 2026, and the steps are the same on WordPress 7.x.
This guide is for site owners, not developers. You do not need to write code. You do need a way to see your site’s files, and we explain where to find that. Read the next two sections first, because the first twenty minutes decide whether this is a small problem or a big one.
What does a white screen after an update actually mean?
It means PHP, the language WordPress is written in, hit a fatal error and stopped. WordPress catches many of these and shows a short grey page that says there has been a critical error. When the error happens too early for WordPress to catch it, you see a plain white page with nothing on it.
Your posts, pages, images, orders and members are safe in the database and the uploads folder. The failing code sits in front of all of them. Until it is out of the way, every page hits the same wall, and that includes /wp-admin. The usual causes, which the official common errors page also lists, are a plugin conflict, a theme that does not fit the new WordPress version, an incompatible PHP version, a full memory limit or damaged core files.
Two things worth knowing up front. First, this is almost never a hack. A hacked site usually keeps working while doing something you did not ask for, while a site that dies right after an update is a compatibility problem. Second, the update does not have to be one you started: WordPress can update plugins, themes and itself overnight, and your host can change the PHP version without a warning email you will notice.
What should I not do in the first twenty minutes?
Do not reinstall WordPress, do not restore a backup yet, and do not delete anything. Most of the damage in an outage like this is done by the person trying to fix it.
- Do not reinstall WordPress. Core is almost certainly fine. Reinstalling replaces files that were not the problem and leaves the ones that were.
- Do not restore a backup first. A restore rolls everything back to when the backup was taken, so orders, comments and posts since then disappear. It is a real option, but it is the last one. Our guide to restoring a WordPress site from a backup covers it when you get there.
- Do not delete files. Rename them instead. A rename is undone by renaming back. A delete is not, and you may need the file later to learn what went wrong.
Which screen am I looking at?
Five different problems all get called “white screen”, and each has a different fix. Match what your browser shows to this table before you start.
What you see | What it means | Go to |
|---|---|---|
“Briefly unavailable for scheduled maintenance. Check back in a minute.” | An update was interrupted and left a flag file behind | The maintenance section below |
“There has been a critical error on this website” | A plugin or theme caused a PHP fatal error | Recovery email, then folder rename |
A completely blank white page | The same, but the error came before WordPress could show a message | Folder rename |
“HTTP ERROR 500” or a page from your host | The web server failed before WordPress ran, often a damaged | Ask your host |
“Allowed memory size exhausted” | The site ran out of memory; a different problem | Host ticket; see below |
“Briefly unavailable for scheduled maintenance”: do I need to fix anything?
Wait ten minutes and reload. When WordPress starts an update it writes a small file called .maintenance into your site’s main folder, shows this message to everyone while files are swapped, and removes the file when it finishes. If the update is interrupted, the file stays.
WordPress clears this by itself. The file holds a timestamp, and the core function that reads it treats maintenance as over once the timestamp is ten minutes old. We confirmed the ten-minute check in the core source (wp_maintenance() in wp-includes/load.php). Deleting the file while an update is still running can leave a plugin with half old and half new files, which is worse than the message.
If it is still there after ten minutes, use your host’s file manager, open the folder that contains wp-config.php and wp-content, and delete the file named .maintenance. Files that start with a dot are hidden by default, so switch on “show hidden files” in the file manager settings. WordPress’s own troubleshooting FAQ gives the same fix and adds a sensible step: run the failed update again afterwards.
One trap: deleting .maintenance only removes the maintenance message. If a critical error appears afterwards, the update also broke something. A forum thread called Maintenance Mode from hell shows how people end up there. Carry on with the steps below.
“Allowed memory size exhausted”
This is a different problem that looks similar. The site ran out of the memory its hosting plan allows, often during something heavy such as an import or an image resize. Raising the limit is a hosting setting, so open a ticket and ask. Be a little suspicious if it started right after an update: a plugin that suddenly needs several times the memory it used last week usually has a bug, and a higher limit only buys time.
Step 1: Did WordPress email me a way in?
Search your inbox, and your spam folder, for the subject Your Site is Experiencing a Technical Issue. Since WordPress 5.2, when a plugin or theme causes a fatal error, WordPress sends an email with a special login link into recovery mode. In recovery mode you log in with the failing plugin or theme paused, so you can deactivate, update or delete it from the dashboard. We confirmed the subject line in the core source (class-wp-recovery-mode-email-service.php).
Where did the email go?
This detail causes most of the confusion. The email is sent to the site’s administration email address, which core reads with get_option( 'admin_email' ). That is the address under Settings, General, not necessarily your own user account’s address. On agency-built sites it is often the agency’s address. On sites moved between hosts it can be an address that no longer exists. If you never find the email, this is the usual reason, and the next step does not need it.
Limits worth knowing
- One email per day. The default rate limit in core is one day, so reloading the broken page fifty times does not send fifty emails.
- The link expires. By default it stays valid for the same one-day interval. If you find the email a week later, request a new one by waiting out the day and loading the broken page again.
- The recovery session lasts a week. After you click the link, the recovery cookie defaults to one week, so you can work through the fix without being locked out again.
- Network-activated plugins are skipped. On a Multisite network, core does not send the email for a plugin that is network-activated, so you will need step 2.
Some people report that the link leads to a “recovery mode not initialized” message, or that no email arrives at all. See the forum thread and this one on missing emails. If that is you, do not keep trying. Move to step 2.
Step 2: How do I switch off the failing plugin by renaming its folder?
Rename the plugin’s folder in wp-content/plugins. WordPress finds plugins by their folder, so a renamed folder is missing, and WordPress marks the plugin as deactivated and carries on loading.
You need to see your site’s files. Almost every host offers one of these:
- The file manager in your hosting control panel (cPanel, Plesk and most custom panels have one). It needs no software.
- SFTP with a free program such as FileZilla or Cyberduck, using the login details in your hosting account.
Go to this folder:
wp-content/plugins/You will see one folder per plugin. If you know which plugin updated just before the break, add -off to that folder’s name, so some-plugin becomes some-plugin-off, then reload your site. If the site comes back, you have found it. If not, rename the folder back and try the next candidate.
What if I have no idea which plugin it is?
Rename the whole plugins folder to plugins-off. That switches off every plugin at once. The site will look wrong and features will be missing, which is expected and temporary. What matters is whether you can now reach /wp-admin.
Once you are in, rename the folder back to plugins. All plugins now show as deactivated. Turn them back on in halves: activate the first half, load the front page, and if it is fine the culprit is in the other half. Split whichever half breaks and repeat. With thirty plugins, five rounds finds the one that fails.
Step 3: What if the theme is the problem?
If switching off every plugin changes nothing, rename the active theme’s folder in wp-content/themes. When WordPress cannot find the active theme it falls back to a default theme, as long as one is installed. Before you rename anything, check that another theme folder exists. If there is only one, download a default theme from WordPress.org and upload its folder first.
Your site will look completely different on the fallback theme. Nothing is lost, because content and theme are separate, and switching back restores the look. Rename rather than delete: if someone edited your theme directly instead of through a child theme, that folder may hold work that exists nowhere else.
Can I fix this with WP-CLI instead of a file manager?
Yes, if your host gives you SSH. WP-CLI can switch things off even when the site is broken, because you can tell it not to load plugins and themes while it runs. These commands come from the plugin deactivate and theme activate reference pages (checked 16 November 2026):
# list what is active
wp plugin list --status=active --skip-plugins --skip-themes
# switch off one plugin, or all of them
wp plugin deactivate some-plugin --skip-plugins --skip-themes
wp plugin deactivate --all --skip-plugins --skip-themes
# switch to a default theme (find its slug with wp theme list)
wp theme list --skip-plugins --skip-themes
wp theme activate default-theme-slug --skip-plugins --skip-themes
Replace some-plugin and default-theme-slug with the names on your site. Deactivating all plugins also resets some plugin settings screens to their defaults when you switch them back on, though your data stays in the database. We did not run these against your site, so note the active plugin list first so you can restore it.
Step 4: When should I ask my host?
Ask your host if you cannot find a file manager, if you see an HTTP 500 page, or if the steps above did not bring the site back. There is no prize for solving it alone, and managed WordPress hosts see this every day. A good ticket has four things:
- The site address.
- What you were doing when it broke, in one sentence. “A plugin updated automatically last night” is enough.
- The exact words on the screen.
- What you have already tried. People forget this one, and it stops support from sending you a list of things you did.
Ask one more question while you have them: “Did the PHP version change on this site recently, and where can I read the PHP error log?” A host-side PHP upgrade is a common cause of a break that looks like an update problem. A forum thread, Critical error after updating PHP, shows the pattern, and replies there suggest the same check. If the host did change PHP, the temporary workaround is to ask them to put the site back on the previous PHP version, update the old plugin or theme, and then move PHP forward again. WordPress.org currently recommends PHP 8.3 or newer, so aim there once the code supports it.
How do I find out which plugin actually failed?
Turn on the debug log, trigger the error once, and read the last lines. WordPress documents three settings for this. WP_DEBUG is off by default, WP_DEBUG_LOG writes errors to wp-content/debug.log, and WP_DEBUG_DISPLAY controls whether errors also show on the page. Hiding them on the page while logging them is the safe combination.
Open wp-config.php in your site’s main folder and find the line define( 'WP_DEBUG', false );. Replace it with these three lines, above the “That’s all, stop editing” comment:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Reload the broken page once, then open wp-content/debug.log. Look for the words “Fatal error” or “Uncaught” and the file path after them. The path contains a plugin or theme folder name. That name is your answer. Our guide on how to read your WordPress error log explains each part of a line.
Turn debugging off afterwards. WordPress’s own documentation says not to use these tools on live sites for longer than you need. Set WP_DEBUG back to false and delete the log, because a log left running keeps growing.
What do I do with the answer?
Send the exact error line to the plugin’s authors, with what changed just before it appeared and your PHP and WordPress versions. Both versions are under Tools, Site Health, Info. Check the plugin’s support forum first. If a release broke your site it probably broke others, and a thread or a fixed version may already exist. A specific report with a file path gets answered faster than “your plugin broke my site”.
Does WordPress undo a bad plugin update on its own?
Sometimes. Current WordPress has a safety net for automatic plugin updates: it keeps a temporary backup of the old version, checks the site after the update, and if it finds a fatal error it restores the previous version. We confirmed the restore logic in the core automatic updater source, where a fatal error after an automatic plugin update triggers a restore of the temporary backup, with separate messages for success and failure.
That helps, but it has gaps. It covers automatic updates, not every manual click. It only catches fatal errors that the check can see, so a plugin that breaks one page, or a theme that fails on a specific template, can slip through. And if the restore itself fails, you are left in the situation this guide covers. Treat it as a bonus, not a plan.
Should I turn automatic updates off after this?
No. Updates are how security fixes reach your site, and an update that breaks the site announces itself at once and can be fixed in an afternoon. A missed security update gives no symptoms until the day it gives very large ones. Trading the loud, recoverable problem for the quiet permanent one is a bad deal.
Two adjustments help instead:
- Let WordPress core update itself, and handle plugin updates yourself once a week. Core updates are the safest and the most security-critical. Plugin updates are where breakage lives, so do them at a time you choose. Our guide on updating plugins without breaking your live site gives the routine.
- Update when you can look at the site afterwards. Tuesday morning, not Friday evening. The cost of a broken update is mostly how long it stays broken before anyone notices.
If downtime costs you money, use a staging copy: update there first, click through the pages that matter, then repeat on the live site. See our staging site guide. If your site has been neglected for a long time, the safe order of updates for an old site is a better starting point than clicking Update All.
Common mistakes people report
These are recurring patterns from WordPress.org support threads and the official docs. We checked each link on 16 November 2026 and paraphrased what people describe. The threads are a mix of ages, so read them for the pattern, not for current version numbers.
- Deleting
.maintenanceand expecting the site to be fixed. Some users see a critical error appear after the message goes away, and replies explain that the file only controls the maintenance message. See this thread. - Clicking the recovery link and seeing “not initialized”. Several users report this, and moderators in this thread point people to the server error log and the debug log rather than the link.
- Waiting for an email that went to the wrong address. The email goes to the administration address stored in the database, as this thread on missing emails shows. An outdated address means no link.
- Blaming the plugin when the host changed PHP. A forum thread, Critical error after updating PHP, is one example. Check the PHP version before you hunt for a bad plugin.
- Reinstalling WordPress core first. The official troubleshooting pages put core reinstalls well after plugin and theme checks, because core is rarely the cause.
- Leaving debug mode on. The log grows without limit, and WordPress’s documentation says these tools are not meant for live sites.
What should I do today so next time is easy?
Do these now, while nothing is broken, because none of them can be done during an outage.
- Fix the administration email. Open Settings, General and make sure the site administration email is an address you read. This one field decides whether Step 1 exists for you.
- Open your file manager once. Find
wp-content/pluginsand look at it. Now you know the route. - Write down where things are. Hosting login, control panel address, SFTP details, where backups live. Keep the note somewhere you can reach from your phone, not on the site.
- Test a restore. A backup you have never restored is a hope. Find the restore button on a quiet day.
- Keep one default theme installed. An unused default theme folder is what makes Step 3 possible.
- Check that your site can send email. A site that cannot send mail also fails on password resets and order confirmations, and it will not send the recovery link either.
Our general recovery playbook for a broken update and the list of 15 quick fixes every beginner should bookmark cover the cases around this one.
Frequently asked questions
Is my data gone if I see a white screen?
No. Content is stored in the database and the uploads folder, and neither is touched by the failing code. The page stops before it can read them.
Can I fix it without a backup?
Usually yes. Steps 1 to 3 do not use a backup. Still, take one as soon as you are back in.
Why can’t I log in to wp-admin?
The login page runs the same code as the front of the site. If a plugin fails on every request, it fails on the login page too.
The site works but the admin shows a white screen. Same fix?
Mostly yes, since a plugin that fails only in the dashboard is still a plugin. Use the debug log to see the file path, and rename that plugin’s folder.
How long does recovery mode last?
The emailed link is valid for one day by default, and the recovery session cookie lasts one week by default. Both can be changed by developers with filters, so a custom site may differ.
Do I need a developer?
Not for most of these. If you can rename a folder in a file manager, you can do Steps 2 and 3. Ask a developer or your host when you see HTTP 500, when the plugin you must keep is the broken one, or when the debug log points at core files.
What should you do next?
Once you are back in, update or replace the plugin that failed, take a fresh backup and do the twenty-minute checklist above. If the same plugin keeps breaking things after updates, that tells you something about the plugin, and it is a fair reason to look for a better-maintained one.
Related reading





No comments yet