Updates
WordPress Updates Gone Wrong: How to Update Safely
The safest way to update WordPress is to take a full backup first, test the update on a staging copy of your site, then push changes to production — with a rollback plan ready if anything breaks. If you skip those steps, a single update can take down a live site in seconds. Here is exactly how to do it right.
Why Updates Break Sites (And Why You Still Need Them)
WordPress updates — whether to core, a theme, or a plugin — are the single most effective thing you can do for security. The WordPress project publishes a changelog for every release, and attackers read it too. They reverse-engineer the patch to build exploits targeting sites that haven't updated yet. Skipping updates is not playing it safe — it's trading a small breakage risk now for a near-certain security risk later.
That said, breakage is real. The most common causes are:
- PHP version mismatches. A plugin or theme update may require a newer PHP version than your host is running.
- Plugin conflicts. Two plugins that both hook into the same WordPress function can collide when one adds new behaviour.
- Theme + plugin incompatibility. A page builder update often breaks child theme overrides or custom field layouts.
- Database schema changes. Some major WordPress core updates alter the database structure. Running them on a live site without a backup can leave you with a partially migrated database that neither old nor new code can read cleanly.
- Customisations in wrong places. Any changes made directly inside a plugin or theme folder — rather than through a child theme or a code snippets plugin — get silently wiped on every update.
Understanding the cause makes the fix (and the prevention) obvious.
Before You Touch Anything: The Pre-Update Checklist
1. Take a full site backup
This is non-negotiable. "Full backup" means both the database and all files — the /wp-content folder, wp-config.php, and everything else. Store the backup somewhere other than the same server: a remote destination like Amazon S3, Google Drive, or Dropbox. Plugins like UpdraftPlus or BackWPup can automate this. Many managed hosts (WP Engine, Kinsta, Flywheel, Pressable) include one-click backups from the dashboard — use them.
If your host doesn't offer server-side snapshots and you haven't set up a backup plugin yet, do that first. A backup you took five minutes ago is the only reason a botched update becomes a ten-minute recovery instead of a disaster.
2. Check your PHP version
Go to Tools → Site Health → Info → Server in your WordPress dashboard. Note the PHP version. Before updating a plugin or theme, check its "Requires PHP" field on the plugin's WordPress.org page or in the readme. If the update requires PHP 8.1 and you're on 7.4, either upgrade PHP first (test that on staging too) or hold the plugin update until you can.
3. Read the changelog
For major WordPress core releases (5.x → 6.x style jumps), read the release notes on wordpress.org/news. For plugins, click the "View version x.x details" link on the Updates screen. Look for phrases like "breaking change," "removed deprecated function," or "requires PHP 8." Two minutes of reading can save two hours of debugging.
4. Note any recent customisations
Ask yourself — or your developer — whether any code was edited directly inside a plugin or theme folder in the last few months. If yes, document what changed and where before the update overwrites it.
The Staging Workflow (The Right Way)
A staging site is a private clone of your live site where you can break things safely. Most quality managed WordPress hosts offer one-click staging environments. If yours doesn't, plugins like WP Staging can create a local or subdomain-based copy.
- Clone your live site to staging. This should include the database and all files at the same moment.
- Run all pending updates on staging. Start with core, then themes, then plugins — roughly the order WordPress itself recommends.
- Test thoroughly. Check the homepage, key landing pages, checkout or contact forms, the admin dashboard, and anything a customer would touch. Don't just look — click, submit, scroll. If you run WooCommerce, put a test product through checkout.
- Check the browser console for JavaScript errors (right-click → Inspect → Console). Silent JS errors often explain broken sliders, menus, or checkout steps that look fine visually but don't work.
- If staging looks good, push to production. Some hosts let you push staging to live with one click. If you're doing it manually, run the same updates on the live site immediately after — don't let staging diverge for days before you act.
If you don't have a staging environment yet, you can still reduce risk by updating plugins one at a time on the live site, checking the front end between each one. It's slower and riskier than staging, but far better than hitting "Update All" and hoping.
Updating One at a Time vs. "Update All"
The Update All button is convenient and almost always fine for minor point releases (e.g., 3.4.1 → 3.4.2). For major version jumps — especially for core or for complex plugins like WooCommerce, Elementor, or ACF — update individually. If something breaks, you know exactly which update caused it and can roll it back in isolation rather than reverting everything.
What to Do When an Update Breaks Your Site
Stay calm. If you have a backup, this is recoverable. Work through these steps in order:
Identify the culprit
If you updated one thing and the site broke, you already know. If you updated several things, you'll need to isolate. Enable WordPress debug mode by adding define('WP_DEBUG', true); and define('WP_DEBUG_LOG', true); to wp-config.php — this writes errors to /wp-content/debug.log and often names the exact plugin or file causing the problem.
Deactivate the offending plugin or switch themes
If you can still reach the admin dashboard, deactivate the updated plugin or switch to a default theme (Twenty Twenty-Four) to confirm it's the cause. If you're locked out of the dashboard entirely, connect via SFTP and rename the plugin's folder inside /wp-content/plugins/ — WordPress will auto-deactivate it on the next page load. See our guide on fixing a site that broke after an update for a full walkthrough.
Roll back the plugin version
The free WP Rollback plugin lets you revert any plugin or theme to a previous version from the WordPress.org repository. Install it, find the plugin, and select the last known-good version. This buys you time while you investigate the real fix (contacting the plugin author, waiting for a patch, or adjusting your configuration).
Restore from backup
If rolling back doesn't work or the database was affected, restore the full backup you took before updating. Most backup plugins have a one-click restore. For database-only restores, you can import the .sql file through phpMyAdmin. After restoring, the site should be exactly as it was before you started.
Automatic Updates: Should You Turn Them On?
WordPress enables automatic updates for minor security releases (e.g., 6.4.1 → 6.4.2) by default, and that's good — leave it on. For major core releases and for plugins, automatic updates are a double-edged sword. They keep you patched without you thinking about it, but they also mean a breaking update can deploy at 3 a.m. while you're asleep.
A reasonable middle ground: enable auto-updates for security-focused plugins (like a firewall or security scanner) and for any plugin where you've confirmed the developer has a strong backwards-compatibility record. Turn off auto-updates for page builders, e-commerce plugins, or any plugin that has previously broken your site on a major version jump. Review and manually update those on a schedule — monthly is fine for most sites.
Preventing Problems Long-Term
- Never edit plugin or theme files directly. Use a child theme for theme customisations, and a code snippets plugin (like WPCode) for custom PHP. Updates then can't wipe your changes.
- Keep your PHP version current. Running PHP 8.1 or 8.2 (check compatibility with your plugins first) gives you access to modern features that plugin developers target, and drops the risk of version-mismatch breakage.
- Prune unused plugins. Every inactive plugin is still a potential attack surface and a potential conflict. Delete plugins you don't use.
- Run updates on a schedule. Ad-hoc updating — "I'll do it when I remember" — leads to a backlog of 15 stacked updates and no idea what changed. A monthly or bi-weekly update window, documented and followed, is much safer.
- Monitor your site after updates. Uptime monitoring (even a free service like UptimeRobot) will alert you within minutes if a page goes down post-update.
When to Call a Professional
If your site is down, you can't get into the dashboard, or you're staring at a white screen or database error after an update, the fastest path to resolution is usually a professional who can dig into server logs, the database, and file permissions simultaneously — rather than working through steps one by one while customers can't reach you.
If the site is generating revenue or bookings, every hour of downtime has a real cost. Mend's Emergency Rescue is built for exactly this: senior engineers triage broken WordPress sites fast — most the same day — on a backup-first workflow, with a plain-English report of exactly what went wrong. Flat price, fixed-or-your-money-back guarantee.
If you just want someone to handle updates reliably going forward — staging, testing, monitoring — the Mend Care Plan covers managed updates, backups, security, and uptime monitoring at $99/month. It's cheaper than recovering from a single bad update incident.
Updates are not something to fear or avoid — they're the most important maintenance task you have. Build a backup-first habit, use staging when the stakes are high, update methodically, and know your rollback path before you need it. That combination handles 95% of everything that can go wrong.
Frequently asked questions
Is it safe to update WordPress while visitors are on the site?
WordPress puts itself into maintenance mode automatically during updates, showing visitors a brief "briefly unavailable" message. For most updates this lasts only a few seconds and is not a problem. For major updates on busy sites, schedule them during low-traffic hours to minimise any impact.
What's the safest order to run WordPress updates?
Update WordPress core first, then themes, then plugins. This order matters because core updates can change APIs that plugins and themes depend on — updating core first means plugin and theme developers have already had the chance to test against the new version before you install their updates.
Can I roll back a WordPress core update if it breaks something?
Not through the dashboard — WordPress doesn't have a built-in core rollback. Your best option is restoring from the backup you took before updating. Alternatively, you can manually replace the core files with the previous version downloaded from wordpress.org/download/releases, but you'll also need to check whether the database schema changed and restore that too.
How do I know if a plugin is safe to update right now?
Check the plugin's changelog for "breaking changes," look at its support forum on wordpress.org for posts in the last week from people reporting problems after the update, and verify the "tested up to" field matches your current WordPress version. If many users are reporting a specific breakage, wait a few days for a patch before updating.