A WordPress update went wrong: a runbook
What to do, in order, when an update to WordPress, a plugin or a theme leaves the site broken or stuck. Stop updating, copy down what the screen says, get back into the dashboard, then choose between going back one version and restoring a backup.
- By
- WP Ministry
- Published
In short
- Stop updating and copy the exact message before you change anything.
- A maintenance notice clears by itself once the update is ten minutes old. Wait before you touch the files.
- WordPress may have emailed the administrator a link that opens the dashboard with the failing plugin or theme paused.
- Going back one version of one plugin loses nothing. Restoring a backup loses everything that arrived since it was taken.
- Try the update again on a staging copy first, not on the live site.
This runbook is for the minutes after an update to WordPress, a plugin or a theme leaves the site broken, half-working or stuck. Work from the top. The first thing to do is stop: run no more updates, and copy down exactly what the screen says.
In the first few minutes
Step 1: Stop updating
Run nothing else. If the tab that ran the update is still working, leave it open: an update that is cut short may not finish installing. Write down what you were updating, both version numbers and the time.
Step 2: Copy what the screen says
Take a screenshot of the front page and the dashboard, and copy any message word for word. The exact words lead to the cause. Then open the site on a phone using mobile data, to see what visitors see.
Step 3: If it is the maintenance notice, wait ten minutes
"Briefly unavailable for scheduled maintenance. Check back in a minute." is WordPress's own notice while it installs an update. WordPress stops obeying it once the update is ten minutes old, so the site comes out of it without any change from you. If you cannot wait, the first route below ends it at once.
Step 4: Look for an email from the site
When a plugin or theme fails with a fatal error, WordPress emails the site's administrator address. The subject ends with "Your Site is Experiencing a Technical Issue". Find it now. It names the plugin or theme, and it holds a link that expires.
Step 5: Find the backup from before the update
Check that one exists and note when it was taken. Do not restore it. Its age tells you what a restore would cost.
Find out what happened
The three kinds of update fail in different ways.
- WordPress itself. A warning that the update failed, a blank white page, or a PHP error message. WordPress's documentation names a connection that dropped during the update and wrong file permissions among the causes.
- A plugin. Every page says "There has been a critical error on this website." Or the site loads and the one thing that plugin does has stopped: a form, a gallery, the checkout.
- A theme. Pages load and look wrong, or changes you made in the theme's own files are gone. An update replaces those files, and edits made inside them go with the old version.
Then match what you copied down.
- The maintenance notice. The update was cut short. When the notice goes, the site may show a different fault, because the update did not finish.
- A critical error or a blank page. The email names the plugin or theme. Without the email, the error log does: the white screen of death page shows how to switch the log on, and the error decoder explains a line you paste into it.
- The site loads and something is off. Suspect the last thing you updated. If several updates ran together, find the plugin conflict by switching plugins off in halves.
Bring it back
Work down this list. Skip a route that does not apply.
Clear a stuck maintenance notice. During an update WordPress places a file named .maintenance in the folder that holds wp-admin. Deleting that one file ends the notice at once. The steps are on the page for "Briefly unavailable for scheduled maintenance". Run the interrupted update again afterwards, in case it did not finish.
Get back into the dashboard. The link in WordPress's email opens the login page in recovery mode. The failing plugin or theme is paused for you alone, so the dashboard loads. Visitors still see the error until you deactivate that plugin, or switch theme, and leave recovery mode with the button in the admin bar.
With no email, switch the plugin off from outside. Over SFTP or in your host's file manager, open wp-content/plugins and rename the folder of the plugin you updated. WordPress can no longer find it, so it stops running, and its settings are kept. If you do not know which plugin it was, WordPress's documentation gives the same method for all of them: rename the whole plugins folder to plugins.hold, log in, then rename it back. With WP-CLI, the two extra options stop the broken code from loading:
wp plugin deactivate plugin-folder-name --skip-plugins --skip-themesGo back one version, or restore the backup. With the site reachable again, choose between the two.
- Go back one version when you know which update did it and the rest of the site is sound. Only that plugin's or theme's files change. Nothing that visitors sent is lost. How to safely update WordPress shows how to install the earlier version.
- Restore the backup when you cannot tell which update did it, when several things broke together, or when going back one version did not help. The cost is everything that arrived since the backup. On a store, export the newer orders first.
Repair WordPress itself. If the failed update was WordPress's own, repair forward: WordPress's documentation says going back to an older release is usually not recommended, because newer versions often carry security fixes. Go to Dashboard, then Updates, and run the update again, or re-install the current version from there. A core update copies WordPress's own files over the old ones and keeps files that are not part of WordPress. This WP-CLI command compares WordPress's files, but nothing inside wp-content, with the checksums WordPress.org publishes:
wp core verify-checksumsWho to tell
- Your host, if the update stopped with an error about permissions or a connection, or if you have no backup of your own. Ask whether they hold a copy from before the update.
- The author of the plugin or theme. Send both version numbers and the error line, so the fault gets fixed for everyone.
- Anyone else who edits the site. Ask them to stop until this is settled. Work saved between a backup and a restore is lost.
- Customers, only if something they rely on was affected. Check for orders and messages that arrived during the fault and answer them.
Afterwards
- Stay on the older version only until a fixed one is released. Security fixes arrive in new versions.
- Try the update again on a copy first. Set up a staging site, apply the same update there, and look for the fault before the live site is touched.
- Keep a note of both version numbers, the error line, what brought the site back and how long it took.
On a care plan, our update service applies updates weekly, looks at the site afterwards and undoes an update that went wrong.
When to hand it over
- The error log points at WordPress's own files, not at a plugin or the theme.
- The site is still broken with the updated plugin off and a default theme active.
- There is no backup from before the update.
- It is a store, and orders are arriving while you test.
WP Ministry repairs a site that an update broke as a one-time fix, which begins with a free diagnosis that gives you the cause in writing.
Common questions
I did not get the recovery email. What now?
It goes to the site's administrator address, which may be an old one or a colleague's. By default WordPress sends it at most once a day, so reloading the broken page will not produce a second. The site may also be unable to send mail at all: see WordPress not sending email. You do not need the email. Renaming the plugin's folder does the same job.
Will going back a version lose my settings?
Installing an earlier version replaces the plugin's files. Its settings are in the database and stay there. If the newer version had already changed how it stores its data, the older one may not read it correctly. Check the plugin's screens after going back, and restore the backup if they are wrong.
The update finished without an error, but the site is broken. Is that still a failed update?
Yes. The files installed correctly, and the new version does not get on with something else on the site. The routes back are the same: switch it off, then go back one version.
- Error fixHow to fix WooCommerce payment gateway errors
- Error fixHow to fix WordPress when it keeps logging you out
- GuideLocked out of WordPress admin: find which lockout you have and get back in
- Error fix"Not found (404)" in Search Console: which addresses to fix on a WordPress site, and which to leave
- Error fix"Page with redirect" in Search Console: what it means on a WordPress site, and which ones to fix
- GuideSlow WordPress admin: how to find the cause and fix it

