{"id":31160,"date":"2020-05-13T12:34:34","date_gmt":"2020-05-13T09:34:34","guid":{"rendered":"https:\/\/themeisle.com\/blog\/?p=31160"},"modified":"2023-11-16T15:28:32","modified_gmt":"2023-11-16T13:28:32","slug":"wordpress-error-log-debug","status":"publish","type":"post","link":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/","title":{"rendered":"How to Turn on WordPress Error Log (Using Debug Mode)"},"content":{"rendered":"\n<p>When it comes to managing your website, dealing with issues like plugin conflicts and coding errors can be a bit tricky. But don&#8217;t worry, we&#8217;ve got your back! In this guide, we&#8217;ll walk you through setting up a WordPress error log. Think of it as a journal that keeps track of error codes and timestamps on your site. It&#8217;s your troubleshooting buddy, and we&#8217;ll show you how to use it in debug mode. Let&#8217;s dive in!<\/p>\n\n\n\n<div class=\"wp-block-group keyt\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong>Key Takeaways<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Activating WordPress debug mode requires adding simple code to your&nbsp;<code>wp-config.php<\/code>&nbsp;file, making error tracking easier.<\/li>\n\n\n\n<li>To keep your site secure and user-friendly, ensure errors are logged but not displayed publicly by tweaking your debug settings.<\/li>\n\n\n\n<li>For those less comfortable with code, using a plugin like WP Debugging can automate the process, streamlining error management.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<p>\ud83d\udcda <strong>Table of contents<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#when-set-wp-error-log\">When should you set up a WordPress error log?<\/a><\/li>\n\n\n\n<li><a href=\"#how-set-wp-error-log\">How to set up a WordPress error log<\/a>\n<ul class=\"wp-block-list\">\n<li>Step 1: <a href=\"#step-1\">Access and edit the wp-config.php file<\/a><\/li>\n\n\n\n<li>Step 2: <a href=\"#step-2\">Add a line of code in the wp-config.php file to turn on debug mode<\/a><\/li>\n\n\n\n<li>Step 3: <a href=\"#step-3\">But wait! I don\u2019t want the errors to show on the frontend of my website<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#how-use-wp-error-log\">How to use a WordPress error log plugin<\/a><\/li>\n\n\n\n<li><a href=\"#checking-wp-logs\">Checking your WordPress error logs<\/a><\/li>\n\n\n\n<li><a href=\"#how-to-fix\">How to fix issues that you discover in the error log<\/a><\/li>\n<\/ul>\n\n\n\n\t\t<div class='ti-tweet-clear'><\/div>\n\t\t\t<div class='ti-tweet_wrapper'>\n\t\t    \t<div class='ti-tweet_text'>\n\t\t    \t\t<a href='https:\/\/twitter.com\/share?text=Problems+on+your+%23WordPress+%23website%3F+Here%27s+how+to+enable+error+logging+%F0%9F%A4%AF&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/' target='_blank' rel='nofollow'>Problems on your #WordPress #website? Here's how to enable error logging \ud83e\udd2f<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class='ti-tweet_sharebtn'>\n\t\t    \t<a href='https:\/\/twitter.com\/share?text=Problems+on+your+%23WordPress+%23website%3F+Here%27s+how+to+enable+error+logging+%F0%9F%A4%AF&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/' target='_blank' rel='nofollow'>Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"when-set-wp-error-log\">When should you set up a WordPress error log?<\/h2>\n\n\n\n<p>Consider setting up a WordPress error log in the following situations:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When you see a blank screen while trying to load your website. <\/li>\n\n\n\n<li>When a warning with an error code (401, 404, 500, etc.) appears.<\/li>\n\n\n\n<li>If your <a href=\"https:\/\/themeisle.com\/blog\/wordpress-crashed\/\">entire site crashes<\/a>.<\/li>\n\n\n\n<li>If you&#8217;re noticing slow <a href=\"https:\/\/themeisle.com\/blog\/website-speed-optimization\/\">website performance<\/a>. <\/li>\n\n\n\n<li>If a plugin or theme isn&#8217;t working properly.<\/li>\n\n\n\n<li>If you&#8217;re curious as to which plugins or themes are causing performance issues. <\/li>\n<\/ul>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-set-wp-error-log\">How to set up a WordPress error log<\/h2>\n\n\n\n<p>As is often the case with WordPress, you have two routes to enable error logging with <a href=\"https:\/\/themeisle.com\/blog\/debug-mode-in-wordpress\/\">WordPress debug mode<\/a>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Manually<\/li>\n\n\n\n<li>With a plugin<\/li>\n<\/ol>\n\n\n\n<p>We&#8217;ll start by showing you the manual method, which just involves adding a few code snippets to your site&#8217;s <code>wp-config.php<\/code> file.<\/p>\n\n\n\n<p>Then, if you want an even simpler option for error logging, we&#8217;ll share a free plugin that can get the job done.<\/p>\n\n\n\n<p>Here&#8217;s how to do it manually&#8230;<\/p>\n\n\n\n<p><a href=\"#plugin\"><em>Click here if you&#8217;d rather jump to the plugin<\/em><\/a> \ud83d\udc48<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1\">Step 1: Access and edit the wp-config.php file \ud83d\uddb1\ufe0f<\/h3>\n\n\n\n<p>If you&#8217;re not familiar with <a href=\"https:\/\/themeisle.com\/blog\/wp-config-php\/\">your <code>wp-config.php<\/code> file<\/a>, it&#8217;s one of <a href=\"https:\/\/themeisle.com\/blog\/wordpress-core-files\/\">the core files<\/a> for holding important configuration details, like the credentials for your site&#8217;s database.<\/p>\n\n\n\n<p>To access the <code>wp-config.php<\/code> file, either download and use <a href=\"https:\/\/wpshout.com\/best-ftp-clients\/\" target=\"_blank\" rel=\"noopener\">an FTP client<\/a> or a file manager tool in your host&#8217;s cPanel. <\/p>\n\n\n\n<p><a href=\"https:\/\/themeisle.com\/blog\/what-is-ftp-wordpress\/\">How to use FTP to connect to WordPress<\/a> \ud83d\udc48<\/p>\n\n\n\n<p>For this tutorial, we&#8217;ll cover the steps to access and edit your <code>wp-config.php<\/code> file with an FTP client. <\/p>\n\n\n\n<p>In your FTP client, locate the <code>wp-config.php<\/code> file. This is normally in the <a href=\"https:\/\/themeisle.com\/blog\/root-directory\/\">root site directory<\/a>. <\/p>\n\n\n<div class=\"wp-block-image blog-img-std\">\n<figure class=\"aligncenter size-full\"><img data-opt-id=272837126  fetchpriority=\"high\" decoding=\"async\" width=\"1167\" height=\"410\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg\" alt=\"access wp-config.php to enable WordPress error log.\" class=\"wp-image-31167\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1167\/h:410\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 1167w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:105\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:360\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:270\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:18\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:169\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:279\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:104\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:137\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:95\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1167\/h:410\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/config.jpg 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n<p>Upon finding the file, right-click on it and select to edit or view the file. You&#8217;ll want to open the file in a text editor. <\/p>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2\">Step 2: Add a line of code in the wp-config.php file to turn on debug mode \ud83d\udc68\u200d\ud83d\udcbb<\/h3>\n\n\n\n<p>Inside your text editor, search for a line of text that reads <code>Stop editing! Happy blogging<\/code>.<\/p>\n\n\n\n<p>Place your cursor on the empty line above that line of text. <\/p>\n\n\n\n<p>Paste in the following code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_DEBUG', true );<\/code><\/pre>\n\n\n\n<p>If you already notice this line of code in the file, it may currently be set to <code>false<\/code>. If that&#8217;s the case, switch it to <code>true<\/code>. <\/p>\n\n\n\n<p>Afterward, save the file to your computer and upload the <code>wp-config.php<\/code> file as an update to your website. This is done through the FTP client. <\/p>\n\n\n\n<p>Great! Now debugging mode is activated for your WordPress site. <\/p>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3\">Step 3: But wait! I don&#8217;t want the errors to show on the frontend of my website \u26a0\ufe0f<\/h3>\n\n\n\n<p>If you took a moment to check your dashboard or the frontend of your site, you may have already seen WordPress errors listed for everyone to see. This may not seem like a big deal if they show up on the WordPress dashboard, but you definitely don&#8217;t want the warnings on the frontend. <\/p>\n\n\n\n<p>Not only is publicly displaying errors confusing for your visitors, but it can also be a security risk because it gives them detailed information about your site.<\/p>\n\n\n\n<p>In short, debugging mode is messy when activated by itself. <\/p>\n\n\n\n<p>Therefore, we need to log the errors in WordPress so they are recorded but not publicly displayed. <\/p>\n\n\n\n<p>To log your errors, go back to that exact same <code>wp-config.php<\/code> file in the text editor. <\/p>\n\n\n\n<p>Look at the debug code you recently pasted into the file. Paste the following new code on the empty line below the debug code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Enable Debug logging to the \/wp-content\/debug.log file\ndefine( 'WP_DEBUG_LOG', true );\n\n\/\/ Disable display of errors and warnings\ndefine( 'WP_DEBUG_DISPLAY', false );\n@ini_set( 'display_errors', 0 );<\/code><\/pre>\n\n\n\n<p>Again, in some situations you might discover that the debug log code is already included. For that, simply make sure that the <code>false<\/code> at the end of the code is changed to <code>true<\/code>.<\/p>\n\n\n\n<p>The first line tells WordPress to save error messages to a file called <code>debug.log<\/code>. The second snippet tells WordPress not to publicly display error messages.<\/p>\n\n\n\n<p>Now, your error messages will be safely saved in the log file, but neither you nor your visitors will have to see error messages while browsing your site.<\/p>\n\n\n\n<p>For a second time, save the <code>wp-config.php<\/code> file in your file editor and upload it back to your WordPress website. <\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-use-wp-error-log\">How to use a WordPress error log plugin<\/h2>\n\n\n\n<p>If you don&#8217;t feel comfortable working directly with your site&#8217;s configuration file, you can also use the free WP Debugging plugin:<\/p>\n\n\n<div class=\"wp-pic-wrapper align-center large\" style=\"margin:20px 0;\"><div class=\"wp-pic large plugin wp-pic-ajax scheme2\"  id=\"wp-pic-wp-debugging\"data-type=\"plugin\" data-slug=\"wp-debugging\" data-image=\"\" data-expiration=\"\"  data-layout=\"large\" data-slugs=\"[]\" ><div class=\"wp-pic-body-loading\"><div class=\"signal\"><\/div><\/div><\/div><\/div><!-- .wp-pic-wrapper--><link rel='stylesheet' id='dashicons-css' href='https:\/\/themeisle.com\/blog\/wp-includes\/css\/dashicons.min.css?ver=6.8.5' type='text\/css' media='all' \/>\n<link rel='stylesheet' id='wppic-style-css' href='https:\/\/themeisle.com\/blog\/wp-content\/plugins\/wp-plugin-info-card\/dist\/wppic-styles.css?ver=6.1.1' type='text\/css' media='all' \/>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-includes\/js\/jquery\/jquery.min.js?ver=3.7.1\" id=\"jquery-core-js\"><\/script>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-includes\/js\/jquery\/jquery-migrate.min.js?ver=3.4.1\" id=\"jquery-migrate-js\"><\/script>\n<script type=\"text\/javascript\" id=\"wppic-script-js-extra\">\n\/* <![CDATA[ *\/\nvar wppicAjax = {\"ajaxurl\":\"https:\\\/\\\/themeisle.com\\\/blog\\\/wp-admin\\\/admin-ajax.php\"};\n\/* ]]> *\/\n<\/script>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-content\/plugins\/wp-plugin-info-card\/assets\/js\/wppic-script.min.js?ver=6.1.1\" id=\"wppic-script-js\"><\/script>\n\n\n\n\n<p>As soon as you activate the plugin, it instantly activates WordPress debug mode and enables error logging. It also lets you control whether or not to display debug messages on your site by visiting <strong>Tools -&gt; WP Debugging<\/strong>.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"checking-wp-logs\">Checking your WordPress error logs<\/h2>\n\n\n\n<p>We&#8217;re assuming you already know the website pages that are alerting you of errors. <\/p>\n\n\n\n<p>You must visit these pages now that the debugging log is configured and ready to store the errors. <\/p>\n\n\n\n<p>Reconnect to your website files using the FTP client. You can also connect via your host&#8217;s cPanel. <\/p>\n\n\n\n<p>Go to the <code>\/wp-content\/<\/code> folder. <\/p>\n\n\n<div class=\"wp-block-image blog-img-std\">\n<figure class=\"aligncenter size-full\"><img data-opt-id=719531762  fetchpriority=\"high\" decoding=\"async\" width=\"900\" height=\"226\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg\" alt=\"the wp-content folder contains the WordPress error log file.\" class=\"wp-image-31164\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:900\/h:226\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 900w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:75\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:193\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:13\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:121\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:199\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:74\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:98\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:68\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:900\/h:226\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/content-d.jpg 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n<p>Open that folder and look for a file called <code>debug.log<\/code>. <\/p>\n\n\n\n<p>This is the file you created from the previous steps. <\/p>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">What should I do with this debug log file?<\/h3>\n\n\n\n<p>The <code>debug.log<\/code> file is accessible by editing, viewing, or downloading the file. It&#8217;s similar to the previous steps, where you might either just preview the file to look at it or open it in a file editor to make changes and save it for later. <\/p>\n\n\n\n<p>Overall, a debug log file is for reference, not for editing. Therefore, you have to sift through the list of errors and warnings to identify what&#8217;s wrong with your site, theme, plugins, or code. <\/p>\n\n\n<div class=\"wp-block-image blog-img-std\">\n<figure class=\"aligncenter size-full\"><img data-opt-id=49918556  fetchpriority=\"high\" decoding=\"async\" width=\"1143\" height=\"188\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg\" alt=\"error log \" class=\"wp-image-31165\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1143\/h:188\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 1143w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:49\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:168\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:126\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:8\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:79\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:131\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:49\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:64\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:44\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1143\/h:188\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/error-log.jpg 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n<p>For most people, the error log codes mean nothing. If anything, it&#8217;s closer to gibberish than English. However, you don&#8217;t want to forget about those errors. <\/p>\n\n\n\n<p>Your resolution steps should go like this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You identify an error with the debug log. <\/li>\n\n\n\n<li>You find the error code. <\/li>\n\n\n\n<li>You look up what that error code means.<\/li>\n\n\n\n<li>You utilize a separate guide to fix that error. <\/li>\n<\/ul>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-fix\">How to fix issues that you discover in the error log<\/h2>\n\n\n\n<p>Unfortunately, there&#8217;s no one-size-fits-all approach to fixing problems that you might discover in your site&#8217;s error log.<\/p>\n\n\n\n<p>However, we do have lots of existing posts on how to fix common WordPress errors:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/themeisle.com\/blog\/wordpress-troubleshooting-beginners-guide\/\">A beginner&#8217;s guide to WordPress troubleshooting<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/themeisle.com\/blog\/what-are-http-error-codes\/\">The most common HTTP error codes and how to fix them<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/themeisle.com\/blog\/wordpress-plugin-check\/\">A guide for checking for plugin compatibility issues<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/themeisle.com\/blog\/what-is-401-error-code\/\">What is a 401 error and how do you fix it?<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/themeisle.com\/blog\/fix-404-errors-in-wordpress\/\">How to fix any 404 errors with redirects<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/themeisle.com\/blog\/wordpress-internal-server-error-fix\/\">How to fix the 500 internal server error in WordPress<\/a>   <\/li>\n\n\n\n<li><a href=\"https:\/\/themeisle.com\/blog\/error-establishing-database-connection-wordpress\/\">4 ways to fix an error when establishing a database connection<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/themeisle.com\/blog\/fix-white-screen-of-death-in-wordpress\/\">How to fix the white screen of death<\/a> <\/li>\n<\/ul>\n\n\n\n<p>If you&#8217;re still not sure how to fix the issues in your log file, you might want to <a href=\"https:\/\/themeisle.com\/blog\/wordpress-developers\/\">hire a WordPress developer<\/a> to do it for you &#8211; here are <a href=\"https:\/\/themeisle.com\/blog\/hire-a-wordpress-developer\/\">some tips to find the right developer<\/a>.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><a href=\"#\" style=\"color:#999999\">Go to top<\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Do you have any questions about how to set up a WordPress error log?<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Even looking at bits of code feels intimidating for the average WordPress user. <\/p>\n\n\n\n<p>The good news is that setting up a WordPress error log only takes two small snippets of code.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n\t\t<div class='ti-tweet-clear'><\/div>\n\t\t\t<div class='ti-tweet_wrapper'>\n\t\t    \t<div class='ti-tweet_text'>\n\t\t    \t\t<a href='https:\/\/twitter.com\/share?text=Problems+on+your+%23WordPress+%23website%3F+Here%27s+how+to+enable+error+logging+%F0%9F%A4%AF&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/' target='_blank' rel='nofollow'>Problems on your #WordPress #website? Here's how to enable error logging \ud83e\udd2f<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class='ti-tweet_sharebtn'>\n\t\t    \t<a href='https:\/\/twitter.com\/share?text=Problems+on+your+%23WordPress+%23website%3F+Here%27s+how+to+enable+error+logging+%F0%9F%A4%AF&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/' target='_blank' rel='nofollow'>Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n<\/div>\n<\/div>\n\n\n\n<p><strong><em>If you have trouble activating your WordPress error log, or questions on how to fix them, let us know in the comments below!<\/em><\/strong> <\/p>\n\n\n<style>.ticss-d144f107 strong{font-weight: 700;\n    letter-spacing: -0.2px;\n    line-height: 1.2;\n    display: inline-block;}<\/style>\n\n\n<div class=\"wp-block-columns speed-guide has-white-color has-text-color has-background has-link-color wp-elements-2f81f6c5526477b5b4d52d1ca4513949 is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#4267cf\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:40%\">\n<figure class=\"wp-block-image size-medium\"><img data-opt-id=30701221  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\"  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\" \/><noscript><img data-opt-id=30701221  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\" sizes=\"(max-width: 300px) 100vw, 300px\" \/></noscript><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center ticss-58e79f2f\" style=\"font-size:14px\"><strong>FREE GUIDE<\/strong><\/p>\n\n\n\n<p class=\"ticss-d144f107\" style=\"font-size:25px\"><strong>4 Essential Steps to Speed Up Your&nbsp;WordPress Website<\/strong><\/p>\n\n\n\n<p class=\"ticss-3b627beb\">Follow the simple steps in our 4-part mini series and reduce your loading times by 50-80%.&nbsp;\ud83d\ude80<\/p>\n\n\n<p><div class=\"frm_forms  with_frm_style frm_style_themeisle\" id=\"frm_form_4_container\" data-token=\"070f6a2e6c757d51d88e95dd83fc2573\">\n<form enctype=\"multipart\/form-data\" method=\"post\" class=\"frm-show-form  frm_pro_form \" id=\"form_site-speed-guide-below-post\" data-token=\"070f6a2e6c757d51d88e95dd83fc2573\">\n<div class=\"frm_form_fields \">\n<fieldset>\n<legend class=\"frm_screen_reader\">Site Speed Guide - Below Post<\/legend>\r\n\r\n<div class=\"frm_fields_container\">\n<input type=\"hidden\" name=\"frm_action\" value=\"create\" \/>\n<input type=\"hidden\" name=\"form_id\" value=\"4\" \/>\n<input type=\"hidden\" name=\"frm_hide_fields_4\" id=\"frm_hide_fields_4\" value=\"\" \/>\n<input type=\"hidden\" name=\"form_key\" value=\"site-speed-guide-below-post\" \/>\n<input type=\"hidden\" name=\"item_meta[0]\" value=\"\" \/>\n<input type=\"hidden\" id=\"frm_submit_entry_4\" name=\"frm_submit_entry_4\" value=\"a54c34454d\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/31160\" \/><input type=\"hidden\" name=\"item_meta[18]\" id=\"field_6px6q2\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/31160\"  data-frmval=\"\/blog\/wp-json\/wp\/v2\/posts\/31160\"   \/>\n<div id=\"frm_field_15_container\" class=\"frm_form_field form-field  frm_required_field frm_none_container\">\r\n\t<label for=\"field_6px6q\" id=\"field_6px6q_label\" class=\"frm_primary_label\">Your Email\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\">*<\/span>\r\n\t<\/label>\r\n\t<input type=\"email\" id=\"field_6px6q\" name=\"item_meta[15]\" value=\"\"  autocomplete=\"email\"  placeholder=\"your@email.com\" data-reqmsg=\"Your Email cannot be blank.\" aria-required=\"true\" data-invmsg=\"Your Email is invalid\" aria-invalid=\"false\"  \/>\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_17_container\" class=\"frm_form_field form-field  frm_none_container vertical_radio\">\r\n\t<div  id=\"field_6px6q3_label\" class=\"frm_primary_label\">Subscribe to our newsletter\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\"><\/span>\r\n\t<\/div>\r\n\t<div class=\"frm_opt_container\" aria-labelledby=\"field_6px6q3_label\" role=\"group\">\t\t<div class=\"frm_checkbox\" id=\"frm_checkbox_17-0\">\t\t\t<label  for=\"field_6px6q3-0\">\n\t\t\t<input type=\"checkbox\" name=\"item_meta[17][]\" id=\"field_6px6q3-0\" value=\"true\"  data-invmsg=\"Subscribe to our newsletter is invalid\" aria-invalid=\"false\"   \/> Subscribe to our newsletter<\/label><\/div>\n<\/div>\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_14_container\" class=\"frm_form_field form-field \">\r\n\t<div class=\"frm_submit frm_flex\">\r\n<button class=\"frm_button_submit frm_final_submit\" type=\"submit\"   formnovalidate=\"formnovalidate\">FREE ACCESS<\/button>\r\n\r\n\r\n\r\n<\/div>\r\n<\/div>\n\t<input type=\"hidden\" name=\"item_key\" value=\"\" \/>\n\t\t\t<div id=\"frm_field_24_container\">\n\t\t\t<label for=\"field_7348v\" >\n\t\t\t\tIf you are human, leave this field blank.\t\t\t<\/label>\n\t\t\t<input  id=\"field_7348v\" type=\"text\" class=\"frm_form_field form-field frm_verify\" name=\"item_meta[24]\" value=\"\"  \/>\n\t\t<\/div>\n\t\t<input name=\"frm_state\" type=\"hidden\" value=\"tGKtIG19U6wyYcew8uBttUMqISUwW1vOW53Q4j+nmG0wF9M0QAXa6pd1+Qu8+H8p\" \/><\/div>\n<\/fieldset>\n<\/div>\n\n<p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"ak_\"><label>&#916;<textarea name=\"ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"ak_js\" value=\"73\"\/><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><\/form>\n<\/div>\n<\/p>\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"When it comes to managing your website, dealing with issues like plugin conflicts and coding errors can be a bit tricky. But don&#8217;t worry, we&#8217;ve got your back! In this guide, we&#8217;ll walk you through setting up a WordPress error log. Think of it as a journal that keeps track of error codes and timestamps&#8230;","protected":false},"author":36,"featured_media":97498,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_stopmodifiedupdate":false,"_modified_date":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[272],"tags":[],"hashtags":[],"class_list":["post-31160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tutorials"],"wppr_data":{"cwp_meta_box_check":"No"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.8 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Turn on WordPress Error Log (Using Debug Mode)<\/title>\n<meta name=\"description\" content=\"Turn on a WordPress error log to identify errors and warnings. Use this to figure out what&#039;s wrong with your site and fix the problems.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Turn on WordPress Error Log (Using Debug Mode)\" \/>\n<meta property=\"og:description\" content=\"Turn on a WordPress error log to identify errors and warnings. Use this to figure out what&#039;s wrong with your site and fix the problems.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/\" \/>\n<meta property=\"og:site_name\" content=\"Themeisle Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-13T09:34:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-16T13:28:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2180\" \/>\n\t<meta property=\"og:image:height\" content=\"1090\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Joe Warnimont\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JoeWarnimont\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joe Warnimont\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/\"},\"author\":{\"name\":\"Joe Warnimont\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/f17b6e6952cd99fb1440f2ea7542a142\"},\"headline\":\"How to Turn on WordPress Error Log (Using Debug Mode)\",\"datePublished\":\"2020-05-13T09:34:34+00:00\",\"dateModified\":\"2023-11-16T13:28:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/\"},\"wordCount\":1532,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png\",\"articleSection\":[\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/\",\"url\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/\",\"name\":\"How to Turn on WordPress Error Log (Using Debug Mode)\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png\",\"datePublished\":\"2020-05-13T09:34:34+00:00\",\"dateModified\":\"2023-11-16T13:28:32+00:00\",\"description\":\"Turn on a WordPress error log to identify errors and warnings. Use this to figure out what\\\\'s wrong with your site and fix the problems.\",\"breadcrumb\":{\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#primaryimage\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png\",\"width\":2180,\"height\":1090,\"caption\":\"WordPress error log.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/themeisle.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Turn on WordPress Error Log (Using Debug Mode)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/themeisle.com\/blog\/#website\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"name\":\"Themeisle Blog\",\"description\":\"WordPress Tutorials and Reviews for Beginners and Advanced\",\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/themeisle.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\",\"name\":\"VertiStudio\",\"alternateName\":\"Vertigo Studio SA\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"width\":718,\"height\":156,\"caption\":\"VertiStudio\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/f17b6e6952cd99fb1440f2ea7542a142\",\"name\":\"Joe Warnimont\",\"description\":\"Joe Warnimont is a seasoned writer with more than 10 years of experience covering topics such as WordPress, web hosting, eCommerce platforms, and social media. His educational background paved the way for a multifaceted marketing and web design career at talent agencies, production studios, and a software company specializing in golf courses. Joe resides in Chicago, writing for tech brands and publications like Themeisle and HostingAdvice.\",\"sameAs\":[\"https:\/\/joewarnimont.com\/\",\"https:\/\/www.linkedin.com\/in\/joewarnimont\/\",\"https:\/\/x.com\/JoeWarnimont\"],\"url\":\"https:\/\/themeisle.com\/blog\/author\/joe-w\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Turn on WordPress Error Log (Using Debug Mode)","description":"Turn on a WordPress error log to identify errors and warnings. Use this to figure out what&#039;s wrong with your site and fix the problems.","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:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/","og_locale":"en_US","og_type":"article","og_title":"How to Turn on WordPress Error Log (Using Debug Mode)","og_description":"Turn on a WordPress error log to identify errors and warnings. Use this to figure out what&#039;s wrong with your site and fix the problems.","og_url":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/","og_site_name":"Themeisle Blog","article_published_time":"2020-05-13T09:34:34+00:00","article_modified_time":"2023-11-16T13:28:32+00:00","og_image":[{"width":2180,"height":1090,"url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png","type":"image\/png"}],"author":"Joe Warnimont","twitter_card":"summary_large_image","twitter_creator":"@JoeWarnimont","twitter_misc":{"Written by":"Joe Warnimont","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#article","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/"},"author":{"name":"Joe Warnimont","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/f17b6e6952cd99fb1440f2ea7542a142"},"headline":"How to Turn on WordPress Error Log (Using Debug Mode)","datePublished":"2020-05-13T09:34:34+00:00","dateModified":"2023-11-16T13:28:32+00:00","mainEntityOfPage":{"@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/"},"wordCount":1532,"commentCount":0,"publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"image":{"@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png","articleSection":["WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/","url":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/","name":"How to Turn on WordPress Error Log (Using Debug Mode)","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#primaryimage"},"image":{"@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png","datePublished":"2020-05-13T09:34:34+00:00","dateModified":"2023-11-16T13:28:32+00:00","description":"Turn on a WordPress error log to identify errors and warnings. Use this to figure out what\\'s wrong with your site and fix the problems.","breadcrumb":{"@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#primaryimage","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2020\/05\/WordPress-error-log.png","width":2180,"height":1090,"caption":"WordPress error log."},{"@type":"BreadcrumbList","@id":"https:\/\/themeisle.com\/blog\/wordpress-error-log-debug\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/themeisle.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Turn on WordPress Error Log (Using Debug Mode)"}]},{"@type":"WebSite","@id":"https:\/\/themeisle.com\/blog\/#website","url":"https:\/\/themeisle.com\/blog\/","name":"Themeisle Blog","description":"WordPress Tutorials and Reviews for Beginners and Advanced","publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/themeisle.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/themeisle.com\/blog\/#organization","name":"VertiStudio","alternateName":"Vertigo Studio SA","url":"https:\/\/themeisle.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","width":718,"height":156,"caption":"VertiStudio"},"image":{"@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/f17b6e6952cd99fb1440f2ea7542a142","name":"Joe Warnimont","description":"Joe Warnimont is a seasoned writer with more than 10 years of experience covering topics such as WordPress, web hosting, eCommerce platforms, and social media. His educational background paved the way for a multifaceted marketing and web design career at talent agencies, production studios, and a software company specializing in golf courses. Joe resides in Chicago, writing for tech brands and publications like Themeisle and HostingAdvice.","sameAs":["https:\/\/joewarnimont.com\/","https:\/\/www.linkedin.com\/in\/joewarnimont\/","https:\/\/x.com\/JoeWarnimont"],"url":"https:\/\/themeisle.com\/blog\/author\/joe-w\/"}]}},"_links":{"self":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/31160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/comments?post=31160"}],"version-history":[{"count":14,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/31160\/revisions"}],"predecessor-version":[{"id":97493,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/31160\/revisions\/97493"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media\/97498"}],"wp:attachment":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media?parent=31160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/categories?post=31160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/tags?post=31160"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/hashtags?post=31160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}