How to Fix a WordPress Critical Error After a Plugin Update
A plugin update can leave you locked out of WordPress. Trace the last change, try a targeted recovery, and test the repair on a staging copy before it goes live.
On this page 6 sections
Your WordPress site showed “There has been a critical error on this website” right after a plugin update. The dashboard won’t open, and you don’t know whether the update, a PHP change, or something else caused the crash. To fix a WordPress critical error, start with the timing and identify the smallest change you can safely test.
Fix a WordPress critical error by tracing the last change
A plugin or theme can crash after an update. A PHP upgrade can trigger the same kind of failure, so the time the error began is useful evidence. Before changing files, write down the plugin or theme you updated, when the update ran, and whether your host changed PHP around then.
- Open your hosting control panel or use the file access method your host provides. If you cannot get in, note that too; it changes what recovery steps are available.
- Find the site’s error log, if the host exposes one. Look for entries around the time the error began. Record any plugin or theme path named in a fatal error.
- Check whether you can open
/wp-adminand the public homepage. Note which one fails, and copy the exact message shown. “There has been a critical error” is useful, but a log entry can identify the component that stopped loading. - If you have a recent backup, note its date and what changed since then. Restoring may remove newer posts, customer details, or orders, so don’t restore before checking what the backup would replace.
- If you cannot access files or logs, send your host the error text and the time the site stopped working. Ask whether PHP changed or the server recorded a fatal error.
Don’t rename or delete the entire plugins folder as your first move. That can disable unrelated features and make the original cause harder to pin down.
Disable only the suspected plugin
If the log names a plugin and you can access the site files, disable that plugin alone. In the WordPress plugins directory, rename the named plugin’s folder. WordPress won’t load it under its old folder name. Reload the homepage and /wp-admin to see whether either comes back.
If you can still open the dashboard, use Plugins to deactivate the suspected plugin instead. Then check the feature it runs. A payment plugin calls for a checkout check; a form plugin calls for a test submission. Getting the homepage to load doesn’t prove the broken feature is repaired.
If the site returns after you disable the plugin, treat that as a clue, not a finished repair. The plugin may need an update, a compatible replacement, or a closer look at the PHP error. If the log points to a theme, record the active theme before switching to another one. A theme change can alter layouts and features, so check the affected pages after access returns.
Keep the live site out of the experiment
If your site takes orders or receives new submissions, a recovery attempt on the live site can add another problem. A rollback can restore access while leaving checkout broken or removing recent changes. Keep track of each change you make, and avoid trying several fixes at once; otherwise, it’s harder to tell which one helped.
The ITForces team copies your site to a private staging area and works on that copy, leaving the live site untouched during the repair. You can check the fix on the copy before it goes live, and a backup is taken before publishing. If the site is completely down, the team brings it back online first, then continues on staging.
That sequence gives you a review point. You can test the pages and action that failed before approving a live change, rather than treating a loaded homepage as proof that everything is back to normal.
Check the repair before it goes live
Use the staging copy to test the parts of the site that matter to your visitors. Keep the checks tied to the original failure:
- Load the homepage, the page that failed, and
/wp-admin. If the error appeared only on one page, visit that exact URL. - Open the settings for the plugin or theme involved. Confirm you can reach them without seeing the critical error again.
- Test the affected feature. For a shop, check product pages and walk through checkout without placing an unintended live order. For a contact page, submit a test message and confirm the form responds.
- Use the browser that showed the error. If the result looks cached, try another browser and compare what loads.
- Ask what changed and what caused the crash. A useful handover names the plugin, theme, PHP issue, or other cause, plus the change made to address it.
- Approve the live change only after the relevant pages and feature work on staging. ITForces takes a backup before publishing the fix.
This is especially useful if the site takes orders: a restored dashboard doesn’t tell you whether a visitor can still complete checkout.
Choose the next step based on what you can access
| Your access | A practical next move |
|---|---|
| Dashboard works | Deactivate the suspected plugin there, then test its feature and the rest of the site. |
| Dashboard fails, but file access works | Check the error log and disable only the plugin or theme it identifies. |
| Neither dashboard nor file access works | Give your host the exact error, when it started, and the update details. |
| Site is down and takes orders | Restore access first, then check the repair on staging before it goes live. |
If the log names one plugin and you have a backup you’ve checked, a targeted recovery may be enough. If the log is unclear, the site remains down, or checkout is affected, stop experimenting on the live site and get help with the error details. ITForces covers fixes like this in its monthly plans (see itforces.net/pricing), or quotes it first as a one-off job.
Send the details that make diagnosis useful
When you ask for help, include the exact error text, the plugin or theme you updated, when the crash began, and whether you can still access the dashboard, files, or hosting control panel. Add the relevant error log entry if you found one. Those details give the person investigating a starting point instead of a guess.
The team works with WordPress, and you can review the fix on a private staging copy before it goes live. Tell ITForces what broke to get started.