WordPress Site Broken After an Update? What to Do First

White screen, "critical error" or a broken layout after an update? What to do in the first hour, how to roll back a plugin, how to tell a crash from a hack, and how to stop it happening again.

6 min read

In this article
  1. How do you tell what broke?
  2. What should you do in the first hour?
  3. How do you see the real error?
  4. How do you roll back a plugin to the previous version?
  5. Is PHP to blame rather than the update?
  6. Is it a broken update or a hack?
  7. How do you stop it happening again?
  8. Who can maintain a WordPress site if the previous developer disappeared?
  9. What to do tomorrow
  10. Frequently asked questions

If your WordPress site broke after an update, stop updating anything else, take a backup of its current state and disable the plugin or theme that was updated last — it is usually the culprit. If the site isn't back within half an hour, restore the last working backup and look for the cause calmly, once visitors can see a working site again.

Below: how to recognise the failure from what you see on screen, and what to do step by step.

How do you tell what broke?

What you see Most common cause
White screen or "There has been a critical error on this website" A PHP error in a plugin or theme
"Briefly unavailable for scheduled maintenance" The update was interrupted and a .maintenance file was left behind
The site works but the layout is broken A theme–plugin conflict or a stale cache
The site works but the admin panel won't open A plugin that loads only in the admin area
Error 500 A PHP error, the memory limit or a broken .htaccess

If you updated several things at once, you'll have to find the culprit by disabling them one at a time. That's why it's worth updating one item at a time in future — more on that below.

What should you do in the first hour?

  1. Don't update anything else. Hitting "Update all" again usually just adds chaos.
  2. Back up the current state — files and database, via your hosting panel. Even a backup of a broken site matters: if a fix makes things worse, you have somewhere to return to.
  3. Check the admin email inbox. Since version 5.2, when WordPress hits a fatal error it emails a link to recovery mode and often names the plugin or theme responsible.
  4. Disable the suspect plugin. If you can't get into the admin panel, use FTP or your host's file manager to rename its folder wp-content/plugins/plugin-name, for example to plugin-name-off. WordPress will treat that plugin as deactivated.
  5. Don't know the culprit? Rename the whole wp-content/plugins folder, check whether the site is back, then restore the name and disable plugins one at a time.
  6. Is it the theme? If you rename the active theme's folder in wp-content/themes, WordPress usually falls back to the default theme, if one is installed.
  7. Stuck on "Briefly unavailable"? Delete the .maintenance file in the site's root folder.

If none of these steps help, restore the last working backup. A site running yesterday's version is almost always better than a site that doesn't run at all.

How do you see the real error?

WordPress can write errors to a log without showing them to visitors. In wp-config.php, above the line "That's all, stop editing!", add:

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

Errors will appear in wp-content/debug.log. The first "Fatal error" line usually points to a file — and with it, the plugin or theme. Once fixed, turn the log off and delete the file: by default it may be reachable from the internet.

How do you roll back a plugin to the previous version?

  • From the admin panel. Since version 5.5, WordPress lets you upload a plugin ZIP (Plugins → Add New → Upload Plugin) and offers to replace the current version with the uploaded one. Older versions of free plugins are on their wordpress.org page, under "Advanced View".
  • With WP-CLI, if you have SSH access: wp plugin install plugin-name --version=1.2.3 --force.
  • Paid plugins — older versions are usually in your account with the vendor.

After rolling back, turn off automatic updates for that plugin until the vendor ships a fix. And be careful with plugins that change the database during an update (WooCommerce, for example): old files alone aren't enough — you need to restore the database backup too.

Is PHP to blame rather than the update?

Sometimes the site breaks not because of your update, but because the host changed the PHP version. An old plugin or theme may stop working on a newer PHP version. Check your hosting panel to see whether the PHP version changed. Switching back temporarily can help, but it's not a fix: older PHP versions eventually stop receiving security patches, so the plugin or theme will need updating or replacing.

Is it a broken update or a hack?

The signs of a hack are different: unknown administrators, redirects to other sites, strange pages in Google results (search site:yourdomain.com), files nobody uploaded. In that case rolling back a plugin isn't enough — the site needs cleaning:

  • wp core verify-checksums compares WordPress core files with the official ones;
  • wp plugin verify-checksums --all does the same for plugins from wordpress.org;
  • all passwords and the security keys in wp-config.php are changed;
  • the entry point is found — otherwise it will happen again.

How do you stop it happening again?

  • A backup before every update — and a restore tested at least once.
  • One update at a time, not "everything at once", and not on a Friday evening.
  • A staging copy for big updates: WordPress core, WooCommerce, the theme, the PHP version.
  • Fewer plugins. Delete the ones you don't use — they slow the site down and add risk. How that affects speed: website speed for small business.
  • Monitoring — an alert when the site stops responding, so you don't hear about it from customers.
  • A clear owner — who updates, who checks and who responds.

If the site breaks every few months, it's worth working out whether to keep maintaining it or move it to code — see WordPress vs a custom-coded website.

Who can maintain a WordPress site if the previous developer disappeared?

Another studio or a freelancer can take it over, as long as you have the access details. Gather them in one safe place: hosting account, domain registrar, WordPress administrator, FTP or SSH, paid plugin licences. Without hosting and domain access, taking a site over is hard, so recover those first.

We take over existing WordPress and WooCommerce sites: we fix failures, speed them up, maintain them and automate the processes around them. Describe what you see and we'll tell you where to start. More on what we do with WordPress on the automation page.

What to do tomorrow

  1. Check whether you have backups of the site and whether you've ever tried restoring one.
  2. Collect all access details — hosting, domain, administrator, FTP — in one safe place.
  3. Deactivate and delete plugins you no longer use.

Frequently asked questions

Why did my WordPress site break after an update?

Usually because a plugin or theme isn't compatible with the new WordPress, WooCommerce or PHP version; less often because the update was interrupted.

What does "There has been a critical error on this website" mean?

It's WordPress reporting a fatal PHP error. The admin email should receive a message with a recovery mode link, often naming the plugin or theme at fault.

Can a WordPress update be undone?

For a plugin or theme, yes — by uploading the previous version. Core and database changes are most reliably undone by restoring a backup.

Should automatic updates be on?

Minor WordPress security updates are on by default, and it's worth keeping them. Large plugins, especially WooCommerce, are safer to update by hand, with a backup.

How much does it cost to fix a WordPress site?

It depends on the cause: disabling a faulty plugin is a short job; cleaning up a hack or getting an old theme to work with a new PHP version takes longer. Describe what you see and we'll give you a price.

More posts

All posts