image
web design service

How to Fix the WordPress Error “there Has Been a Critical Error on Your Website”

[vc_row][vc_column][vc_column_text]1. Connect to your server via FTP, ssh or just hosting Cpanel and go to the root of the website. You will need to find wp-config.php file.

Open and scroll all the way down.
Find the line define(‘WP_DEBUG’, false); and change false to true.
Save the changes. Now you can see what node of your website may cause the problem. There can be different reasons: wrong settings at .htaccess file (that’s also located at the root, you can delete it and if you go to your WordPress panel/ Settings/ Permalinks and save the links, new .htaccess will be generated again). Or it can be due to your theme or any plugin.

So first what I do I change a theme, then if it didn’t help, that means the problem is not with the theme, I deactivate all plugins and check it again, if it helped, then I start activating it again one by one to find the problematic one. If it didn’t help turn on Debug mode and see what could cause the error. Or you can save your time and start with the debugging activation mode, that’s actually right:)

3. In my case there was a problem with widgets. I think it happened because I changed the theme of the website a few times, just playing with the design uploading new themes, and importing all elements with it. There were some old widgets from previous templates that conflicted with the current theme. So I just deleted them.

4. As my website is still in the development process, I turn off the debugging mode for now or until I get any errors again if I get. ??‍?[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_video link=”https://www.youtube.com/watch?v=vEnTMfFMHA4″][/vc_column][/vc_row]

BereshkaWeb is a Digital Agency located in Houston, Texas. We specialize in designing secure, scalable and customized web applications to provide turn-key solutions and full tech support for your web projects from simple landing pages to multi-functional online stores with eCommerce.

@BereshkaWeb. All right Reserved
Follow :
Top