How to Fix “Critical Error” on WordPress Website/Blog?

how to fix critical error on wordpress website

If you have a blog on WordPress then some of you might have faced a “critical error” problem once in a life with your blog.  If you haven’t faced this error yet, then you’re going to face it someday for sure. How to fix “critical error” in WordPress? To know more about the problem I request you to stay on the page till last.

What is a “critical error” in WordPress?

This is actually a critical error which bloggers face sometime in their life.

When this error occurs in the blog, we are not able to access the blog. The blog disappears from the internet. BOOM! Isn’t it scary? What will you do?

Don’t worry! This is why blogveda for. In this blog, we will introduce the cause of the error first and then guide you step-by-step to fix the error.

Why “critical error” occurs in a website or blog?

The “critical error” problem usually occurs with the website theme or plugins.

If you’re updating the WordPress or theme or plugins then you may encounter this problem. This happens because of the glitch that occurs during the update.

In simple words, if you have uploaded plugins or themes with some missing files or broken files then this error will be shown to you.

This happened with us a few days back when I was updating the blog by uploading the backup files. Our blog was gone for 3-4 days. But don’t worry! you don’t have to wait that long. It will take a few minutes to get your blog or website back to LIVE. Now when it is solved I thought to share it with you. Here is a step-by-step guide to fix the critical error.

How to fix “critical error” in WordPress Website/Blog?

Step 1: Go To your Hosting account (e.g., GoDaddy, Bluehost, Siteground, Hostinger, Inmotion, HostGator, etc.)

Step 2:  Open your cPanel.

Step 3:  Now, Go To your File Manager.


Step 4:  Here you’ll see the list of files. On the left side of your page, you’ll see the public_html file on the list. Click on public_html file.

Step 5: Now, scroll your page and you’ll find a wp-config.php file there. Just right click on that file and go to the edit option.

Here you’ll see some lines of codes here but be cautious! Do not temper the codes unnecessarily.

Step 6: Scroll down your page and find a line with code:

define(‘WP_DEBUG’, false);

Instead of ‘false’, make it ‘true’.

  • Now, save the file from the top-right ‘save changes’ option.

  • Open your blog now. Here you’ll see the list of errors that your blog is having.

If you know to code then you can go to the file as instructed on the error and fix that. But if you don’t know how to code, then again you don’t have to worry. As we’ve promised to guide you till the end, we’ll take you to another step to solve the problem.

Step 7: Deactivate the Plugins from cPanel.

As you’re seeing lots of errors from the above step, follow the instructions carefully.

  • On the left side of your File manager Go To public_html >> wp-content >> plugins as shown below.

Here you’re seeing the list of all the plugins that your website has. Now see your blog page where all the errors are showing after executing step 6.

Check which plugin is creating that error. You can check this by looking at the error line as ../public_html/wp-content/plugins/(plugin name)/.

  • Now from your file manager find that plugin from the list of plugins. And delete the plugin as shown in the below image. Deleting them will deactivate the plugin. Now go to the homepage of your blog and Refresh it. Here you’ll find another error.

Follow the same step for all the errors that are displaying on the homepage screen of your blog. Delete all the plugins causing errors.

Once it’s done, refresh the page again.

Congratulations! Your blog is LIVE again.

Final Step: Now, perform the final step. Go to your dashboard >> Plugins >> Add New.

  • From here, search for the plugins you deleted and re-activate them. That’s all.


In this article, we’ve seen how “critical error” occurs on the website and learned how to fix them. I hope you’ve learned and enjoyed the article. If you still have any doubt please do not hesitate from reaching out to us through the Contact Us page.

Also, let us know your thoughts about the blog post by commenting below.

At last but not least, Thank you so much for your patience. Please subscribe to our newsletter so that you don’t out any future update.

See you in the next post.

Affiliate Disclosure

The post contains some affiliate links. See my disclosure about affilate link here.

Be the first to comment

Leave a Reply

Your email address will not be published.