HomeBlog"There Has Been a Critical Error on This Website": How to Fix It
Performance & Tuning31 October 20266 min read

"There Has Been a Critical Error on This Website": How to Fix It

WordPress shows this message when PHP hits a fatal error. It also emails the admin a recovery-mode link. Here is how to use it, or fix things without it.

Short answer: a plugin, theme or PHP setting caused a fatal error. WordPress emails the site administrator a recovery-mode link with the name of the plugin or theme at fault. Open the link, log in, deactivate that plugin or theme, and the site comes back. No email? Turn on WP_DEBUG_LOG, reload once, and read wp-content/debug.log.

Step by step

  1. 1Check the admin email inbox (and spam) for "Your Site is Experiencing a Technical Issue".
  2. 2Click the recovery-mode link and log in; WordPress pauses the faulty plugin or theme for you.
  3. 3Go to Plugins (or Appearance → Themes), deactivate the named item, and exit recovery mode.
  4. 4Update the plugin, replace it, or roll back to the version that worked.

If the recovery email never arrives

The email relies on your site being able to send mail, which many servers cannot do reliably. Find the cause directly instead:

bash
# with WP-CLI, from the site folder
wp plugin list --status=active
wp plugin deactivate plugin-name
# or rename its folder
mv wp-content/plugins/plugin-name wp-content/plugins/plugin-name.off

What usually triggers it

TriggerWhat to do
A plugin or theme updateRoll back or wait for a fixed release
A PHP version changeSwitch back, then update the plugin that broke
Memory exhaustedRaise memory_limit to 256M; find what used it
Two plugins clashingDisable one at a time to find the pair

Test updates on a staging copy first and most critical errors never reach the live site. On GHP Cloud, staging is included from the Agency plan.

Frequently asked questions

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

PHP stopped with a fatal error while building the page, almost always in a plugin or theme.

Where is the WordPress recovery mode link?

In an email sent to the site’s admin address, titled "Your Site is Experiencing a Technical Issue". The link works for a limited time.

Will I lose content fixing a critical error?

No. Deactivating a plugin or switching theme does not delete posts or pages.

Why did the critical error start after a PHP upgrade?

An old plugin uses code the new PHP version removed. Update or replace it, or switch back while you do.

G

GHP Team

GHP Cloud

Manage WordPress sites the smart way

GHP Cloud gives you a managed server in India with a firewall, malware scanning and daily backups, billed in INR with a GST invoice — from ₹1,450/month.