The "There Has Been a Critical Error" message indicates that a PHP script has encountered a fatal error, preventing the WordPress site from loading. This article helps a Site Administrator identify the cause of the error and restore site access.
Before you begin
You will need:
Administrator access to the WordPress dashboard (if available) or access to the site's files and database via a hosting control panel.
Access to the site's email account associated with the WordPress admin.
Identify the source of the error
When a critical error occurs, WordPress often attempts to email the site administrator with specific details about the failure.
Check the email account associated with your WordPress administrator account.
Look for an email with the subject "Your Site is Experiencing Critical Technical Issues."
Open the email to identify the specific plugin or theme causing the conflict.
Note the file path and the line number where the error occurred.
Access the site via the "Recovery Mode" link
If the email was received, it will contain a link to enter the site in Recovery Mode.
Click the link provided in the "Critical Technical Issues" email.
Log in to the WordPress dashboard using your administrator credentials.
Identify the plugin or theme listed as the cause of the error.
Deactivate the problematic plugin or theme.
Refresh your website to confirm it is accessible.
Manually disable a plugin or theme via File Manager
If you did not receive an email or cannot access the site via the recovery link, you must manually disable the problematic component.
Log in to your hosting control panel (e.g., cPanel or Windows Control Panel).
Open the File Manager.
Navigate to the directory where WordPress is installed.
Go to the
wp-contentfolder.Open the
pluginsfolder.Locate the folder for the plugin identified as the cause of the error.
Rename the folder (e.g., change
plugin-nametoplugin-name_old).Refresh your website.
Manually disable a theme via File Manager
If a theme is causing the error and you cannot access the dashboard:
Log in to your hosting control panel and open the File Manager.
Navigate to
wp-content/themes.Locate the folder for the active theme.
Rename the folder (e.g., change
theme-nametotheme-name_old).Refresh your website. WordPress will automatically fall back to a default theme.
Confirm the result
The "There Has Been a Critical Error" message is replaced by your website's homepage.
You can successfully log in to the WordPress dashboard.
If the error persists after deactivating the plugin or theme
If the site remains inaccessible after deactivating the suspected plugin or theme, the issue may be related to a different plugin or a core WordPress file.
Repeat the "Manually disable a plugin" steps for other recently updated or modified plugins.
Check for a
.htaccessfile error by renaming the.htaccessfile to.htaccess_oldand testing the site.If the site remains down, contact Hostek support and provide the "Critical Technical Issues" email or the specific error text you are seeing.
