{"id":14879,"date":"2025-11-27T06:04:43","date_gmt":"2025-11-27T06:04:43","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=14879"},"modified":"2026-02-26T14:02:05","modified_gmt":"2026-02-26T14:02:05","slug":"how-to-enable-wp-debug-mode","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/","title":{"rendered":"How to Enable WP Debug Mode"},"content":{"rendered":"<p><span data-contrast=\"none\">WP debug mode helps you identify issues inside your WordPress site by showing hidden errors, warnings, and PHP notices. Whether a plugin misbehaves, a theme update breaks your layout, or something suddenly stops loading. Enabling WP debug mode makes troubleshooting much easier. <\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">In this guide, you will learn two ways to enable debugging with a plugin and without a plugin along with best practices and log file access.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><strong><span class=\"TextRun SCXW206720535 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\">What is WP <\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\">D<\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\">ebug Mo<\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\">d<\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\">e an<\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\">d<\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\"> Why <\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\">It\u2019s<\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\"> Useful<\/span><span class=\"NormalTextRun SCXW206720535 BCX8\" data-ccp-parastyle=\"heading 2\">?<\/span><\/span><\/strong><\/h2>\n<p><span class=\"TextRun SCXW222319330 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW222319330 BCX8\">WP <\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">d<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">ebug mo<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">d<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">e tells Wor<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">d<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">Press to stop hi<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">d<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">ing errors an<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">d<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\"> instea<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">d<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\"> show or store them. <\/span><span class=\"NormalTextRun SCXW222319330 BCX8\">It is<\/span><span class=\"NormalTextRun SCXW222319330 BCX8\"> helpful when:<\/span><\/span><\/p>\n<ul>\n<li><span class=\"TextRun SCXW153451963 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW153451963 BCX8\">Your site shows a <\/span><\/span><span class=\"TextRun SCXW153451963 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW153451963 BCX8\">white screen.<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW213802091 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW213802091 BCX8\">Plugins or themes conflict.<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW181033011 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW181033011 BCX8\">You <\/span><span class=\"NormalTextRun SCXW181033011 BCX8\">encounter<\/span><span class=\"NormalTextRun SCXW181033011 BCX8\"> the message: \u201cThere has been a critical error.\u201d<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW162774184 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW162774184 BCX8\">You nee<\/span><span class=\"NormalTextRun SCXW162774184 BCX8\">d<\/span><span class=\"NormalTextRun SCXW162774184 BCX8\"> a clean error log for support teams.<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW132857875 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132857875 BCX8\">Page loa<\/span><span class=\"NormalTextRun SCXW132857875 BCX8\">d<\/span><span class=\"NormalTextRun SCXW132857875 BCX8\"> spee<\/span><span class=\"NormalTextRun SCXW132857875 BCX8\">d<\/span> <span class=\"NormalTextRun SCXW132857875 BCX8\">d<\/span><span class=\"NormalTextRun SCXW132857875 BCX8\">rops su<\/span><span class=\"NormalTextRun SCXW132857875 BCX8\">d<\/span><span class=\"NormalTextRun SCXW132857875 BCX8\">d<\/span><span class=\"NormalTextRun SCXW132857875 BCX8\">enly.<\/span><\/span><\/li>\n<\/ul>\n<p><span class=\"TextRun SCXW154669375 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW154669375 BCX8\">When <\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">d<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">ebug mo<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">d<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">e is active, Wor<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">d<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">Press logs every <\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">warning,<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\"> so you know exactly what nee<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">d<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">s <\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">to <\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">be fixe<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">d<\/span><span class=\"NormalTextRun SCXW154669375 BCX8\">.<\/span><\/span><span class=\"EOP SCXW154669375 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><strong><span class=\"TextRun SCXW89725108 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">How to <\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">Enable <\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">W<\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">or<\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">d<\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">press<\/span> <span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">D<\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">ebug<\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\"> Mo<\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">d<\/span><span class=\"NormalTextRun SCXW89725108 BCX8\" data-ccp-parastyle=\"heading 2\">e<\/span><\/span><\/strong><\/h2>\n<p>&nbsp;<\/p>\n<h3><strong><span class=\"NormalTextRun SCXW27733302 BCX8\">Method 1: <\/span><span class=\"FindHit SCXW27733302 BCX8\">E<\/span><span class=\"FindHit SCXW27733302 BCX8\">nable WP Debug Mode<\/span><span class=\"NormalTextRun SCXW27733302 BCX8\"> Without a Plugin (Using wp-<\/span><span class=\"NormalTextRun SCXW27733302 BCX8\">config.php<\/span><span class=\"NormalTextRun SCXW27733302 BCX8\">)<\/span><\/strong><\/h3>\n<p>&nbsp;<\/p>\n<h4><span class=\"TextRun SCXW120407131 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW120407131 BCX8\">1: Open wp-<\/span><span class=\"NormalTextRun SCXW120407131 BCX8\">config.php<\/span><\/span><\/h4>\n<ol>\n<li><span class=\"TextRun SCXW255971885 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW255971885 BCX8\">Open your Wor<\/span><span class=\"NormalTextRun SCXW255971885 BCX8\">d<\/span><span class=\"NormalTextRun SCXW255971885 BCX8\">Press root fol<\/span><span class=\"NormalTextRun SCXW255971885 BCX8\">d<\/span><span class=\"NormalTextRun SCXW255971885 BCX8\">er (<\/span><span class=\"NormalTextRun SCXW255971885 BCX8\">public_html<\/span><span class=\"NormalTextRun SCXW255971885 BCX8\">).<\/span><\/span><span class=\"EOP SCXW255971885 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\"><br \/>\n<\/span><\/li>\n<li><span class=\"TextRun SCXW110255101 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW110255101 BCX8\">Access it <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW110255101 BCX8\">using<\/span><span class=\"NormalTextRun SCXW110255101 BCX8\">:<\/span><\/span><span class=\"EOP SCXW110255101 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span>\n<ol>\n<li><span class=\"TextRun SCXW208117020 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW208117020 BCX8\">cPanel File Manager<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW264478709 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW264478709 BCX8\">FTP\/SFTP<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW136323588 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW136323588 BCX8\">SSH (a<\/span><span class=\"NormalTextRun SCXW136323588 BCX8\">d<\/span><span class=\"NormalTextRun SCXW136323588 BCX8\">vance<\/span><span class=\"NormalTextRun SCXW136323588 BCX8\">d<\/span><span class=\"NormalTextRun SCXW136323588 BCX8\"> users)<\/span><\/span><\/li>\n<\/ol>\n<\/li>\n<li><span class=\"TextRun SCXW249095179 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW249095179 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW249095179 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW249095179 BCX8\">Fin<\/span><span class=\"NormalTextRun SCXW249095179 BCX8\">d<\/span><span class=\"NormalTextRun SCXW249095179 BCX8\"> an<\/span><span class=\"NormalTextRun SCXW249095179 BCX8\">d<\/span><span class=\"NormalTextRun SCXW249095179 BCX8\"> open the wp-<\/span><span class=\"NormalTextRun SCXW249095179 BCX8\">config.php<\/span><span class=\"NormalTextRun SCXW249095179 BCX8\"> file.<\/span><\/span><\/span><\/span>&nbsp;\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14867\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config.png\" alt=\"go to wp config\" width=\"377\" height=\"217\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config.png 377w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config-300x173.png 300w\" sizes=\"auto, (max-width: 377px) 100vw, 377px\" \/><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong><span class=\"TextRun SCXW216218496 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW216218496 BCX8\">2: Turn On <\/span><span class=\"NormalTextRun SCXW216218496 BCX8\">D<\/span><span class=\"NormalTextRun SCXW216218496 BCX8\">ebug Mo<\/span><span class=\"NormalTextRun SCXW216218496 BCX8\">d<\/span><span class=\"NormalTextRun SCXW216218496 BCX8\">e<\/span><\/span><span class=\"EOP SCXW216218496 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/strong><\/h4>\n<ol>\n<li><span class=\"TextRun SCXW79495910 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW79495910 BCX8\">Fin<\/span><span class=\"NormalTextRun SCXW79495910 BCX8\">d<\/span><span class=\"NormalTextRun SCXW79495910 BCX8\"> this line:<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW79495910 BCX8\"><span class=\"SCXW79495910 BCX8\">\u00a0<\/span><br class=\"SCXW79495910 BCX8\" \/><\/span><strong><strong><strong><span class=\"NormalTextRun SCXW198212699 BCX8\">d<\/span><span class=\"NormalTextRun SCXW198212699 BCX8\">efine(<\/span><span class=\"NormalTextRun SCXW198212699 BCX8\">&#8216;WP_<\/span><span class=\"NormalTextRun SCXW198212699 BCX8\">D<\/span><span class=\"NormalTextRun SCXW198212699 BCX8\">EBUG&#8217;, false);<\/span><\/strong><\/strong><\/strong>&nbsp;\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14884\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/wp-config-php-debug-false.png\" alt=\"wp config php debug false\" width=\"466\" height=\"78\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/wp-config-php-debug-false.png 466w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/wp-config-php-debug-false-300x50.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/li>\n<li><span class=\"TextRun SCXW126532742 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW126532742 BCX8\">Replace it with:<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW126532742 BCX8\"><span class=\"SCXW126532742 BCX8\">\u00a0<\/span><br class=\"SCXW126532742 BCX8\" \/><\/span><strong><strong><span class=\"TextRun SCXW126532742 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW126532742 BCX8\">d<\/span><span class=\"NormalTextRun SCXW126532742 BCX8\">efine(<\/span><span class=\"NormalTextRun SCXW126532742 BCX8\">&#8216;WP_<\/span><span class=\"NormalTextRun SCXW126532742 BCX8\">D<\/span><span class=\"NormalTextRun SCXW126532742 BCX8\">EBUG&#8217;, true);<\/span><\/span><\/strong><\/strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14883\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/wp-config-php-debug-true.png\" alt=\"wp config-php debug true\" width=\"529\" height=\"107\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/wp-config-php-debug-true.png 529w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/wp-config-php-debug-true-300x61.png 300w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong><span class=\"TextRun SCXW38353314 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW38353314 BCX8\">3: Enable <\/span><span class=\"NormalTextRun SCXW38353314 BCX8\">D<\/span><span class=\"NormalTextRun SCXW38353314 BCX8\">ebug Logging (Recommen<\/span><span class=\"NormalTextRun SCXW38353314 BCX8\">d<\/span><span class=\"NormalTextRun SCXW38353314 BCX8\">e<\/span><span class=\"NormalTextRun SCXW38353314 BCX8\">d<\/span><span class=\"NormalTextRun SCXW38353314 BCX8\"> for Live Sites)<\/span><\/span><span class=\"EOP SCXW38353314 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/strong><\/h4>\n<ol>\n<li><span class=\"TextRun SCXW172426989 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW172426989 BCX8\">A<\/span><span class=\"NormalTextRun SCXW172426989 BCX8\">d<\/span><span class=\"NormalTextRun SCXW172426989 BCX8\">d<\/span><span class=\"NormalTextRun SCXW172426989 BCX8\"> these lines above:<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW172426989 BCX8\"><span class=\"SCXW172426989 BCX8\">\u00a0<\/span><br class=\"SCXW172426989 BCX8\" \/><\/span><strong><span class=\"TextRun SCXW172426989 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW172426989 BCX8\">\/* That&#8217;s all, stop e<\/span><span class=\"NormalTextRun SCXW172426989 BCX8\">d<\/span><span class=\"NormalTextRun SCXW172426989 BCX8\">iting! Happy publishing. *\/<\/span><\/span><span class=\"EOP SCXW172426989 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/strong><\/li>\n<li><span class=\"TextRun SCXW182455130 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW182455130 BCX8\">A<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">d<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">d<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">:<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW182455130 BCX8\"><span class=\"SCXW182455130 BCX8\">\u00a0<\/span><br class=\"SCXW182455130 BCX8\" \/><\/span><strong><strong><strong><span class=\"TextRun SCXW182455130 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW182455130 BCX8\">d<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">efine(&#8216;WP_<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">D<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">EBUG&#8217;, true);<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW182455130 BCX8\"><span class=\"SCXW182455130 BCX8\">\u00a0<\/span><br class=\"SCXW182455130 BCX8\" \/><\/span><span class=\"TextRun SCXW182455130 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW182455130 BCX8\">d<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">efine(<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">&#8216;WP_<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">D<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">EBUG_LOG&#8217;, true);<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW182455130 BCX8\"><span class=\"SCXW182455130 BCX8\">\u00a0<\/span><br class=\"SCXW182455130 BCX8\" \/><\/span><span class=\"TextRun SCXW182455130 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW182455130 BCX8\">d<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">efine(<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">&#8216;WP_<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">D<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">EBUG_<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">D<\/span><span class=\"NormalTextRun SCXW182455130 BCX8\">ISPLAY&#8217;, false);<\/span><\/span><\/strong><\/strong><\/strong>&nbsp;\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14870\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/3-wp-config-codes.png\" alt=\"wp config codes\" width=\"509\" height=\"182\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/3-wp-config-codes.png 509w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/3-wp-config-codes-300x107.png 300w\" sizes=\"auto, (max-width: 509px) 100vw, 509px\" \/><\/li>\n<li><span class=\"TextRun SCXW131577270 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW131577270 BCX8\">Error logs will be store<\/span><span class=\"NormalTextRun SCXW131577270 BCX8\">d<\/span><span class=\"NormalTextRun SCXW131577270 BCX8\"> in:<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW131577270 BCX8\"><span class=\"SCXW131577270 BCX8\">\u00a0<\/span><br class=\"SCXW131577270 BCX8\" \/><\/span><strong><span class=\"TextRun SCXW131577270 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW131577270 BCX8\">\/wp-content\/<\/span><span class=\"NormalTextRun SCXW131577270 BCX8\">d<\/span><span class=\"NormalTextRun SCXW131577270 BCX8\">ebug.log<\/span><\/span><span class=\"EOP SCXW131577270 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/strong><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3><strong><span class=\"TextRun SCXW68334523 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW68334523 BCX8\">Metho<\/span><span class=\"NormalTextRun SCXW68334523 BCX8\">d<\/span><span class=\"NormalTextRun SCXW68334523 BCX8\"> 2: <\/span><span class=\"FindHit SCXW68334523 BCX8\">E<\/span><span class=\"FindHit SCXW68334523 BCX8\">nable WP <\/span><span class=\"FindHit SCXW68334523 BCX8\">D<\/span><span class=\"FindHit SCXW68334523 BCX8\">ebug Mo<\/span><span class=\"FindHit SCXW68334523 BCX8\">d<\/span><span class=\"FindHit SCXW68334523 BCX8\">e<\/span><span class=\"NormalTextRun SCXW68334523 BCX8\"> Using a Plugin (WP <\/span><span class=\"NormalTextRun SCXW68334523 BCX8\">D<\/span><span class=\"NormalTextRun SCXW68334523 BCX8\">ebugging Plugin)<\/span><\/span><\/strong><\/h3>\n<p>&nbsp;<\/p>\n<h4><strong><span class=\"TextRun SCXW245021877 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW245021877 BCX8\">1: Install the <\/span><span class=\"NormalTextRun SCXW245021877 BCX8\">W<\/span><span class=\"NormalTextRun SCXW245021877 BCX8\">or<\/span><span class=\"NormalTextRun SCXW245021877 BCX8\">d<\/span><span class=\"NormalTextRun SCXW245021877 BCX8\">Press<\/span> <span class=\"NormalTextRun SCXW245021877 BCX8\">D<\/span><span class=\"NormalTextRun SCXW245021877 BCX8\">ebug Plugin<\/span><\/span><span class=\"EOP SCXW245021877 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/strong><\/h4>\n<ol>\n<li><span class=\"TextRun SCXW224391994 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW224391994 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW224391994 BCX8\">Log in to your Wor<\/span><span class=\"NormalTextRun SCXW224391994 BCX8\">d<\/span><span class=\"NormalTextRun SCXW224391994 BCX8\">Press a<\/span><span class=\"NormalTextRun SCXW224391994 BCX8\">d<\/span><span class=\"NormalTextRun SCXW224391994 BCX8\">min.<\/span><\/span><\/span>&nbsp;\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14889\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/Wordpress-Dashboard.png\" alt=\"Wordpress Dashboard\" width=\"1214\" height=\"445\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/Wordpress-Dashboard.png 1214w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/Wordpress-Dashboard-300x110.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/Wordpress-Dashboard-1024x375.png 1024w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/Wordpress-Dashboard-768x282.png 768w\" sizes=\"auto, (max-width: 1214px) 100vw, 1214px\" \/><\/li>\n<li><span class=\"TextRun SCXW166163629 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW166163629 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW166163629 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW166163629 BCX8\">Go to Plugins &gt;&gt; A<\/span><span class=\"NormalTextRun SCXW166163629 BCX8\">d<\/span><span class=\"NormalTextRun SCXW166163629 BCX8\">d<\/span><span class=\"NormalTextRun SCXW166163629 BCX8\"> New.<\/span><\/span><\/span><\/span>&nbsp;\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14888\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/Add-Plugin.png\" alt=\"Add WordPress Plugin\" width=\"329\" height=\"141\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/Add-Plugin.png 329w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/Add-Plugin-300x129.png 300w\" sizes=\"auto, (max-width: 329px) 100vw, 329px\" \/><\/li>\n<li><span class=\"TextRun SCXW153475025 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW153475025 BCX8\">Search for WP <\/span><span class=\"NormalTextRun SCXW153475025 BCX8\">D<\/span><span class=\"NormalTextRun SCXW153475025 BCX8\">ebugging.<\/span><\/span><span class=\"EOP SCXW153475025 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\"><br \/>\n<\/span><\/li>\n<li><span class=\"TextRun SCXW111965962 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW111965962 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW111965962 BCX8\">Install an<\/span><span class=\"NormalTextRun SCXW111965962 BCX8\">d<\/span><span class=\"NormalTextRun SCXW111965962 BCX8\"> activate the plugin.<\/span><\/span><\/span>&nbsp;\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14887\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/install-plgin.png\" alt=\"WP Debug Mode\" width=\"1243\" height=\"534\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/install-plgin.png 1243w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/install-plgin-300x129.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/install-plgin-1024x440.png 1024w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/install-plgin-768x330.png 768w\" sizes=\"auto, (max-width: 1243px) 100vw, 1243px\" \/><\/li>\n<li><span class=\"TextRun SCXW181288667 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW181288667 BCX8\">The plugin automatically up<\/span><span class=\"NormalTextRun SCXW181288667 BCX8\">d<\/span><span class=\"NormalTextRun SCXW181288667 BCX8\">ates your wp-<\/span><span class=\"NormalTextRun SCXW181288667 BCX8\">config.php<\/span><span class=\"NormalTextRun SCXW181288667 BCX8\"> safely.<\/span><\/span><span class=\"EOP SCXW181288667 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong><span class=\"TextRun SCXW198452892 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW198452892 BCX8\">2: Enable <\/span><span class=\"NormalTextRun SCXW198452892 BCX8\">D<\/span><span class=\"NormalTextRun SCXW198452892 BCX8\">ebugging<\/span><\/span><span class=\"EOP SCXW198452892 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/strong><\/h4>\n<ol>\n<li><span class=\"TextRun SCXW97056275 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW97056275 BCX8\">After activation, the plugin automatically sets:<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW97056275 BCX8\"><span class=\"SCXW97056275 BCX8\">\u00a0<\/span><br class=\"SCXW97056275 BCX8\" \/><\/span><strong><span class=\"TextRun SCXW97056275 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW97056275 BCX8\">WP_<\/span><span class=\"NormalTextRun SCXW97056275 BCX8\">D<\/span><span class=\"NormalTextRun SCXW97056275 BCX8\">EBUG = true<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW97056275 BCX8\"><span class=\"SCXW97056275 BCX8\">\u00a0<\/span><br class=\"SCXW97056275 BCX8\" \/><\/span><span class=\"TextRun SCXW97056275 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW97056275 BCX8\">WP_<\/span><span class=\"NormalTextRun SCXW97056275 BCX8\">D<\/span><span class=\"NormalTextRun SCXW97056275 BCX8\">EBUG_LOG = true<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW97056275 BCX8\"><span class=\"SCXW97056275 BCX8\">\u00a0<\/span><br class=\"SCXW97056275 BCX8\" \/><\/span><span class=\"TextRun SCXW97056275 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW97056275 BCX8\">WP_<\/span><span class=\"NormalTextRun SCXW97056275 BCX8\">D<\/span><span class=\"NormalTextRun SCXW97056275 BCX8\">EBUG_<\/span><span class=\"NormalTextRun SCXW97056275 BCX8\">D<\/span><span class=\"NormalTextRun SCXW97056275 BCX8\">ISPLAY = false<\/span><\/span><\/strong><\/li>\n<li><span class=\"EOP SCXW97056275 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\"><span class=\"TextRun SCXW255962576 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW255962576 BCX8\">No manual file e<\/span><span class=\"NormalTextRun SCXW255962576 BCX8\">d<\/span><span class=\"NormalTextRun SCXW255962576 BCX8\">iting is <\/span><span class=\"NormalTextRun SCXW255962576 BCX8\">require<\/span><span class=\"NormalTextRun SCXW255962576 BCX8\">d<\/span><span class=\"NormalTextRun SCXW255962576 BCX8\">.<\/span><\/span><span class=\"EOP SCXW255962576 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong><span class=\"TextRun SCXW213711895 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW213711895 BCX8\">3: Check the Debug <\/span><span class=\"NormalTextRun SCXW213711895 BCX8\">Logs<\/span><\/span><\/strong><\/h4>\n<ol>\n<li><span class=\"TextRun SCXW243186972 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW243186972 BCX8\">Log file location:<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW243186972 BCX8\"><span class=\"SCXW243186972 BCX8\">\u00a0<\/span><br class=\"SCXW243186972 BCX8\" \/><\/span><strong><span class=\"TextRun SCXW243186972 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW243186972 BCX8\">wp-content\/<\/span><span class=\"NormalTextRun SCXW243186972 BCX8\">d<\/span><span class=\"NormalTextRun SCXW243186972 BCX8\">ebug.log<\/span><\/span><span class=\"EOP SCXW243186972 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/strong><\/li>\n<li><span class=\"TextRun SCXW68174392 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW68174392 BCX8\">You can view it through:<\/span><\/span><span class=\"EOP SCXW68174392 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span>\n<ol>\n<li><span class=\"TextRun SCXW17468186 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW17468186 BCX8\">cPanel File Manager<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW153583490 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW153583490 BCX8\">FTP<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW124362242 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW124362242 BCX8\">Log viewer plugin (optional)<\/span><\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong><span class=\"TextRun SCXW123613153 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW123613153 BCX8\">4: <\/span><span class=\"NormalTextRun SCXW123613153 BCX8\">D<\/span><span class=\"NormalTextRun SCXW123613153 BCX8\">isable <\/span><span class=\"NormalTextRun SCXW123613153 BCX8\">D<\/span><span class=\"NormalTextRun SCXW123613153 BCX8\">ebug Mo<\/span><span class=\"NormalTextRun SCXW123613153 BCX8\">d<\/span><span class=\"NormalTextRun SCXW123613153 BCX8\">e<\/span><\/span><\/strong><\/h4>\n<ol>\n<li><span class=\"TextRun SCXW161701830 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW161701830 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW161701830 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW161701830 BCX8\">Go to Tools <\/span><span class=\"FindHit SCXW161701830 BCX8\">&gt;&gt; <\/span><span class=\"NormalTextRun SCXW161701830 BCX8\">WP <\/span><span class=\"NormalTextRun SCXW161701830 BCX8\">D<\/span><span class=\"NormalTextRun SCXW161701830 BCX8\">ebugging.<\/span><\/span><\/span><\/span>&nbsp;\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14886\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/WP-debug-mode.png\" alt=\"WP debug mode\" width=\"325\" height=\"213\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/WP-debug-mode.png 325w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/WP-debug-mode-300x197.png 300w\" sizes=\"auto, (max-width: 325px) 100vw, 325px\" \/><\/li>\n<li><span class=\"TextRun SCXW150110720 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW150110720 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"TextRun SCXW150110720 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW150110720 BCX8\">Turn off the <\/span><span class=\"NormalTextRun SCXW150110720 BCX8\">d<\/span><span class=\"NormalTextRun SCXW150110720 BCX8\">ebugging options.<\/span><\/span><\/span><\/span>&nbsp;\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14885\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/WP-debug-Setting.png\" alt=\"Enable WordPress Debug Mode\" width=\"662\" height=\"317\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/WP-debug-Setting.png 1024w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/WP-debug-Setting-300x144.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/WP-debug-Setting-768x368.png 768w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/li>\n<li><span class=\"TextRun SCXW235193597 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW235193597 BCX8\">D<\/span><span class=\"NormalTextRun SCXW235193597 BCX8\">eactivate an<\/span><span class=\"NormalTextRun SCXW235193597 BCX8\">d<\/span> <span class=\"NormalTextRun SCXW235193597 BCX8\">d<\/span><span class=\"NormalTextRun SCXW235193597 BCX8\">elete<\/span><span class=\"NormalTextRun SCXW235193597 BCX8\"> the plugin if not nee<\/span><span class=\"NormalTextRun SCXW235193597 BCX8\">d<\/span><span class=\"NormalTextRun SCXW235193597 BCX8\">e<\/span><span class=\"NormalTextRun SCXW235193597 BCX8\">d<\/span><span class=\"NormalTextRun SCXW235193597 BCX8\">.<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW158766326 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW158766326 BCX8\">This safely resets the <\/span><span class=\"NormalTextRun SCXW158766326 BCX8\">d<\/span><span class=\"NormalTextRun SCXW158766326 BCX8\">ebug settings.<\/span><\/span><span class=\"EOP SCXW158766326 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2><strong><span class=\"TextRun SCXW137288280 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137288280 BCX8\" data-ccp-parastyle=\"heading 2\">When to Choose Plugin vs Manual Metho<\/span><span class=\"NormalTextRun SCXW137288280 BCX8\" data-ccp-parastyle=\"heading 2\">d<\/span><\/span><span class=\"EOP SCXW137288280 BCX8\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/strong><\/h2>\n<table style=\"font-weight: 400;\" data-tablestyle=\"MsoNormalTable\" data-tablelook=\"1696\" aria-rowcount=\"6\">\n<tbody>\n<tr aria-rowindex=\"1\">\n<td data-celllook=\"4369\">\n<p style=\"text-align: center;\"><b><span data-contrast=\"none\">Scenario<\/span><\/b><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:2,&quot;335551620&quot;:2,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/p>\n<\/td>\n<td data-celllook=\"4369\">\n<p style=\"text-align: center;\"><b><span data-contrast=\"none\">Best Method<\/span><\/b><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:2,&quot;335551620&quot;:2,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/p>\n<\/td>\n<\/tr>\n<tr aria-rowindex=\"2\">\n<td data-celllook=\"4369\"><span data-contrast=\"none\">You\u2019re new to WordPress<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/td>\n<td data-celllook=\"4369\">\n<p style=\"text-align: center;\"><span data-contrast=\"none\">Plugin<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/p>\n<\/td>\n<\/tr>\n<tr aria-rowindex=\"3\">\n<td data-celllook=\"4369\"><span data-contrast=\"none\">You want complete control over debugging<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/td>\n<td data-celllook=\"4369\">\n<p style=\"text-align: center;\"><span data-contrast=\"none\">Manual method<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/p>\n<\/td>\n<\/tr>\n<tr aria-rowindex=\"4\">\n<td data-celllook=\"4369\"><span data-contrast=\"none\">You&#8217;re troubleshooting a broken site (wp-admin not loading)<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/td>\n<td data-celllook=\"4369\">\n<p style=\"text-align: center;\"><span data-contrast=\"none\">Manual method<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/p>\n<\/td>\n<\/tr>\n<tr aria-rowindex=\"5\">\n<td data-celllook=\"4369\"><span data-contrast=\"none\">You want quick logs without editing files<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/td>\n<td data-celllook=\"4369\">\n<p style=\"text-align: center;\"><span data-contrast=\"none\">Plugin<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/p>\n<\/td>\n<\/tr>\n<tr aria-rowindex=\"6\">\n<td data-celllook=\"4369\"><span data-contrast=\"none\">Hosting panel blocks direct file editing<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/td>\n<td data-celllook=\"4369\">\n<p style=\"text-align: center;\"><span data-contrast=\"none\">Plugin<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2><strong><span class=\"TextRun SCXW101232523 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW101232523 BCX8\" data-ccp-parastyle=\"heading 2\">How to <\/span><span class=\"NormalTextRun SCXW101232523 BCX8\" data-ccp-parastyle=\"heading 2\">D<\/span><span class=\"NormalTextRun SCXW101232523 BCX8\" data-ccp-parastyle=\"heading 2\">isable WP <\/span><span class=\"NormalTextRun SCXW101232523 BCX8\" data-ccp-parastyle=\"heading 2\">D<\/span><span class=\"NormalTextRun SCXW101232523 BCX8\" data-ccp-parastyle=\"heading 2\">ebug Mo<\/span><span class=\"NormalTextRun SCXW101232523 BCX8\" data-ccp-parastyle=\"heading 2\">d<\/span><span class=\"NormalTextRun SCXW101232523 BCX8\" data-ccp-parastyle=\"heading 2\">e After Troubleshooting<\/span><\/span><\/strong><\/h2>\n<p><span class=\"TextRun SCXW16857932 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW16857932 BCX8\">Whether you <\/span><span class=\"NormalTextRun SCXW16857932 BCX8\">enable<\/span><span class=\"NormalTextRun SCXW16857932 BCX8\"> it manually or via plugin, always turn it off later.<\/span><\/span><span class=\"EOP SCXW16857932 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><strong><span class=\"TextRun SCXW123117061 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW123117061 BCX8\" data-ccp-parastyle=\"heading 3\">If you use<\/span><span class=\"NormalTextRun SCXW123117061 BCX8\" data-ccp-parastyle=\"heading 3\">d<\/span><span class=\"NormalTextRun SCXW123117061 BCX8\" data-ccp-parastyle=\"heading 3\"> wp-<\/span><span class=\"NormalTextRun SCXW123117061 BCX8\" data-ccp-parastyle=\"heading 3\">config.php<\/span><span class=\"NormalTextRun SCXW123117061 BCX8\" data-ccp-parastyle=\"heading 3\">:<\/span><\/span><span class=\"EOP SCXW123117061 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">\u00a0<\/span><\/strong><\/h3>\n<p><strong><span class=\"TextRun SCXW191508348 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW191508348 BCX8\">d<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW191508348 BCX8\">efine(<\/span><span class=\"NormalTextRun SCXW191508348 BCX8\">&#8216;WP_<\/span><span class=\"NormalTextRun SCXW191508348 BCX8\">D<\/span><span class=\"NormalTextRun SCXW191508348 BCX8\">EBUG&#8217;, false);<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW191508348 BCX8\"><span class=\"SCXW191508348 BCX8\">\u00a0<\/span><br class=\"SCXW191508348 BCX8\" \/><\/span><span class=\"TextRun SCXW191508348 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW191508348 BCX8\">d<\/span><span class=\"NormalTextRun SCXW191508348 BCX8\">efine(&#8216;WP_<\/span><span class=\"NormalTextRun SCXW191508348 BCX8\">D<\/span><span class=\"NormalTextRun SCXW191508348 BCX8\">EBUG_<\/span><span class=\"NormalTextRun SCXW191508348 BCX8\">D<\/span><span class=\"NormalTextRun SCXW191508348 BCX8\">ISPLAY&#8217;, fals<\/span><span class=\"NormalTextRun SpellingErrorV2Themed SCXW191508348 BCX8\">e);<\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SpellingErrorV2Themed SCXW191508348 BCX8\"><span class=\"SCXW191508348 BCX8\">\u00a0<\/span><br class=\"SCXW191508348 BCX8\" \/><\/span>define(&#8216;WP_DEBUG_LOG&#8217;, false);<br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong><span class=\"TextRun SCXW248813150 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW248813150 BCX8\" data-ccp-parastyle=\"heading 3\">If you use<\/span><span class=\"NormalTextRun SCXW248813150 BCX8\" data-ccp-parastyle=\"heading 3\">d<\/span><span class=\"NormalTextRun SCXW248813150 BCX8\" data-ccp-parastyle=\"heading 3\"> WP <\/span><span class=\"NormalTextRun SCXW248813150 BCX8\" data-ccp-parastyle=\"heading 3\">D<\/span><span class=\"NormalTextRun SCXW248813150 BCX8\" data-ccp-parastyle=\"heading 3\">ebugging plugin:<\/span><\/span><span class=\"EOP SCXW248813150 BCX8\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">\u00a0<\/span><\/strong><\/h3>\n<ul>\n<li><span data-contrast=\"none\">Go to Tools &gt;&gt; WP Debugging<\/span><\/li>\n<li><span class=\"TextRun SCXW228132457 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW228132457 BCX8\">Uncheck all options<\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW151331816 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151331816 BCX8\">D<\/span><span class=\"NormalTextRun SCXW151331816 BCX8\">eactivate or <\/span><span class=\"NormalTextRun SCXW151331816 BCX8\">d<\/span><span class=\"NormalTextRun SCXW151331816 BCX8\">elete<\/span><span class=\"NormalTextRun SCXW151331816 BCX8\"> plugin<\/span><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2 aria-level=\"2\"><b><span data-contrast=\"none\">Recommended Reference Links<\/span><\/b><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"10\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><a href=\"https:\/\/developer.wordpress.org\/apis\/wp-config-php\/\"><span data-contrast=\"none\">Official WordPress wp-config.php documentation<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/li>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"10\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><a href=\"https:\/\/www.php.net\/manual\/en\/function.error-log.php\"><span data-contrast=\"none\">PHP error logging documentation (PHP Manual)<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2 aria-level=\"2\"><b><span data-contrast=\"none\">Best Practices<\/span><\/b><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Don\u2019t keep debug mode active permanently.<\/span><\/li>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Avoid displaying errors on live websites.<\/span><\/li>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Always maintain a backup before editing wp-config.php.<\/span><\/li>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Additionally, Use debug logs instead of showing errors to visitors.<\/span><\/li>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559683&quot;:0,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Share your debug.log with bodHOST support for faster troubleshooting.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2 aria-level=\"2\"><b><span data-contrast=\"none\">Conclusion<\/span><\/b><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h2>\n<p>WP debug mode is one of the simplest and most effective tools for troubleshooting WordPress errors. Additionally, you can use either the WordPress Debugging plugin or the manual wp-config method to identify the root cause of issues. Likewise, when you enable debug mode responsibly and follow best practices, you can resolve problems quickly and keep your website safe.<\/p>\n<p><span data-contrast=\"auto\">If you are using Bodhost, our team is always available to check your debug logs and help you fix any errors.<\/span><\/p>\n<p>You can also, check out the latest guide on: <a class=\"row-title\" href=\"https:\/\/www.bodhost.com\/kb\/find-wordpress-error-logs\/\" aria-label=\"\u201cHow to Access and Monitor WordPress Error Logs\u201d (Edit)\">How to Access and Monitor WordPress Error Logs<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WP debug mode helps you identify issues inside your WordPress site by showing hidden errors, warnings, and PHP notices. Whether a plugin misbehaves, a theme update breaks your layout, or&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[863],"tags":[1670],"class_list":["post-14879","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-how-to-enable-wordpress-debug-mode"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Enable WP Debug Mode in WordPress \u2013 Quick Guide<\/title>\n<meta name=\"description\" content=\"Learn how to enable WP debug mode in Wordpress using wp-config.php or a plugin. Easy guide to view errors, create debug logs, and fix issues.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable WP Debug Mode in WordPress \u2013 Quick Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to enable WP debug mode in Wordpress using wp-config.php or a plugin. Easy guide to view errors, create debug logs, and fix issues.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-27T06:04:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:02:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config.png\" \/>\n\t<meta property=\"og:image:width\" content=\"377\" \/>\n\t<meta property=\"og:image:height\" content=\"217\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeremy Calvey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeremy Calvey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/\"},\"author\":{\"name\":\"Jeremy Calvey\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c2e191984f325f22f63e6d0ad3247984\"},\"headline\":\"How to Enable WP Debug Mode\",\"datePublished\":\"2025-11-27T06:04:43+00:00\",\"dateModified\":\"2026-02-26T14:02:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/\"},\"wordCount\":807,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/2-go-to-wp-config.png\",\"keywords\":[\"How to Enable Wordpress Debug Mode\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/\",\"name\":\"How to Enable WP Debug Mode in WordPress \u2013 Quick Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/2-go-to-wp-config.png\",\"datePublished\":\"2025-11-27T06:04:43+00:00\",\"dateModified\":\"2026-02-26T14:02:05+00:00\",\"description\":\"Learn how to enable WP debug mode in Wordpress using wp-config.php or a plugin. Easy guide to view errors, create debug logs, and fix issues.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/2-go-to-wp-config.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/2-go-to-wp-config.png\",\"width\":377,\"height\":217,\"caption\":\"go to wp config\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-enable-wp-debug-mode\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable WP Debug Mode\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c2e191984f325f22f63e6d0ad3247984\",\"name\":\"Jeremy Calvey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4b58903745324ec9ff9fd61ee782b1770de124b75d1291d27f4321f090c9116?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4b58903745324ec9ff9fd61ee782b1770de124b75d1291d27f4321f090c9116?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4b58903745324ec9ff9fd61ee782b1770de124b75d1291d27f4321f090c9116?s=96&d=mm&r=g\",\"caption\":\"Jeremy Calvey\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/jeremyc\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable WP Debug Mode in WordPress \u2013 Quick Guide","description":"Learn how to enable WP debug mode in Wordpress using wp-config.php or a plugin. Easy guide to view errors, create debug logs, and fix issues.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/","og_locale":"en_US","og_type":"article","og_title":"How to Enable WP Debug Mode in WordPress \u2013 Quick Guide","og_description":"Learn how to enable WP debug mode in Wordpress using wp-config.php or a plugin. Easy guide to view errors, create debug logs, and fix issues.","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2025-11-27T06:04:43+00:00","article_modified_time":"2026-02-26T14:02:05+00:00","og_image":[{"width":377,"height":217,"url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config.png","type":"image\/png"}],"author":"Jeremy Calvey","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jeremy Calvey","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/"},"author":{"name":"Jeremy Calvey","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c2e191984f325f22f63e6d0ad3247984"},"headline":"How to Enable WP Debug Mode","datePublished":"2025-11-27T06:04:43+00:00","dateModified":"2026-02-26T14:02:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/"},"wordCount":807,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config.png","keywords":["How to Enable Wordpress Debug Mode"],"articleSection":["WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/","name":"How to Enable WP Debug Mode in WordPress \u2013 Quick Guide","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/#primaryimage"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config.png","datePublished":"2025-11-27T06:04:43+00:00","dateModified":"2026-02-26T14:02:05+00:00","description":"Learn how to enable WP debug mode in Wordpress using wp-config.php or a plugin. Easy guide to view errors, create debug logs, and fix issues.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/#primaryimage","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/11\/2-go-to-wp-config.png","width":377,"height":217,"caption":"go to wp config"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-enable-wp-debug-mode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"WordPress","item":"https:\/\/www.bodhost.com\/kb\/category\/wordpress\/"},{"@type":"ListItem","position":2,"name":"How to Enable WP Debug Mode"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c2e191984f325f22f63e6d0ad3247984","name":"Jeremy Calvey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b4b58903745324ec9ff9fd61ee782b1770de124b75d1291d27f4321f090c9116?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b4b58903745324ec9ff9fd61ee782b1770de124b75d1291d27f4321f090c9116?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b4b58903745324ec9ff9fd61ee782b1770de124b75d1291d27f4321f090c9116?s=96&d=mm&r=g","caption":"Jeremy Calvey"},"url":"https:\/\/www.bodhost.com\/kb\/author\/jeremyc\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/14879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=14879"}],"version-history":[{"count":9,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/14879\/revisions"}],"predecessor-version":[{"id":14895,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/14879\/revisions\/14895"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=14879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=14879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=14879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}