GuidePlatforms & Tools
How to use WordPress Recovery Mode after a critical error
A controlled recovery workflow separates temporary access from a durable repair, protects diagnostic details, and confirms what visitors can actually use.

On this page
A WordPress critical error does not automatically require a full-site restore. If Recovery Mode starts, use its private login link to review the component WordPress identifies, deactivate or correct the smallest supported cause, and test the public site separately. If the email never arrives, move to file access or controlled logging rather than repeatedly reloading a broken page.
Confirm what failed before changing files
Record the affected URL, the time the error appeared, and the last change you made. Check one public page, the failing page, and /wp-admin/ in a private browser window. A failure limited to one route suggests a different scope from a site-wide error, but it does not prove the cause. Save the exact message and any filename shown before editing or restoring anything.
WordPress says Recovery Mode activates for a fatal PHP error during a regular page load, not for CRON or background tasks. It may identify a faulty plugin or theme, but it will not catch every failed scheduled job. If the incident followed an update, code edit, PHP change, or deployment, preserve that sequence as evidence instead of assuming the newest plugin is guilty.
Make a backup or use staging before changing configuration or code. The website maintenance routine is useful here: capture the current version, the visible failure, and a rollback point. A backup taken after the error is still valuable because it preserves the state you are investigating.
Use Recovery Mode without mistaking it for a repair
WordPress sends the recovery message to the site administrator email address. Open the special link, sign in normally, and read the dashboard notice that identifies the component associated with the fatal error. Treat the link as sensitive. It creates a recovery session and expires, so do not forward it through a public support thread.
In that session, WordPress pauses the faulty plugin or theme for the administrator only. Go to Plugins or Appearance > Themes, depending on the notice, and deactivate the identified component. If a recent edit in functions.php caused the failure, correct that code before resuming the theme. Deactivation can restore page generation, but it is a containment step, not a diagnosis of why the component failed.
The session-specific pause also means the dashboard view is not proof that visitors can use the site. Open a separate private window and test the public URL without your administrator cookies. Do not click Exit Recovery Mode until the suspect component is deactivated or corrected and the public check succeeds.
Recover access when the email does not arrive
Check spam, the administrator address in your records, and the host's mail logs if available. WordPress notes that a fatal error can occur before a plugin that changes outgoing mail has loaded. In that case, the recovery message may be sent directly by the web server and can be filtered or blocked. The site's SPF, DKIM, and DMARC setup guide can help with normal website mail, but DNS authentication cannot make a recovery message appear if the server never delivers it.
If you know which plugin failed, use FTP or the host's file manager to rename only that plugin's folder. If the cause is unknown and the dashboard is unavailable, the official WordPress troubleshooting FAQ documents renaming the entire wp-content/plugins directory to disable all plugins. This can also disable forms, commerce, caching, security, and other essential functions, so use it as a controlled diagnostic step.
After access returns, rename the directory back to plugins. WordPress documents that the plugins remain deactivated and must be reactivated individually. Test after each activation. If the error returns, stop with the last component disabled and record its exact version before contacting its developer or restoring a known compatible release.
Collect a useful log without displaying errors
When the notice is incomplete, use logging carefully. The current WordPress debugging guide says to verify that you have staging or a backup before modifying the site. It documents WP_DEBUG, WP_DEBUG_LOG, and WP_DEBUG_DISPLAY in wp-config.php, with the settings placed before the line that says editing should stop.
For a short investigation, logging can capture warnings and fatal errors in wp-content/debug.log while WP_DEBUG_DISPLAY is false. Do not expose detailed errors to visitors. WordPress says its debug tools are intended for local testing and staging, not routine use on a live site. A log inside a web-accessible directory can also contain paths or other sensitive details, so prefer host-level logs or a protected path when your environment supports them.
Read the first relevant fatal entry around the incident time. Capture the file path, line, component name, PHP version, and action that triggered it. Later warnings may be consequences rather than the initial cause. Share only the minimum needed excerpt with a developer, and remove credentials, tokens, customer data, and full server paths when they are not necessary.
Verify the fix and leave a recovery record
Test the page that failed, the homepage, /wp-admin/, and the action that preceded the error. Also test any function supplied by the disabled component. A site that renders while its checkout, form, cache, or scheduled task is missing is not fully recovered. Use an anonymous browser session so an administrator-only Recovery Mode pause cannot hide the public result.
Apply the durable fix in staging when possible. That may mean updating a component, rolling back to a compatible version, correcting custom code, or matching the supported PHP version. Then repeat the same checks before making the production change. Avoid reactivating the component merely because the critical-error screen disappeared.
Finally, turn off temporary debugging, protect or remove the diagnostic log, exit Recovery Mode, and confirm the administrator email address is current. Record the failed component and version, the trigger, the containment step, the permanent change, and the pages or transactions tested. The next critical error then starts with evidence and a rollback point instead of guesswork.


