{"id":827,"date":"2022-01-20T21:29:24","date_gmt":"2022-01-20T15:59:24","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=827"},"modified":"2022-05-17T11:38:35","modified_gmt":"2022-05-17T06:08:35","slug":"how-to-fix-the-critical-error-in-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/","title":{"rendered":"How to Fix The Critical Error in WordPress"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Is your WordPress website displaying the critical error notification? In this article, we will discuss How to Fix The Critical Error in WordPress.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">As a website owner, Nothing disappoints you more when your WordPress site goes down, and you are getting an alarming message &#8220;There has been a critical error on this website.&#8221;<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Luckily, it is possible to fix the errors with a few simple and easy methods.<\/span><\/p>\n<h4><span data-preserver-spaces=\"true\">What is a Critical Error in WordPress?<\/span><\/h4>\n<p><span data-preserver-spaces=\"true\">A critical error in WordPress is an error that stops WordPress from loading the scripts it needs to function properly. And may stop you from accessing the dashboard.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In earlier days, &#8216;the white screen of death&#8217; was the error caused by the websites. This unexpected error causes your entire website to load as a blank white page.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">But the current versions of WordPress display the critical error with the text &#8216;<\/span><strong><em><span data-preserver-spaces=\"true\">There has been a critical error on this website. Please check your site admin email inbox for instructions.&#8217;<\/span><\/em><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">The email has a URL to access the site in recovery mode. You can click the link to safely log in to the WordPress dashboard to fix the issue.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-828\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wp-criticial-error-message.png\" alt=\"\" width=\"550\" height=\"221\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wp-criticial-error-message.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wp-criticial-error-message-300x121.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h4><span data-preserver-spaces=\"true\">How Critical Error Occurs in WordPress?<\/span><\/h4>\n<p><span data-preserver-spaces=\"true\">The critical error in WordPress is caused when the plugin, code, or script stop working and prevents WordPress from functioning unless you fix the issue.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It may occur if you have newly copy-pasted code from any tutorial to your website, then the critical error might occur.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">All the WordPress plugins are tested thoroughly. Therefore, there are rare chances for them to cause a critical error. But, two plugins may not work correctly with other plugins, or some custom code showing a conflict that may trigger the error.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, let&#8217;s move forward to know how to fix the critical error in WordPress.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">Fixing The Critical Error in WordPress (2 Methods)<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">WordPress sends an email to the admin email address of your website when it finds some critical error. But there may be cases when the site admin doesn&#8217;t receive the crucial email.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Therefore, we will explain two methods for both the users who receive emails and one who doesn&#8217;t.<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">1. Fixing Critical Error with WordPress Debugging Email<\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">First, visit your WordPress administration email inbox for the email\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It is the same email address you entered while installing WordPress.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In your email inbox, you will see an email with the line in the subject\u00a0<\/span><em><span data-preserver-spaces=\"true\">&#8216;Your Site is Experiencing a Technical Issue.&#8217;\u00a0<\/span><\/em><span data-preserver-spaces=\"true\">Go through the email.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You will find more helpful information inside it explaining what generated the critical error on your website.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">We will show you different <strong>examples of emails showing the critical errors<\/strong>.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>1<\/strong>. In the first one, the WordPress theme caused the critical error.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-829\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-wp-email.png\" alt=\"\" width=\"550\" height=\"287\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-wp-email.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-wp-email-300x157.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">The email provides a link to let you log in to your WordPress website in recovery mode to analyze and fix the issue.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">At the end of the email, you will find more information about the error. It includes the specific file and the code that triggered it.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>2.<\/strong> In the next example, the code at line 614 in our theme&#8217;s functions.php file triggered the error.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-830\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-details-wp-email.png\" alt=\"\" width=\"550\" height=\"291\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-details-wp-email.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-details-wp-email-300x159.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>3.<\/strong> Another example showing the error is caused by the abnormal behavior of the WordPress plugin.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-831\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-details-plugin-wpemail.png\" alt=\"\" width=\"550\" height=\"278\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-details-plugin-wpemail.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/critical-error-details-plugin-wpemail-300x152.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">As you have seen different examples, you have to move ahead to fix the error.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, click on the provided link to access your WordPress admin area in recovery mode.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-832\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/loginwp-recoverymode.png\" alt=\"\" width=\"550\" height=\"306\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/loginwp-recoverymode.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/loginwp-recoverymode-300x167.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After logging in, It will display a notification with details about the critical error and what caused the error.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It will provide a link to enter the place to fix the error.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For now, the following example tells that the plugin causes the critical error with a link to the plugins page.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">When you click the link, it will display the plugin that was causing the error. Moreover, It will also display the exact line of code that caused the error.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, Step forward and deactivate the plugin for now.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-833\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/deactivate-plugin.png\" alt=\"\" width=\"550\" height=\"248\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/deactivate-plugin.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/deactivate-plugin-300x135.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">You can find an alternative WordPress plugin similar to this or see if the plugin developers can help you.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Likewise, if the problem is with your theme, then you will get a link to the Themes page, which will display the theme, causing the error.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-834\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/brokentheme.png\" alt=\"\" width=\"550\" height=\"182\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/brokentheme.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/brokentheme-300x99.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">For that, change or delete your WordPress theme and then reinstall the same fresh theme from the official source. And notice if the issue resolves.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After resolving the issue, you can go ahead and select the Exit Recovery Mode option at the top.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-835\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/exitrecoverymode.png\" alt=\"\" width=\"550\" height=\"221\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/exitrecoverymode.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/exitrecoverymode-300x121.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">This mostly resolves the error, and your WordPress website will start working properly.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">But, if you are still seeing the critical error message in WordPress, then you can try the next troubleshooting steps.<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">Fixing Critical Error in WordPress Manually<\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">You can also fix the critical errors manually if you did not receive the critical error notification email or if your email could not help you resolve the error.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can follow the below steps to fix the errors.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If your recent action causes the error, you can undo that to fix the issue.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For example, if you have downloaded a plugin or theme and your site starts behaving abnormally, this is because of the plugin or theme you downloaded. You have to deactivate it to resolve the issue.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can deactivate it by the below method.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In contrast, if you don&#8217;t know what causes the error, follow the steps.<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">1. Deactivate All WordPress Plugins<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">To disable the defective plugin, you have to deactivate it. But, due to the critical error, you can not deactivate the plugin easily as you can not access the admin area. Moreover, you also don&#8217;t know which plugin is misbehaving.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For resolving this, You have to deactivate all WordPress plugins on your site. Don&#8217;t be afraid; you can reactivate them once you resolve the issue and get access to your WordPress admin area.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">First, connect to your WordPress website using the File Manager app or an FTP client in your WordPress hosting control panel.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After that, go to the \/wp-content\/ folder.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-836\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/renamepluginsfolder.png\" alt=\"\" width=\"550\" height=\"339\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/renamepluginsfolder.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/renamepluginsfolder-300x185.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now, you will see a folder named &#8216;plugins&#8217; inside the wp-content folder. You have to Right-click on it and then select the &#8216;Rename&#8217; option.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, change the folder name to anything you like and remember it. Here, we are naming it &#8216;plugins. deactivate&#8217;.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-837\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/plugindeactivatefolder.png\" alt=\"\" width=\"550\" height=\"339\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/plugindeactivatefolder.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/plugindeactivatefolder-300x185.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">When you do this, It will deactivate all the plugins on your site.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This is because WordPress finds the plugins folder to load the activated plugins on your website. When it cannot find the folder with the name plugins, it cannot activate the plugins and sets them as deactivated automatically.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, visit your WordPress site to see if the critical error message is disappeared or not.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Note:<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0\u00a0The critical error issue is fixed or not but, don&#8217;t forget to rename the folder back to &#8216;plugins.&#8217;<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This is because WordPress will recognize the &#8216;plugin&#8217; folder only and allow you to reactivate them one after another from the WordPress dashboard to find out which one caused the critical error.<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">2. Switch to Default Theme<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">The next step in fixing the critical error is to switch your WordPress theme to a default theme. This will fix the critical error if some code causes it in your current WordPress theme.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For this, download a fresh copy of the TwentyTwenty or Twenty Twenty-One WordPress theme by Visiting the WordPress.org themes directory.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-838\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/downloaddefaulttheme.png\" alt=\"\" width=\"550\" height=\"271\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/downloaddefaulttheme.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/downloaddefaulttheme-300x148.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Then, you have to unzip the theme file on your computer. Once you unzipped the file, it will create a folder with the theme name on your computer.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-839\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/themefolderunzipped.png\" alt=\"\" width=\"550\" height=\"234\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/themefolderunzipped.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/themefolderunzipped-300x128.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now you have to connect to your WordPress site using the file manager app or an FTP client in your hosting control panel.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, go to the \/wp-content\/themes folder. The folder contains the list of themes installed on your WordPress website.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-840\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/downloadthemes-1.jpg\" alt=\"\" width=\"550\" height=\"278\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/downloadthemes-1.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/downloadthemes-1-300x152.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">After that, step ahead and download all the themes to your computer for a backup.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, delete all theme folders from your WordPress site.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-841\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/delete-themes.jpg\" alt=\"\" width=\"550\" height=\"331\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/delete-themes.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/delete-themes-300x181.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now your WordPress site has no theme installed.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After that, upload the default theme folder you downloaded in the earlier step.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-842\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/uploaddefaulttheme.jpg\" alt=\"\" width=\"550\" height=\"331\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/uploaddefaulttheme.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/uploaddefaulttheme-300x181.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">When finished, try to visit your website.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If your WordPress theme caused the critical error, it should disappear now, and you will be able to access your website.<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">3. Reinstall your WordPress<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">The corrupt WordPress core file or software could also induce a critical error in WordPress. The easiest method to fix this is by reinstalling your WordPress.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For this, visit WordPress.org and download a fresh copy of WordPress to your computer. Then, you have to unzip it to your computer. It will create a folder named &#8216;WordPress,&#8217; which contains all the files you need to reinstall.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-843\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wpfolder.jpg\" alt=\"\" width=\"550\" height=\"299\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wpfolder.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/wpfolder-300x163.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Then, you have to connect to your WordPress site using the file manager app or an FTP client in your hosting control panel.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After that, go to the root folder of your website. The root folder contains many folders, namely: wp-admin, wp-includes, and wp-content folders.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-844\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/uploadwpfiles.jpg\" alt=\"\" width=\"550\" height=\"288\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/uploadwpfiles.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/uploadwpfiles-300x157.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">You have to select the files inside the<\/span><strong><em><span data-preserver-spaces=\"true\">\u00a0WordPress<\/span><\/em><\/strong><span data-preserver-spaces=\"true\">\u00a0folder on your computer and upload them to your website.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, Your FTP client will ask you to overwrite these files or skip them. You have to select &#8216;Overwrite&#8217; and tick the check box next to the &#8216;Always use this action&#8217; option.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-845\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/overwritewpfiles.jpg\" alt=\"\" width=\"550\" height=\"303\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/overwritewpfiles.jpg 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/overwritewpfiles-300x165.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Then, Click on the OK to continue.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, Your FTP client will replace all your core WordPress files with fresh copies from your computer.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">When finished, try to visit your website to see if this resolved the error or not.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If your corrupt WordPress core file or software caused the critical error, it should disappear now, and you will be able to access your website.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">To conclude-\u00a0\u00a0<\/span><\/strong><span data-preserver-spaces=\"true\">WordPress critical errors prevent WordPress from functioning properly and stop you from accessing the dashboard.\u00a0\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">When it finds a critical error on your website, it displays an error message and instructs you to visit your admin email inbox to fix the error.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">We hope this write-up helped you fix the critical error in WordPress easily.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You may also like to read <a href=\"https:\/\/hostkicker.com\/blog\/how-to-find-and-access-wordpress-error-logs\/\">How to Find and Access WordPress Error Logs.<\/a>\u00a0\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is your WordPress website displaying the critical error notification? In this article, we will discuss How to Fix The Critical Error in WordPress. As a website owner, Nothing disappoints you more when your WordPress site goes down, and you are getting an alarming message &#8220;There has been a critical error on this website.&#8221; Luckily, it [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":849,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-827","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Fix The Critical Error in WordPress - HostKicker<\/title>\n<meta name=\"description\" content=\"This tutorial will explain How you can Fix The Critical Error in WordPress. Go to the \/wp-content\/ folder. Then, click the &#039;Rename&#039; option.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix The Critical Error in WordPress\" \/>\n<meta property=\"og:description\" content=\"This tutorial will explain How you can Fix The Critical Error in WordPress. Go to the \/wp-content\/ folder. Then, click the &#039;Rename&#039; option.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-20T15:59:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-17T06:08:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Fix The Critical Error in WordPress\" \/>\n<meta name=\"twitter:description\" content=\"This tutorial will explain How you can Fix The Critical Error in WordPress. Go to the \/wp-content\/ folder. Then, click the &#039;Rename&#039; option.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to Fix The Critical Error in WordPress\",\"datePublished\":\"2022-01-20T15:59:24+00:00\",\"dateModified\":\"2022-05-17T06:08:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/\"},\"wordCount\":1671,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/MicrosoftTeams-image-3.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/\",\"name\":\"How to Fix The Critical Error in WordPress - HostKicker\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/MicrosoftTeams-image-3.png\",\"datePublished\":\"2022-01-20T15:59:24+00:00\",\"dateModified\":\"2022-05-17T06:08:35+00:00\",\"description\":\"This tutorial will explain How you can Fix The Critical Error in WordPress. Go to the \\\/wp-content\\\/ folder. Then, click the 'Rename' option.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/MicrosoftTeams-image-3.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/MicrosoftTeams-image-3.png\",\"width\":693,\"height\":511,\"caption\":\"How to Fix The Critical Error in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-critical-error-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix The Critical Error in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Fix The Critical Error in WordPress - HostKicker","description":"This tutorial will explain How you can Fix The Critical Error in WordPress. Go to the \/wp-content\/ folder. Then, click the 'Rename' option.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix The Critical Error in WordPress","og_description":"This tutorial will explain How you can Fix The Critical Error in WordPress. Go to the \/wp-content\/ folder. Then, click the 'Rename' option.","og_url":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2022-01-20T15:59:24+00:00","article_modified_time":"2022-05-17T06:08:35+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_title":"How to Fix The Critical Error in WordPress","twitter_description":"This tutorial will explain How you can Fix The Critical Error in WordPress. Go to the \/wp-content\/ folder. Then, click the 'Rename' option.","twitter_image":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to Fix The Critical Error in WordPress","datePublished":"2022-01-20T15:59:24+00:00","dateModified":"2022-05-17T06:08:35+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/"},"wordCount":1671,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/","name":"How to Fix The Critical Error in WordPress - HostKicker","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png","datePublished":"2022-01-20T15:59:24+00:00","dateModified":"2022-05-17T06:08:35+00:00","description":"This tutorial will explain How you can Fix The Critical Error in WordPress. Go to the \/wp-content\/ folder. Then, click the 'Rename' option.","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png","width":693,"height":511,"caption":"How to Fix The Critical Error in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-critical-error-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix The Critical Error in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/MicrosoftTeams-image-3.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=827"}],"version-history":[{"count":3,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/827\/revisions"}],"predecessor-version":[{"id":848,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/827\/revisions\/848"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/849"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}