How to Fix There Has Been a Critical Error on this Website.

WordPress as content management is the easiest of all platforms to upload your content online with drag and drop. There is no coding knowledge that is required. All you need is to get the right web hosting service that will not make your website slow, plugins and a unique theme to boost your conversion rate with new and old customers. However, this is not to say that your WordPress site cannot run into a problem; a few WordPress problems include a critical error message that says “there has been a critical error on this website.”There Has Been a Critical Error on Your Website

The error message; there has been a critical error on this website will not make your website accessible on all your server location. If not fixed; you stand the chance to lose your customers within this period.

While this error is not critical you still need to take care of the error as fast as possible so that your potential customers won’t be told that your website is down or the website is not accessible.

If you can manoeuvre your way; you can fix the WordPress error “there has been a critical error on this website.” by merely renaming your website plugins and enabling them one after the other to know the exact plugin that is responsible for this ordeal or add a few lines of PHP scrip.

So, here in this article you will know the steps to take to fix your WordPress there has been a critical error on this website.

Recommended: How to Change Domain DNS

How to Fix There Has Been a Critical Error on this Website.

If you want to keep your WordPress site up and running free from the error message “there has been a critical error on this website. WordPress” you need to take the following crucial steps. Meanwhile, endeavour to try all the suggested troubleshooting tips one after the other until the error message is cleared.

1. Enable Debug in WordPress

The process to enable debugging in WordPress varies and depends on the type of hosting service you are using. Some hosting service makes the feature available in the admin backend of the WordPress site while some other web hosting service wants users to go through the hosting configuration files to enable the site debugging.

Well, whether your hosting service has a unique feature to turn on debugging mode in your WordPress admin dashboard or not; we will consider the steps to take to debug your WordPress site yourself to fix WordPress: there has been a critical error on this website.

  • Sign into your Hosting File Manager backend.
  • Make sure you click on your hosting file manager.
  • Choose the website with the error message “WordPress: there has been a critical error on this website” by double-clicking on it.
  • Find and right-click “wp-config.php” and choose the “Edit” button.
  • Change the last line in the config file rule to: define( ‘WP_DEBUG’, true ) to “Enable WP_Debug” from: define(“WP_DEBUG’, false).
  • Click “Save” to make changes to the file.

Now, you can log out of your WordPress hosting account, clear your browser cache and visit the said website to see if the critical error still persists.

2. Revert Back to a Default Theme

It’s funny to tell you that you should revert back to a default theme right? Well, that works too. In most cases, it’s advisable to revert back to the WordPress default theme for the year. So, in this scenario, we will advise you to revert your WordPress site back to the 2023 WordPress default theme.

Note: Since you can’t access your WordPress site; we will change your WordPress back to the default using FTP

  • Download and install “FileZilla” on your PC.
  • Connect your site to your hosting server via the FTP.
  • Navigate to wp-content/themes and rename the folder to something else to change the theme to the default or delete the entire theme folder.

Note: You must have a default theme added to your theme folder. Otherwise, you’d need to download the theme manually and upload the theme [unzip] folder to your WordPress directory to the server as your theme backup to install it automatically when you deleted the theme folder.

3. Disable All Plugins

If reverting your site theme to the default theme didn’t solve the problem or enabling debugging didn’t work you should try to disable all your site plugins. This approach is similar to reverting your WordPress theme to the default.

The fastest way to disable all your WordPress site plugins is to rename the plugin folder in your hosting file manager. On the contrary, to disable your WordPress plugins you can follow the steps below.

  • Sign into your WordPress site with your username and password.
  • Click on “Plugins” on the left pane.
  • Choose “Installed Plugins.”
  • Check all plugins on the list.
  • Click on “Deactivate.”
  • Done.

There you go. Once all plugins are deactivated you can start installing them one after the other to find out which of the plugins that is causing your WordPress site to there has been a critical error on this website.

Note: If you cannot access your WordPress site with the “there has been a critical error on this website.”, then, you can rename the plugins folder to something else to disable the plugins.

  • Sign into your hosting site with your FTP login.
  • Navigate to and open WP-Admin and open the plugins folder.
  • Rename the plugin folder to something you can remember such as plugin1.

Check your website whether it’s working fine or not. If it’s working fine then, the “there has been a critical error on this website.” is emanating from your site plugins. But the error persists then, the error isn’t coming from the plugins, You can remember them by renaming the name back to plugins.

4. Increase the PHP Limit

Even though plugins and themes are the main causes of a broken website you still need to take care of the PHP limit. Raising the PHP limit will help you website to fight against some unseen problems such as there has been a critical error on this website. elementor.

The PHP memory limit is your web hosting server with a fixed a mount of RAM or memory; with this, the WordPress as content management set a hard limit on the amount your website single PHP script can take up. However, this limit must not be exceeded; because if it does, your website will start to experience the white screen of death or critical website error.

Even though you can increase your website PHP memory limit you also need to control the limit so that it will not be too high because if it does, it’ll also affect your website and results in critical error.

  • Sign into your hosting account.
  • Click on “File Manager” and open the website folder with there has been a critical error on this website.
  • Open the wp-config.php file
  • Add the following lines of code and click on the save tab

                   define( ‘WP_MEMORY_LIMIT’, ‘128M’ );

There Has Been a Critical Error on Your Website.

The PHP memory limit cannot exceed 256M; as anything above that limit is not advisable as this might cause a white death screen or another critical error.

5. Update your Site PHP

Updating your website PHP script is different from increasing or raising the PHP memory to a certain amount which we discussed above. If you check your website health via the screen option you will see whether you need to upgrade your PHP script or not.

First, you need to check whether you need to upgrade it or not. To do this; you can check via your website screen option.

  • Choose the “Screen Option.
  • You will see “Should be Improved.”
  • Click on “Site Health Screen.”

There Has Been a Critical Error on Your Website.

  • Go to “Critical Issues” and you will see whether you need to upgrade your site PHP or not.

There Has Been a Critical Error on Your Website.

  • You need to upgrade the PHP to the latest version in your hosting service account.

Note: If your website is upgraded to the latest version you can upgrade to PHP (8.0).

The process to upgrade your WordPress PHP varies depending on your hosting. Therefore, we will advise you to contact your hosting service and request to upgrade your PHP to 8.0 or put you through how you can upgrade your site PHP to your desired version.

There has been a critical error on your website. is a critical error that needs an urgent attention else you website will be down and could lead to loss of revenue. With this article, you should be able to trace the root of the problem and fix it.

Add a Comment

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