Launch in 1 to 2 Weeks

Free Support for 1 Month

Custom & Modern Designs

Enterprise-Grade Security

100% SEO-Optimised

Built to Convert Leads

Home › WordPress Fixes › WordPress Critical Error

4.8/5 Rated on Google

There Has Been a Critical Error on This Website: WordPress Fix

The message "there has been a critical error on this website" means WordPress hit a fatal PHP error and stopped loading the page. The cause is almost always a plugin, theme or PHP version problem, and WordPress usually emails the admin address with a recovery link naming the culprit.

Featured & Listed In :

What the critical error message means

Before WordPress 5.2 a fatal error simply gave a blank screen. Now WordPress catches many of them, shows the line "There has been a critical error on this website", and sends an email to the site admin address titled something like "Your Site is Experiencing a Technical Issue". That email is the most useful clue you will get, so search the inbox and spam folder for it before anything else.

The error itself is a PHP fatal error. Typical triggers are a plugin update that is not compatible with your PHP version, a theme file edited with a typo, a plugin that was deleted halfway through, or the server running out of memory. If the page is blank rather than showing the message, our white screen of death guide applies instead. The fixes hub lists the neighbouring faults.

Divine Care Services scaled
modern browser mockup scaled

Reading the clues

Work out the scope of the problem first, because it changes the fix:

  • Does the front end fail but the admin still loads? That points to the theme or a front end plugin
  • Does everything fail including /wp-admin/? Then a plugin loaded everywhere, a must use plugin or PHP itself is at fault
  • Did it begin straight after an update, a PHP version change or a new plugin? That is your first suspect
  • Did the recovery email arrive? It names the file and line, for example a path ending in /plugins/example-plugin/
  • Does the error appear only on one page, such as checkout? Then a shortcode, widget or integration on that page is the cause
  • Is the host showing a PHP error log in its control panel? Look for lines marked Fatal error

Want to talk it through?

Book a free 15 minute website audit, or call or message us on WhatsApp. Fixed quotes, no obligation.

Safe steps to try yourself

Take a full backup of files and database first, from your host if WordPress will not load. Nothing below deletes content, but you want a way back.

  • Use the recovery mode link in the email. It lets you log in with the broken plugin or theme paused, so you can deactivate it from the dashboard.
  • No email? Use your host file manager or SFTP and rename the folder of the suspect plugin inside wp-content/plugins, for example adding the word old to the end. This deactivates it without deleting its settings. Rename it back later if it was not the cause.
  • If you cannot tell which plugin, rename the whole plugins folder to plugins-off, load the site, then rename it back and reactivate plugins one by one.
  • If the theme is at fault, rename the active theme folder. WordPress will fall back to a default theme if one is installed. Expect the design to change while you do this.
  • Switch on debug logging by setting WP_DEBUG and WP_DEBUG_LOG to true in wp-config.php, reproduce the error, and read wp-content/debug.log. Set WP_DEBUG_DISPLAY to false, and switch it all off again afterwards.

Do not edit core WordPress files, and do not delete the database to start again.

notebook mockup on desk scaled
Pearl Consultancy scaled

Common causes and what usually fixes them

A compatibility problem after moving to a newer PHP version is the most common cause we see. The fix is to update the plugin, replace it, or roll PHP back one version temporarily while you sort it out. Our PHP upgrade guide explains how to do that without a crisis.

An interrupted update leaves a plugin half written. Reinstalling it from a fresh download over the top, or deleting that folder and installing again, usually cures it. Check the plugin does not hold data you will lose, and keep your backup.

A theme functions.php edit with a missing bracket or semicolon causes an instant fatal error. Restore the file from backup or the original theme package. Memory exhaustion errors show in the log as "Allowed memory size exhausted", and raising the PHP memory limit with your host can help, though a runaway plugin may be the real problem.

When to stop and call an expert

Stop if the error is on a live shop or booking site losing money, if the debug log points inside WordPress core, if renaming plugins does not help, or if you see database connection errors instead. Also stop if you are unsure what you are editing in wp-config.php, since a mistake there takes the whole site down. A broken plugin conflict can look identical and needs methodical testing on a copy of the site.

Lifti App scaled
rehovotservices scaled

How we resolve it

We begin with a free 15 minute audit, then give a fixed quote after a quick look. We take a full backup, read the server error logs, identify the exact file at fault, and restore a working site on a staging copy before touching the live one. Then we fix the root cause, whether that is replacing an abandoned plugin, correcting code or adjusting PHP, and test the pages that matter.

To avoid repeat incidents, our WordPress support and maintenance plans start from £99 a month with no lock in contract, with updates tested before they go live. Or just hire a WordPress expert for this one job.

Preventing the next one

Test updates on a staging copy, keep daily off site backups, delete abandoned plugins, and update PHP deliberately rather than by surprise. Make sure the admin email in Settings is one that someone reads, or the recovery link goes nowhere. If the site keeps breaking because it is built on tired code, our cost calculator shows what a rebuild costs, with sites from £499. When you want a person to look, book the free 15 minute audit or contact us and we will respond quickly.

Related: White screen of death · Plugin conflict · Broken after an update · PHP upgrade · WordPress Fixes · Hire a WordPress expert · WordPress maintenance London · WordPress support and maintenance

provirtualassist 1 scaled

Ready for a quote you can trust?

Book a free 15 minute website audit, or call or message us on WhatsApp. Fixed quotes, no obligation.

Answers to Your Common Questions

Is my content lost when I see the critical error message?

Almost never. The error stops PHP from running, but your posts, pages and settings stay in the database. Take a backup, find the plugin or theme at fault and fix that, and your site returns as it was.

I did not get the recovery email. What now?

Check spam and the admin email in Settings, General. If nobody receives it, rename the suspect plugin folder through your host file manager, or turn on debug logging to read the exact file at fault. Your host support team can also send you the PHP error log.

Can a PHP update cause this error?

Yes, it is a leading cause. Older plugins and themes may use code that newer PHP no longer allows. Switch PHP back one version in your hosting panel to restore the site, then update or replace the incompatible code before upgrading again.

Is it safe to turn on WP_DEBUG?

Yes if you send errors to the log and keep display off, so visitors never see them. Turn it off after you finish, because logs can grow large and may contain paths you would rather not expose.

Could this be a hack?

Occasionally, if the error mentions unfamiliar file names or appeared with other odd behaviour such as redirects. In that case treat it as a possible compromise and see our hacked site guide before restoring anything.

How quickly can you fix it?

Many critical errors are resolved within hours once we have access. We give a fixed quote after a quick look so you know the cost first. The 15 minute audit is free, and urgent live site problems are looked at as a priority.

Get your free 15 minute website audit

Tell us about your project and we will reply within one working day with honest advice and a fixed quote. Prefer to talk? Call +44 7868 697974.