fbpx

How to Fix The Critical Error on a WordPress website by deactivating plugins from Control Panel (CPanel)

What is the critical error on a WordPress website?

Critical errors on a WordPress website can stem from various factors, including problems with PHP code (like a low memory limit) or errors in plugins, themes, or custom code. WordPress automatically sends an email to the admin email address specified for the website, detailing any plugins that may be contributing to these errors. 

But what if you can’t access plugins, pages, media, or any part of the WordPress dashboard to address these critical issues? There are several strategies to tackle this situation, but a particularly effective approach could be deactivating suspected problematic plugins by logging in through the Control Panel (CPanel) for the WordPress website.

Steps to fix the WordPress critical error 

Step 1: Log in to your CPanel for the WordPress website. Navigate to the File Manager and locate the ‘public_html’ folder.

Step 2: In the ‘public_html’ folder, find the ‘wp-content’ folder. Inside ‘wp-content’, locate the ‘plugins’ folder.

Step 3: Temporarily change the name of the ‘plugins’ folder to something else, like ‘plugins_old’. This action prevents WordPress from reading the plugins folder.

Step 4: Now, refresh your WordPress dashboard. You’ll notice that it loads without the critical error. However, you will see an error message stating that the plugins do not exist.

Step 5: Create a new folder inside ‘wp-content’ and name it ‘plugins’.

Step 6: Begin copying the plugins from the ‘plugins_old’ folder into the newly created ‘plugins’ folder one by one. To do this, open the ‘plugins_old’ folder and copy each plugin folder to the new ‘plugins’ folder.

Step 7: After copying all the plugins to the new ‘plugins’ folder, refresh your WordPress dashboard. Take note of any plugins that might be responsible for the critical error.

Step 8: Also, visit your website to ensure everything functions correctly up to this point.

Step 9: Once you’ve identified potential problematic plugins, proceed to reactivate them one by one via the WordPress dashboard.

Step 10: After reactivating each plugin, refresh your dashboard and check your website to pinpoint any plugin causing the critical error.

Step 11: Once this process is complete and you’ve identified the problematic plugin(s), your website should now function properly without the critical error.

Conclusion

By following these steps, you should be able to successfully resolve critical errors on your WordPress website caused by problematic plugins.

0
Would love your thoughts, please comment.x
()
x