Error on screen · Fix guide

“There has been a critical error on this website”: what it means and how to fix it

This message means a piece of code on your site has crashed badly enough that WordPress can’t carry on. It’s one of the most common WordPress errors, and it’s usually caused by a plugin, a theme or a PHP version mismatch. It’s almost always fixable.

Site down right now? Call us 0191 580 4040 Mon-Fri, 9am-5:30pm
Not urgent? Contact us

What this usually means

A PHP fatal error is stopping the page from loading. The usual causes are:

  • A plugin or theme update that isn’t compatible with your PHP or WordPress version
  • A new plugin that conflicts with another
  • An edit to a theme file, such as functions.php, with a typo
  • A server running out of memory, or a PHP version change at your host

Steps to fix it

  1. Take a backup first

    Even with the site down, your host’s backup tool or an SFTP copy of your files and database will do.

  2. Use the recovery mode link

    If you have the email, follow the link and log in. WordPress will pause the faulty plugin or theme so you can deactivate it.

  3. Find the cause in the log

    Turn on debug logging (see our debug guide) and read the first fatal error. The file path names the plugin or theme.

  4. If you can’t get in, deactivate by hand

    Rename the plugin or theme folder over SFTP (see our guide), then reactivate things one at a time.

When to get help

If you can’t find the email, the log doesn’t make sense, or the site earns money while it’s down, send us the details. This is a quick fix for a developer.

Send us the details

Frequently asked questions

Is my content lost?

Almost certainly not. Your content is in the database, and this error stops the code showing it.

Why didn’t I get the recovery email?

It goes to the admin email in Settings > General, which may be an old address. Check spam too, or use the manual route.

Can a PHP version change cause this?

Yes. A plugin that doesn’t support a newer or older PHP version can crash on load.

Call us Get in touch