{"id":3016,"date":"2019-07-18T09:49:20","date_gmt":"2019-07-18T07:49:20","guid":{"rendered":"https:\/\/demos.welaunch.io\/?post_type=faq&#038;p=3016"},"modified":"2020-07-29T07:57:55","modified_gmt":"2020-07-29T05:57:55","slug":"how-to-enable-wordpress-debug-log","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/how-to-enable-wordpress-debug-log\/","title":{"rendered":"How to enable WordPress Debug log?"},"content":{"rendered":"<p>&#8220;This site is experiencing technical difficulties&#8221; \u2013 if you see this error then a PHP fatal error has occurred. Normally you will see this in your error log files, but if you do not know where to find them or how to deal with them, we will show you how.<\/p>\n<p>We need the debug log in order to help you for this kind of issues, so this is how you enable wp debug log:<\/p>\n<ol>\n<li>Go to your wp-config.php file and add these lines\n<pre>\r\ndefine( 'WP_DEBUG', true);\r\ndefine( 'WP_DEBUG_DISPLAY', false );\r\ndefine( 'WP_DEBUG_LOG', true );\r\n<\/pre>\n<p>This will enable wp debug and log, but stops displaying issues on your website.<\/li>\n<li>Next revisit the site where you saw the error, so that the debug.log will be created<\/li>\n<li>You will find the debug.log file in your wp-content folder: wp-content\/debug.log<\/li>\n<li>Send us the log file to <a href=\"mailto:su*****@******ch.io\" data-original-string=\"XMz6SIBzhBoSHZgz1+m5cA==e89y7Rr0pRWVLSFAUQG3nao6tSc3Y2n9ND280XTMPLhilE=\" title=\"This contact has been encoded by Anti-Spam by CleanTalk. Click to decode. To finish the decoding make sure that JavaScript is enabled in your browser.\"><span \n                data-original-string='B02KrOb+eItXGawcY74EFQ==e89Mj8CtVwh9l\/UBvwRmZGqxwdZl4+jIEJE+B9\/P6sk620='\n                class='apbct-email-encoder'\n                title='This contact has been encoded by Anti-Spam by CleanTalk. Click to decode. To finish the decoding make sure that JavaScript is enabled in your browser.'>su<span class=\"apbct-blur\">*****<\/span>@<span class=\"apbct-blur\">******<\/span>ch.io<\/span><\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-3016","faq","type-faq","status-publish","hentry","faq_topics-general"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/3016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=3016"}],"version-history":[{"count":1,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/3016\/revisions"}],"predecessor-version":[{"id":5318,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/3016\/revisions\/5318"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=3016"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=3016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}