Skip to content
Cart () items in cart

Fixing a critical error in WordPress

How to fix 'There has been a critical error on this website' in WordPress, with or without the email from WordPress.

When your WordPress website shows ‘There has been a critical error on this website.’, a plugin or the theme has usually caused an error that stops the page from loading. Your pages, posts and images are not lost, and the message by itself does not mean that your website has been hacked. The error usually appears directly after a change, such as an update or a newly installed plugin, and disappears once the plugin that caused the error is deactivated.

What should you do first when WordPress shows a critical error?

Write down what changed just before the error appeared, for example an update or a new plugin, and the URL of the page on your website that shows the error. Then try to log in to WordPress the way you normally do. On some websites, the WordPress dashboard still opens while the pages for visitors show the error.

If you can log in with an administrator account, click ‘Plugins’ in the menu on the left and click ‘Deactivate’ under the name of the plugin that was updated or installed last. If you cannot log in, use the email from WordPress.

How do you fix a critical error with the email from WordPress?

When the error occurs, WordPress sends an email to the administration email address of your website. The email names the plugin or theme that caused the error and contains a link to recovery mode, which lets an administrator log in despite the error. WordPress sends this email at most once a day.

  1. Open the email from WordPress and click the link to recovery mode.
  2. Log in with the username and password of an administrator account. The login screen shows ‘Recovery Mode Initialized. Please log in to continue.’
  3. Click ‘Plugins’ in the menu on the left. WordPress marks the plugin that caused the error.
  4. Click ‘Deactivate’ under the name of that plugin.
  5. Click ‘Exit Recovery Mode’ in the toolbar at the top of the screen.
  6. Visit your website and check that the page loads again.

If the email names your theme instead of a plugin, do not switch to another theme yourself, as your website may depend on that theme. Contact the developer of your website instead.

What if the WordPress critical error email does not arrive?

WordPress sends the email to one email address only, which is the email address under ‘Administration Email Address’ in ‘Settings’ > ‘General’. On many websites, this is the email address of the person who built the website, so ask that person to check their inbox and spam folder. The email is also not sent when the plugin that caused the error is the plugin that sends the emails of your website.

Without the email, the plugin has to be deactivated on the server, by renaming the folder of that plugin. This is a task for your hosting provider or the developer of your website.

What should you tell your hosting provider or developer about a critical error?

Send the URL of the page that shows the error, the time at which you first saw the error and what changed just before. Forward the email from WordPress if you received one. With this information, your hosting provider or developer does not have to search for the cause first.

What happens after the plugin is deactivated?

Your website works again, but without the function that the plugin provided. Check whether a newer update for the plugin is available, and ask the developer of the plugin if there is none. Do not activate the plugin again before the plugin has been updated, as the same error will otherwise return. If your website cannot do without the plugin, ask your hosting provider to restore the backup from before the change.

Read Updating WordPress and plugins safely.

If your website is hosted with us and shows a critical error, send an email to hello@fourteenrockets.com.

WordPress tips & special offers

WordPress tips for LGBTQ+ organisations and businesses, plus the occasional offer. You can unsubscribe at any time.

Thanks for signing up, we appreciate that.

GATE (Global Action for Trans Equality) works to advance justice and equality for trans and gender diverse communities around the world. We designed and host their website.

GATE logo
Secret Link