Website Without PHP
English (United States)US
  • English (United States)
  • Dutch (Netherlands)
Menu

Last updated:

WordPress: There Has Been a Critical Error on This Website

Your WordPress site shows a message that there has been a critical error, so visitors cannot see your pages and you may not be able to log in.

Which PHP version does your site report?

We read only what your site already sends in public: the headers and the top of the homepage. No scan, no login.

Get help with your website

More about this

For a business site that means lost enquiries and trust until it is fixed.

WordPress usually emails you a recovery link that gets you back in, and the steps below start there.

Error

The WordPress message "There has been a critical error on this website" means that PHP hit a fatal error while loading a page, and WordPress stopped instead of showing a broken site. It is a critical error in WordPress terms, and it is most often caused by a plugin, a theme or a PHP version that does not match the code.

What the message means

Since version 5.2, WordPress catches fatal PHP errors and replaces the white screen with this short notice. The message itself does not name the cause. The real details sit in the error log, and WordPress usually sends an email to the site administrator address with a link to recovery mode.

Common causes

The cause is often a plugin or theme update that is not compatible with your PHP version. It can also be a plugin that was updated halfway, a file that did not upload completely, or a custom code snippet with a mistake. Running out of PHP memory is another frequent trigger.

Sometimes the cause is a change on the server, such as a PHP version switch by the hosting provider.

How to check it safely

Start with a full backup of the files and the database. Then look for the email WordPress sent to the administrator address, including the spam folder. It names the plugin or theme that failed and contains the recovery mode link.

If you cannot find it, open the error log in your hosting panel. You can also set WP_DEBUG and WP_DEBUG_LOG to true and WP_DEBUG_DISPLAY to false in wp-config.php, so errors are written to a log file and not shown to visitors. Switch them off again when you are done.

By default this log is wp-content/debug.log, which is often reachable from the web; delete it afterwards. Do not switch on visible error display on a live site, because messages can reveal file paths to visitors. Also check which PHP version the site runs now.

What you can try yourself

Try these steps in order, and stop as soon as the site loads again.

First, open the recovery mode link from the email, log in and pause the plugin or theme it names. Second, if there is no email, connect over SFTP or the hosting file manager and rename the folder of the suspected plugin inside the plugins directory. WordPress then deactivates it.

Third, if no plugin is to blame, rename the active theme folder so WordPress falls back to a default theme. Fourth, read the log again, because a fresh entry shows whether the error changed. Never share passwords with anyone who asks for them in a chat or an email.

When the PHP version is the cause

If the error started right after a PHP update, or after your host moved the site to a newer PHP version, an old plugin or theme may use code that the new version no longer accepts. Rolling the PHP version back briefly can confirm this. Only switch back to a PHP version that still receives security fixes, keep it as short as possible, and check with your host that it includes the latest security release.

Then update or replace the old component, rather than staying on an old PHP version. The page on supported PHP versions on this site explains which versions the PHP project still maintains.

When to get help

If the log points to custom code, if you do not have file access, or if the site earns money while it is down, ask for help. A human at Website Without PHP replies within 1 business day. A rush repair starts from $425, excluding VAT.

Frequently asked questions

Why did I not receive the recovery mode email?

WordPress sends it to the administrator email address in the settings. It may be in your spam folder, the address may be outdated, or the server may not send mail at all. In that case you deactivate the plugin through the file manager or SFTP instead.

Is my content gone after a critical error?

Usually not. The message means a page stopped loading, not that content was deleted. Your posts, pages and orders normally sit safely in the database.

Still make a backup before you change anything.

Do visitors see the site while I use recovery mode?

No. Recovery mode only applies to you as the administrator. Visitors keep seeing the message until you have paused or removed the plugin or theme that causes the error.

How do I prevent this after updates?

Test updates on a staging copy first, update one plugin at a time, keep a recent backup and check that your plugins and theme support the PHP version your host runs.

Sources

Accessed on November 17, 2026.

  1. Domain
  2. Check
  3. Result
  4. Report

Which PHP version does your site run?

Enter your domain. We read only what your site already sends in public: the headers and the top of the homepage. No scan, no login.

We keep the domain and the result, never your IP address.