Quick Answers
How do I fix a WordPress critical error after a plugin update? Open the recovery link WordPress sent to the site administrator, log in, and check which plugin failed. If the notice identifies the plugin you updated, deactivate it. Then exit Recovery Mode and test the page that originally failed.
What if I didn’t receive a recovery email? Check the site administrator’s inbox and spam folder. If there’s no email, use your host’s PHP error log to identify the suspected plugin. You can temporarily disable it by renaming its folder through File Manager or SFTP.
Does Recovery Mode fix the website for visitors? No. WordPress pauses the faulty component for your recovery session. Being able to open the dashboard tells you that you can investigate; it does not tell you that checkout, forms, or other public pages work again.
Should I restore a backup immediately? Usually, try isolating the plugin first. Restoring an older database can remove orders, bookings, or form entries received since that backup. Keep the backup available while you investigate.
Start with the page that actually failed
Suppose you update a shipping extension on a WooCommerce store. A few minutes later, /wp-admin/ displays “There has been a critical error on this website.” The homepage still opens, but a customer says checkout won’t load.
You now have two useful clues: what changed and which requests fail. Start there. A homepage that loads, especially a cached one, doesn’t tell you whether WordPress can calculate shipping or open the dashboard. Equally, the timing of an update makes the extension a suspect, not a confirmed cause.
Before changing anything else:
- Note the update time, the plugin name, and the URLs that fail. Include your time zone so you can match the failure to the hosting log.
- From your hosting dashboard, take a fresh snapshot of the files and database if possible. Keep the pre-update backup as well. The fresh snapshot preserves current orders; the older one gives you a point of comparison.
- If checkout is affected, pause new purchases through a host-level maintenance control or ask your host to help. Disabling a shipping extension may clear the error while leaving customers without the correct delivery options.
Now choose the recovery path that matches the access you have.
If you received the WordPress recovery email
Look in the mailbox configured as the site administration email. This may be a shared operations address rather than the address you personally use to sign in. The message may identify the failing plugin, its version, and the error that occurred.
- Open the recovery link in the email. Check that the destination is your own site, then sign in with your administrator account.
- Read the dashboard notice and open Plugins → Installed Plugins. Look for the plugin WordPress paused.
- Save the error details. In our store example, if the notice points to the shipping extension you just updated, choose Deactivate for that extension.
- Select Exit Recovery Mode. Open /wp-admin/ normally, then test checkout in a separate browser session.
Paused and deactivated mean different things. Paused means WordPress skipped the plugin in your recovery session so you could sign in. Deactivating it changes the site for everyone. If the paused plugin handles payments, shipping, or access control, expect that feature to need attention even after the fatal error disappears.
If there’s no recovery email and wp-admin won’t open
You don’t need dashboard access to disable a standard WordPress plugin. You need access to the site’s files through your hosting File Manager or an SFTP account. If you have neither, ask your host to perform the steps below.
1. Identify the plugin from the PHP error log
Open the hosting panel’s PHP error log and look near the time of the failed request. If the log is busy, request the broken page once, note the time, and look for the corresponding fatal error. An unrelated warning from yesterday is a poor reason to disable a plugin today.
Here’s an illustrative log entry. The extension and class names are fictional:
PHP Fatal error: Uncaught Error: Class
"ExampleShipping\RateCalculator" not found
in /…/wp-content/plugins/example-shipping/src/CheckoutRates.php:42
The useful detail is wp-content/plugins/example-shipping/. It gives you one folder to investigate. The message shows where execution failed. It doesn’t prove whether the extension itself is faulty, a dependency is missing, or the update left files incomplete.
If you cannot find the log, send your host a specific request: “Please check the PHP fatal error for /checkout/at [time and time zone]. Which plugin or theme path appears in the error?” That’s more useful than guessing from a list of active plugins.
2. Rename only the suspected plugin’s folder
In File Manager or SFTP, open the affected WordPress installation. You should see wp-admin, wp-content, and wp-includes alongside one another. Then open wp-content/plugins/.
For the example above, make this change:
| Original folder | Temporary name |
| wp-content/plugins/example-shipping/ | wp-content/plugins/example-shipping.disabled/ |
Record the original name. Rename the folder; don’t delete it or rename the entire plugins directory. With the original path unavailable, WordPress can no longer load that plugin from its registered location. Other plugins remain available.
Try /wp-admin/ again and request the exact public URL that failed. Leave the folder renamed while you investigate. Restoring its name before you’ve checked the activation state and fixed the underlying issue can bring the error back.
3. Let the result guide your next move
| What you see | What to do next |
| The dashboard and checkout both load | You’ve narrowed the failure to something that happens when the extension loads. Check shipping rates before reopening checkout. |
| The dashboard opens, but checkout still fails | Trigger checkout once and read the new fatal error. A second extension may depend on the one you disabled. |
| Nothing changes | Confirm you edited the right installation. Check the latest log for a different plugin, a theme file, or custom code. |
| The log points to mu-plugins or a host-managed component | Stop using the standard plugin-folder procedure. Give the error and path to the host or developer responsible for that component. |
If the log points somewhere else after your first change, that’s useful evidence. Save the new error before making another change.
Verify the business function, not just the homepage
In the shipping example, the easiest mistake is to reopen the store as soon as checkout renders. A customer might now reach the payment screen without being offered the right shipping rate. The PHP error is gone, but the store still isn’t ready to take orders.
Use a short acceptance test:
| Check | What counts as a pass |
| Administrator access | A fresh sign-in works outside Recovery Mode, and the previously broken admin page opens. |
| Public access | A signed-out visitor can open the exact page that failed. |
| Shipping calculation | A test address in a supported region produces the expected delivery options and prices. An unsupported address is handled correctly. |
| Order flow | On staging, a test-mode purchase creates the expected order with the correct shipping charge. Live payments and customer notifications stay disabled on the staging copy. |
| Error log | Repeating the original action no longer produces the fatal error you were investigating. |
For a lead-generation site, the equivalent test is a form submission: confirm that the form accepts the entry and that the intended recipient receives it. Pick the action the plugin was responsible for and follow it to its outcome.
Decide whether to reinstall, roll back, or wait for a fix
Once the site is stable, reproduce the issue on a staging copy that matches production’s WordPress, PHP, theme, and plugin versions. In the shipping example, use the same cart and delivery address. Change one thing per test so you can tell what fixed it.
- If the update appears incomplete: Test a clean copy of the same version from WordPress.org or the original vendor. If that resolves the fatal error on staging, verify shipping before deploying the replacement.
- If the new release conflicts with another extension: Give the vendor both version numbers, the error message, and the action that triggers it. “Checkout fails when it calculates shipping” gives support a better starting point than “the site crashed.”
- If you need the previous version: Check the vendor’s rollback guidance first. A plugin may have changed its database structure, and an older release may contain a security issue. Test the rollback on staging before applying it to production.
Rolling back plugin files and restoring the whole database are different operations. Suppose your last backup was at 9:00 a.m. and customers placed orders until 10:00 a.m. Restoring the 9:00 a.m. database can remove that hour of orders from WordPress without reversing payments already collected. If a database restore is necessary, pause incoming transactions and agree with your host on how recent orders and payments will be preserved and reconciled.
Frequently asked questions
Why does the homepage work when wp-admin or checkout shows a critical error?
Different requests can run different plugin code. A shipping extension might fail only when checkout asks for a rate. A cached homepage may also be served without running the PHP code that failed. Always retest the original URL and action.
Does renaming a plugin folder delete its settings?
Renaming the folder does not run the plugin’s uninstall routine or directly delete its database settings. It does stop WordPress from loading the plugin at its expected path. Its features may be unavailable until a working version is active again.
What should I send the plugin developer?
Send the plugin, WordPress, and PHP versions; the update time and time zone; the action that fails; and the relevant fatal error with its file and line number. Say whether disabling the plugin restored access. Remove credentials, recovery links, customer information, and private server details before sharing a log publicly.
How can I make the next update easier to recover from?
Before updating an important plugin, confirm three things: someone can access the site administrator’s inbox, someone can reach the hosting files without WordPress, and there is a recent backup you know how to restore. Then write down one functional test for that plugin. For a shipping extension, that could be: add a product, enter a delivery address, and verify the rate. Run it on staging before you update production.
If your team needs help testing updates or diagnosing a recurring plugin conflict, UGS Technology’s website maintenance service is a place to start. Bring the failed URL, the plugin version, and the error timestamp so the investigation starts with evidence.
References
- WordPress: Recovery Mode covers session-specific plugin pausing, recovery emails, and disabling a plugin when the dashboard is unavailable. WordPress.org
- WordPress Developer Resources: Debugging in WordPress explains error logging and how to keep diagnostic messages off public pages. Developer.WordPress.org
- WooCommerce: How to Update WooCommerce covers file and database backups, staging, and checks to run after store updates.