“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.
- 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?
| Cause | Typical trigger |
|---|---|
| Plugin conflict or bug | A plugin was just updated or installed |
| Theme error | Theme update or a code snippet in functions.php |
| PHP version change | Host upgraded PHP and old code is not compatible |
| Memory limit | Large page, import or WooCommerce task |
| Corrupted files | Failed update or interrupted upload |
| Malware | Injected code breaking a file |
How do you fix it step by step?
- 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.
- 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.
- Still broken? Rename the whole plugins folder to deactivate all plugins, check the site, then rename it back and reactivate plugins one by one.
- Test the theme by renaming the active theme folder so WordPress falls back to a default theme.
- 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.
- Check PHP version and memory in your hosting panel; roll back PHP or raise memory if the log points there.
- Restore a backup from before the problem if nothing else works quickly.
Share the error or a screenshot and get a free diagnosis. Most WordPress errors are fixed the same day, with a backup taken first.
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
Share the error or a screenshot and get a free diagnosis. Most WordPress errors are fixed the same day, with a backup taken first.
More WordPress guides
Guide, 3 min readWordPress Update Broke Your Site? How to Roll Back and Fix It
Guide, 3 min readWebsite Down? What to Check First and How to Get It Back Online
Guide, 3 min readWordPress Contact Form Not Working? How to Stop Losing Leads
Guide, 3 min readElementor Changes Not Showing on the Live Site? How to Fix ItRather 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.



