WordPress 'critical error on this website' fix
Seeing 'There has been a critical error on this website'? Learn the causes, use recovery mode, and follow safe steps to fix it. Call (804) 375-4450.
At a glance
The message 'There has been a critical error on this website' means WordPress caught a fatal PHP error. Check the administration email for a recovery mode link, which lets you log in with the faulty plugin or theme paused, then deactivate it. If no email arrives, read the debug log and rename the named plugin folder. Your content is not lost.
Updated November 29, 2026 · For site owners seeing the critical error message
- For owners whose site shows the critical error message
- First step open the recovery mode email sent to the administration address
- No email log errors to debug.log and rename the plugin or theme folder it names
- Content not lost, it is stored in the database
- Help emergency support responds in 15 minutes with service credits
- Pricing rescue is pay-only-if-fixed; the quote comes before work starts
On this page
The message "There has been a critical error on this website" means WordPress caught a fatal PHP error. Check the administration email for a recovery mode link, which lets you log in with the faulty plugin or theme paused, then deactivate it. Your content is not lost.
What does this error mean?
Since WordPress 5.2, a fatal error shows this message instead of a blank screen, and WordPress tries to email the administration address a special link. That link opens recovery mode, where the plugin or theme that crashed is paused only for you, so you can reach the dashboard and fix it.
What are the common causes?
| Cause | Typical trigger |
|---|---|
| Plugin update or new plugin | Conflict with another plugin or your PHP version |
| Theme update or bad edit | Changes to theme files, including functions.php |
| PHP version too new or too old | Host change or an old plugin |
| Failed core or plugin update | Files left half-written |
| Memory exhaustion | Import, backup or heavy page |
| Injected malicious code | Occasionally, in a plugin or theme file |
What are the safe steps?
Back up the files and database first. All steps are reversible.
- Open the recovery email
Search the administration inbox for a message from your own site about a technical issue. Click the link, log in, and read which plugin or theme it names. Deactivate it rather than deleting it.
- No email? Read the log
Turn on logging (below), reload the page, then open
wp-content/debug.logand find the latest "Fatal error" line. It gives a path insidepluginsorthemes. - Disable the named plugin
Over SFTP, rename its folder, for example to
plugin-name-off. - If no plugin is named,
rename the whole
pluginsfolder, test, then restore it and re-test plugins one at a time. - If the theme is named,
rename its folder so WordPress falls back to a default theme.
- Check the PHP version
in your hosting panel and try the one the site ran on before.
- Switch the debug lines off
once the site is back.
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );Add these above the "stop editing" comment in wp-config.php.
How do I read the log line?
The wording of the message is generic, but the log is not.
| Log line contains | Usually means |
|---|---|
Call to undefined function | A plugin expects another plugin or a newer WordPress |
Allowed memory size exhausted | A memory limit was hit |
syntax error | A recently edited file has a typo |
Keep the exact line, because it is what a developer needs. If the error appeared right after you clicked update, the thing you updated is the first suspect. If only one page shows it, look at a block, shortcode or template used only there.
A worked example
A site shows the critical error right after a theme update, and no recovery email arrives because its mail was already broken. The debug log names a file in the theme's inc folder and says a function is undefined: the theme calls a function that a companion plugin provided, and that plugin was deactivated last week. Reactivating the plugin fixes the page. Reinstalling WordPress would have changed nothing.
Is it the same as a white screen?
They share a cause but not the symptom. The critical error message appears when WordPress can catch the failure. A blank page appears when the failure happens before that handler runs, or when display is off. The white screen guide covers the blank-page variant.
How do I make the recovery email reliable?
Set the administration email under Settings, General to an inbox you read, and make sure the site can send mail; see WordPress not sending email. Keep a note of how to reach your host's file manager or SFTP, since that route works when the dashboard does not.
When should I stop and call someone?
Stop if the log names a core file, if the error is inside a premium plugin you rely on for payments or bookings, if no recovery email comes and you have no file access, or if you spot code you do not recognise. After the fix, read a plugin's changelog before updating again, or replace it if it is abandoned, and add a backup before the next round of updates using the maintenance checklist.
How do we fix it?
WordPress emergency support answers within 15 minutes with service credits, and rescue is pay-only-if-fixed. We find the failing file, restore a working state, and tell you what to change so it does not return. If injected code caused it, we handle it under malware removal.
A person reads it, at any hour.
Where is the recovery mode email?
WordPress sends it to the site's administration email address. Check spam, and check whether that address is one you still read. If it does not arrive, use the file-based steps in this guide.
Link to this answerIs the critical error the same as the white screen?
It is the same underlying problem, a fatal PHP error. Newer WordPress versions show a message instead of a blank page and can send a recovery link.
Link to this answerWill deactivating a plugin lose its data?
Deactivating normally keeps the plugin's settings and data. Deleting a plugin can remove them, so deactivate first and delete only when you are sure.
Link to this answerShould I reinstall WordPress?
Not as a first step. The error is usually a plugin or theme, and reinstalling core does nothing for that.
Link to this answerWhat does 'Allowed memory size exhausted' in the log mean?
A page, import or plugin needed more memory than PHP allows. Raising the limit may help, but find what is using the memory too.
Link to this answerWhat does 'Call to undefined function' mean?
Usually a plugin or theme expects another plugin, or a newer WordPress or PHP version, that is not present. Reactivating the missing plugin or matching versions often fixes it.
Link to this answerWhy did it appear only on one page?
The cause is likely a block, shortcode or template used only on that page. The log line will name the file involved.
Link to this answerCan a PHP version change cause it?
Yes. Code written for another PHP version can fail on a newer or older one. Check the version in your hosting panel and try the one the site ran on before the problem.
Link to this answerHow do I make the recovery email reliable?
Set the administration email under Settings, General to an inbox you read, and make sure the site can send mail. Keep a note of how to reach your host's file manager or SFTP.
Link to this answerCould the cause be malware?
Occasionally. If the log shows code you do not recognise inside a plugin or theme, stop and treat it as a possible compromise; malware removal handles that.
Link to this answerWhat should I note down before asking for help?
When it began and what you did just before, the exact Fatal error line from debug.log with its file path, your PHP and WordPress versions, and whether wp-admin and the front end work.
Link to this answerWant an engineer on it?
Tell us what is wrong in plain words. A person reads it, today.