{"id":4268,"date":"2021-04-23T10:07:45","date_gmt":"2021-04-23T10:07:45","guid":{"rendered":"https:\/\/www.softaculous.com\/blog\/?p=4268"},"modified":"2021-04-23T10:44:46","modified_gmt":"2021-04-23T10:44:46","slug":"how-to-debug-critical-error-on-your-wordpress-website","status":"publish","type":"post","link":"https:\/\/www.softaculous.com\/blog\/how-to-debug-critical-error-on-your-wordpress-website\/","title":{"rendered":"How to Debug Critical Error on your WordPress Website"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">There will be times when you will face <em>serious downtime<\/em> on your <strong>WordPress website<\/strong> due to a plugin causing an issue or the active theme preventing the site to load. You might be getting the below error.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/critical-error-e1619174636838.png\"><img loading=\"lazy\" decoding=\"async\" width=\"476\" height=\"209\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/critical-error-e1619174636838.png\" alt=\"\" class=\"wp-image-4278\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/critical-error-e1619174636838.png 476w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/critical-error-e1619174636838-300x132.png 300w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now how do you debug this? If only there was an exact error, you would have been able to resolve it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>No need to panic, <strong>Softaculous <\/strong>has got you covered! <\/em>You can now enable the <strong>Debug Mode<\/strong> through <strong>Softaculous WordPress Manager<\/strong>, just follow the steps given below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1:<\/strong> Login to your Control panel (e.g. cPanel).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2:<\/strong> Look for the Softaculous icon and <em>Click <\/em>on that icon to go to the Softaculous page.<img loading=\"lazy\" decoding=\"async\" width=\"1157\" height=\"298\" class=\"wp-image-4186\" style=\"width: 100%\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/cp-3.png\" alt=\"\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/cp-3.png 1157w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/cp-3-300x77.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/cp-3-1024x264.png 1024w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/cp-3-768x198.png 768w\" sizes=\"auto, (max-width: 1157px) 100vw, 1157px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3:<\/strong> On the <em>top-right icons section<\/em>, you can find the <strong>WordPress Manager <\/strong>icon. <em>Click <\/em>on this icon and the <strong>WordPress<\/strong> <strong>Manager <\/strong>wizard will appear.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"245\" class=\"wp-image-4187\" style=\"width: 100%\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m3-1.png\" alt=\"\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m3-1.png 1536w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m3-1-300x48.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m3-1-1024x163.png 1024w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m3-1-768x123.png 768w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m3-1-1200x191.png 1200w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 4:<\/strong> Look for your website in the below list in which you are facing this critical error and <em>click <\/em>on the <strong>down arrow<\/strong> icon at the end of the line, this will expand the installation with more details.<img loading=\"lazy\" decoding=\"async\" width=\"1530\" height=\"484\" class=\"wp-image-4188\" style=\"width: 100%\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m4-1.png\" alt=\"\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m4-1.png 1530w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m4-1-300x95.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m4-1-1024x324.png 1024w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m4-1-768x243.png 768w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/03\/step2-m4-1-1200x380.png 1200w\" sizes=\"auto, (max-width: 1530px) 100vw, 1530px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 5: <\/strong>You will have multiple options there, look for the <strong>Debug Mode<\/strong> option. It is set to disabled by default, <em>select <\/em>the <strong>enabled<\/strong> option and this shall enable the debug mode in your WordPress website.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"750\" class=\"wp-image-4276\" style=\"width: 100%\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/debug-enable.png\" alt=\"\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/debug-enable.png 1536w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/debug-enable-300x146.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/debug-enable-1024x500.png 1024w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/debug-enable-768x375.png 768w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/debug-enable-1200x586.png 1200w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once done you will receive a <em>success<\/em> message on the <em>bottom-right corner<\/em> of the screen.<br><img loading=\"lazy\" decoding=\"async\" width=\"239\" height=\"65\" class=\"wp-image-4227\" style=\"width: 50%\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/step81.png\" alt=\"\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now go back and reload your website, the generic error message will now be replaced with an <em>exact error<\/em> message pointing you to the file which is causing the error.<img loading=\"lazy\" decoding=\"async\" width=\"1896\" height=\"269\" class=\"wp-image-4284\" style=\"width: 100%\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/err-1.png\" alt=\"\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/err-1.png 1896w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/err-1-300x43.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/err-1-1024x145.png 1024w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/err-1-768x109.png 768w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/err-1-1536x218.png 1536w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/04\/err-1-1200x170.png 1200w\" sizes=\"auto, (max-width: 1896px) 100vw, 1896px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can now resolve this error you are facing and your site will be up and running. Generally the issue is with some plugin or theme not working with the latest version of WordPress. There are two possibilities :<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>You are using an outdated version of the plugin or theme which is not compatible with the WordPress version which you are using. The solution for this is to check the latest version available of the plugin or theme you find in the error message and upgrade to the latest version. (Make sure you take a backup of your site before doing this, just in case the latest version does not work).<\/li><li>The plugin or theme in question has not been updated by the vendor and no longer works with the WordPress version which you are using. In this case the solution would be to disable the plugin by renaming the plugin folder to .bak from the File Manager and then look for another plugin\/theme that can replace the existing one.<\/li><\/ol>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>NOTE: <\/strong>Do not forget to disable Debug Mode once your site is working. It is not a good idea to leave debugging mode enabled on a production website. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>More Information<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>For further information about Softaculous features, you can visit<a href=\"https:\/\/www.softaculous.com\/docs\/\"> https:\/\/www.softaculous.com\/docs\/<\/a><\/li><li>Feel free to contact us at<a href=\"https:\/\/softaculous.deskuss.com\/\"> https:\/\/softaculous.deskuss.com\/<\/a> in case you need any assistance.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There will be times when you will face serious downtime on your WordPress website due to a plugin causing an issue or the active theme preventing the site to load. You might be getting the below error. Now how do you debug this? If only there was an exact error, you would have been able&hellip; <a class=\"more-link\" href=\"https:\/\/www.softaculous.com\/blog\/how-to-debug-critical-error-on-your-wordpress-website\/\">Continue reading <span class=\"screen-reader-text\">How to Debug Critical Error on your WordPress Website<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,11,122],"tags":[233,232,236,234,229,10,235,167,125,5],"class_list":["post-4268","post","type-post","status-publish","format-standard","hentry","category-features","category-how-tos","category-improve-performance","tag-critical","tag-debug","tag-debug-mode","tag-error","tag-manager","tag-plugins","tag-site-not-working","tag-softaculous","tag-themes","tag-wordpress","entry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/posts\/4268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/comments?post=4268"}],"version-history":[{"count":19,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/posts\/4268\/revisions"}],"predecessor-version":[{"id":4294,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/posts\/4268\/revisions\/4294"}],"wp:attachment":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/media?parent=4268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/categories?post=4268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/tags?post=4268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}