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

Fix the WordPress "critical error on this website" message: use recovery mode, deactivate the faulty plugin, read the debug log and prevent it.

Card: how to fix the WordPress critical error message

Table of Contents

“There has been a critical error on this website” means PHP hit a fatal error, usually from a plugin or theme update, an incompatible PHP version or exhausted memory. Check the admin email for WordPress’s recovery mode link, which lets you log in and deactivate the faulty plugin. If there is no email, rename the plugin’s folder via your host’s file manager, or enable WP_DEBUG_LOG to see which file caused the error. Restore a backup if you cannot find the cause quickly.

Key takeaways
  • Check the site admin inbox for the recovery mode email first.
  • The last thing updated or installed is the most likely cause.
  • Renaming a plugin folder deactivates it safely.
  • debug.log names the exact file and line.
  • A recent backup is the fastest fix for a business-critical site.

What causes the WordPress critical error?

CauseTypical trigger
Plugin conflict or bugA plugin was just updated or installed
Theme errorTheme update or a code snippet in functions.php
PHP version changeHost upgraded PHP and old code is not compatible
Memory limitLarge page, import or WooCommerce task
Corrupted filesFailed update or interrupted upload
MalwareInjected code breaking a file

How do you fix it step by step?

  1. Look for the recovery email. WordPress emails the admin address with a special login link and often names the plugin or theme at fault. Use the link, deactivate it, then update or replace it.
  2. No email? Use the file manager or SFTP. Go to wp-content/plugins and rename the folder of the most recently updated plugin (for example add -off). Reload the site.
  3. Still broken? Rename the whole plugins folder to deactivate all plugins, check the site, then rename it back and reactivate plugins one by one.
  4. Test the theme by renaming the active theme folder so WordPress falls back to a default theme.
  5. Read the error. Add WP_DEBUG and WP_DEBUG_LOG set to true in wp-config.php, reload, and open wp-content/debug.log. The last fatal error names the file.
  6. Check PHP version and memory in your hosting panel; roll back PHP or raise memory if the log points there.
  7. Restore a backup from before the problem if nothing else works quickly.
WordPress fix serviceSite still broken? Send it to me.

Share the error or a screenshot and get a free diagnosis. Most WordPress errors are fixed the same day, with a backup taken first.

Get my site fixed

What does a real case look like?

Picture an online shop on a Saturday morning. The host upgraded PHP overnight and the site now shows the critical error. The debug log points to an old payment plugin that uses a function removed in the newer PHP. Temporarily switching PHP back in the hosting panel brings the shop back in two minutes; updating the plugin on Monday fixes it properly. Knowing where to look turns a lost weekend of sales into a short interruption.

How do you prevent critical errors?

  • Update plugins one at a time and check the site after each.
  • Test major updates on a staging copy first.
  • Keep daily automatic backups stored off the server.
  • Remove plugins you no longer use.
  • Avoid nulled (pirated) themes and plugins.
  • Use uptime monitoring so you know before customers do.

For other errors, see common WordPress errors and fixes and the white screen of death.

Site down right now?

Send me the URL and the time it broke. I take a backup of the broken state, find the cause, fix it and tell you what happened in plain language. Most critical errors are fixed the same day. Get my site fixed.

Frequently asked questions

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

It means PHP encountered a fatal error, usually caused by a plugin, theme, PHP version change, memory limit or corrupted file.

How do I fix a critical error without admin access?

Use the recovery mode email link, or rename the faulty plugin folder in wp-content/plugins via your host file manager or SFTP.

Where do I find the WordPress error log?

Enable WP_DEBUG and WP_DEBUG_LOG in wp-config.php; errors are written to wp-content/debug.log.

Can a PHP update cause a critical error?

Yes. Older plugins or themes may use code that newer PHP versions no longer support.

Sources

WordPress fix serviceSite still broken? Send it to me.

Share the error or a screenshot and get a free diagnosis. Most WordPress errors are fixed the same day, with a backup taken first.

Get my site fixed
Written by Tanvir H

WordPress and Elementor web designer at Tanvir WebXprt, Bangladesh, with 7+ years of experience and 650+ projects for clients worldwide. Tanvir builds, fixes and speeds up WordPress sites every week and writes these guides from that hands-on work.

Keep learning

More WordPress guides

Done for you

Rather have an expert run your WordPress site?

Tanvir H is a Bangladesh-based WordPress and Elementor web designer with 7+ years of experience, 650+ projects and a 4.9 client rating. New websites, redesigns, fixes, speed, security and SEO, handled by one expert who explains everything in plain English and works with clients worldwide.

Website developmentWordPress, Elementor & WooCommerce sitesfrom $899
Fixes & speedErrors, hacks, Core Web Vitals, upgradesFree quote
SEO & paid adsRank on Google, run Meta & Google Adsfrom $300
Creative designWeb, graphic & brand identityfrom $220

Contents

Was this helpful? Spread the word and share with your network!
Facebook
Pinterest
LinkedIn
Reddit
VK
X
Telegram
Threads
Tumblr
Email
WhatsApp
Pocket

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Article