{"id":4505,"date":"2021-03-11T10:01:00","date_gmt":"2021-03-11T15:01:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2018\/05\/08\/how-to-enable-wordpress-debugging-using-wp-cli\/"},"modified":"2022-06-07T15:25:33","modified_gmt":"2022-06-07T19:25:33","slug":"how-to-enable-wordpress-debugging","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/","title":{"rendered":"How to Enable WordPress Debugging"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging-1024x538.png\" alt=\"Learn How to Enable WordPress Debugging Mode With WP-CLI and File Manager\" class=\"wp-image-69948\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>When your website is live and available to viewers, you will not want to advertise any error messages that can be displayed when WordPress debugging is enabled. This can lead to security issues or disruption to your website.  However, there are times when it may be necessary to enable WordPress debugging so that you can identify specific issues within your WordPress site. You can then use these errors to diagnose and resolve the problems.<\/p>\n\n\n\n<p class=\"alert alert-warning\"><strong>WordPress debugging<\/strong> is both a process to identify possible website issues and also a mode that can be enabled for your WordPress site for this same purpose.<\/p>\n\n\n\n<p>WordPress debugging can be enabled in the WordPress configuration file and also used with the new Site Health tool.\u00a0\u00a0In this guide, you will first learn how to verify if WordPress debugging is enabled. \u00a0We will then show you how to edit the WordPress configuration file to enable the built-in debugging option.\u00a0<br><br>We will also show you the commands for enabling and disabling debugging using WP-CLI. Finally, we\u2019ll cover how to enable debugging and error logging in cPanel using the File Manager.<\/p>\n\n\n\n<p class=\"alert alert-danger\">We recommend <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wordpress-backups\/\" aria-label=\" (opens in a new tab)\">backing up your WordPress site<\/a> before making any changes.<\/p>\n\n\n\n<ul class=\"wp-block-list\" id=\"block-0a2e4864-43f8-48ef-9619-a6e5fd0fa309\"><li><a href=\"#site-health\">Checking Site Health Tool for Debug Status<\/a><\/li><li><a href=\"#enable-debugging-wpconfig\">How to Enable WordPress Debugging in WPCONFIG.PHP<\/a><\/li><li><a href=\"#debugging-status\">Check Debugging Status With WP-CLI<\/a><\/li><li><a href=\"#wp-cli\">Enable WordPress Debugging Using WP-CLI<\/a><\/li><li><a href=\"#file-manager\">Enable WordPress Debugging Using File Manager<\/a><\/li><\/ul>\n\n\n\n<p>Need a new home for your WordPress site?  Check out InMotion\u2019s <a href=\"https:\/\/www.inmotionhosting.com\/wordpress-hosting?mktgp=t&amp;utm_source=blog&amp;utm_medium=link&amp;utm_campaign=blog\">WordPress Hosting<\/a> solutions for secure and performance-oriented servers.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jetpack-video-wrapper\"><div class=\"yt-FAd78CPQDMM\">\n\t<a class=\"play-video-FAd78CPQDMM\" style=\"position: relative; display: flex; flex-wrap: wrap; align-items: center; cursor: pointer;\">\n\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.ytimg.com\/vi_webp\/FAd78CPQDMM\/maxresdefault.webp\" width=\"1280\" height=\"720\" alt=\"How to Enable WordPress Debugging\" style=\"width: 100%; height: auto;\">\n\t\t<span class=\"fa fa-imh-play-circle imh-ds-icon play-circle\" style=\"position: absolute; display:block; font-size:150px; color: #c52228; opacity:0;\"><\/span>\n\t<\/a>\n<\/div><\/div>\n<\/div><figcaption>Don\u2019t have time to read our full article? Watch our walk-through video.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Checking Site Health Tool for Debug Status<\/h2>\n\n\n\n<p>WordPress comes with the option for debugging, but it is not enabled by default.\u00a0 You can easily check to see if debugging has been enabled using the Site Health option in WordPress Tools.\u00a0 Follow the steps below to check if debugging has been enabled on your WordPress site:<\/p>\n\n\n\n<ol id=\"site-health\" class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/logging-into-wordpress-dashboard\/\">Login to the WordPress Administrator<\/a>.<\/li><li>Go to <strong>Tools<\/strong> in the WordPress main menu and then click on <strong>Site Health<\/strong>.<\/li><li>You will then see the <strong>Site Health<\/strong> page.\u00a0 Debugging is considered a critical item by Site Health, so it will be the first item displayed if it is enabled.\u00a0 Here\u2019s an example of the alert in Site Health:<br><br><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"509\" class=\"wp-image-82548\" style=\"width: 600px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/example-site-health-page-1.jpg\" alt=\"Example Site health page\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/example-site-health-page-1.jpg 960w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/example-site-health-page-1-300x254.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/example-site-health-page-1-768x651.jpg 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><br><br>You can see that \u201cYour site is set to display errors to site visitors.\u201d Click on the drop-down arrow next to the <strong>Security<\/strong> label to see more details.<br><\/li><\/ol>\n\n\n\n<p>When debugging is set to display errors, this means that error messages will appear on the front end of your WordPress site when it is being viewed.\u00a0 Anyone seeing the error messages will automatically make assumptions about your website or believe something is wrong.  So it is often recommended that the debug mode be disabled when the site is actively being used by your visitors.<br><br>Here you can see the details provided when you click on the drop-down arrow:<br><br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"467\" class=\"wp-image-82549\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/site-health-check-debug-status-1.jpg\" alt=\"site health -debug status\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/site-health-check-debug-status-1.jpg 1398w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/site-health-check-debug-status-1-300x187.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/site-health-check-debug-status-1-1024x638.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/site-health-check-debug-status-1-768x478.jpg 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/p>\n\n\n\n<p>Note that you can see the details on how the debug mode has been enabled.\u00a0 They also provide the link for the direct documentation from WordPress on <a href=\"https:\/\/wordpress.org\/support\/article\/debugging-in-wordpress\/\">using their debug mode<\/a>.<\/p>\n\n\n\n<p>When debug mode is enabled, error messages will appear in the front end of your WordPress site.\u00a0 For example,<br><br><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"353\" class=\"wp-image-82550\" style=\"width: 600px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/front-end-error-message.jpg\" alt=\"Front end error message example\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/front-end-error-message.jpg 1118w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/front-end-error-message-300x176.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/front-end-error-message-1024x602.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/front-end-error-message-768x451.jpg 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"enable-debugging-wpconfig\">How to Enable WordPress Debugging in the wpconfig.php File<\/h2>\n\n\n\n<p>The Site Health tool gives you an overview of when the debugging mode in WordPress is enabled.\u00a0 You will still need to edit the wpconfig.php file in order to enable debugging. You will need to directly access your WordPress installation files in order to make the necessary file change.\u00a0 The wp-config.php file is a text file, so any text editor will let you edit the file once you can access it.<br><br>For this example, we are going to use the<a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/using-file-manager-in-cpanel\/\"> cPanel File Manager<\/a> to access the wp-config.php file.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log in to the cPanel<\/a> for your account.<\/li><li>Go to <strong>Files<\/strong> and click on <strong>File Manager<\/strong>.<\/li><li>Navigate to your WordPress site files.\u00a0 The wp-config.php file is located at the root of your WordPress installation files.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"462\" class=\"wp-image-88521\" style=\"width: 1000px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/file-manager-wp-files.jpg\" alt=\"file manager - WordPress files\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/file-manager-wp-files.jpg 1587w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/file-manager-wp-files-300x139.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/file-manager-wp-files-1024x473.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/file-manager-wp-files-768x355.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/file-manager-wp-files-1536x709.jpg 1536w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/li><li>Once you have found the file, right-click on it and select <strong>Edit<\/strong>.\u00a0 You can also left-click and use the menu at the top of the File Manager to edit the file.<\/li><li>Search for this code:\u00a0 <strong>define(\u2018WP_DEBUG\u2019, true);<\/strong><br><br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"487\" class=\"wp-image-88522\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/wp-config-edit.jpg\" alt=\"wp-config-edit\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/wp-config-edit.jpg 1141w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/wp-config-edit-300x195.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/wp-config-edit-1024x665.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/wp-config-edit-768x499.jpg 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/li><li>If you don\u2019t see the line there, then WordPress debugging will not be enabled.\u00a0 You can simply add the line and use \u201ctrue\u201d or \u201cfalse\u201d to enable\/disable the option.<\/li><li>Click on <strong>SAVE CHANGES <\/strong>in the top right corner once you have made any changes.\u00a0\u00a0<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Debug Options<\/h3>\n\n\n\n<p>There are multiple options for WordPress debugging available to you by using another line of code under the \u201cdefine( \u2018WP_DEBUG\u2019, true )\u201d line.  You can add a single option, several, or all of them.  Here is the code for each and description of what each option provides:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>WP_DEBUG_LOG<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_DEBUG_LOG', true);<\/code><\/pre>\n\n\n\n<p>This option saves errors on your WordPress site to a debug.log file.  If there are multiple errors, or if they are generating errors that can\u2019t be read on-screen, then this option will need to be activated.<\/p>\n\n\n\n<p>You can determine the location and name of the file like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_DEBUG_LOG', '\/tmp\/wp-errors.log');<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">WP_DEBUG_DISPLAY<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'WP_DEBUG_DISPLAY', false );<\/code><\/pre>\n\n\n\n<p>This option provides the opportunity to have debugging enabled, but without the error messages appearing on the front end of the site.  This option should be used with the WP_DEBUG_LOG option in order to capture the errors that may be occurring on your site. Be careful with this option as it can hide errors being displayed that would otherwise give you the information to help troubleshoot your site.  This option is set to \u201ctrue\u201d by default.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">SCRIPT_DEBUG<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>define( \"SCRIPT_DEBUG\", true );<\/code><\/pre>\n\n\n\n<p>Script_Debugt forces your WordPress site to use the \u201cdev\u201d versions of the core CSS and Javascript instead of the minified versions that are normally loaded with an operating WordPress site. Normally, this option defaults to \u201cfalse\u201d, but it can help you test Javascript or CSS files that you have modified for your site.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">SAVEQUERIES<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'SAVEQUERIES', true);<\/code><\/pre>\n\n\n\n<p>If you are having issues that relate to your WordPress database, then you may want to use this version in order to view your database queries.  Queries are saved in an array on your database in a table called \u201cqueries\u201d.  Caution should be taken when using this option as it can slow the performance of your site.  This option should not be active when you are normally operating your website.<\/p>\n\n\n\n<p><br><br>Once you have the debug mode on, you can review the errors that are being produced to help you troubleshoot your WordPress site.\u00a0\u00a0<\/p>\n\n\n\n<p class=\"alert alert-warning\">Remember to disable the debug mode once you have completed troubleshooting your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"debugging-status\">Check Debugging Status With WP-CLI<\/h2>\n\n\n\n<p class=\"alert alert-info\">You must <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-and-configure-wp-cli\/\">install WP-CLI<\/a> on your server before you can follow these sections.<\/p>\n\n\n\n<p>Using the <strong>wp-config list<\/strong> command, you can determine if the <em>WP_DEBUG<\/em> constant is set to <em>true<\/em> (<strong>enabled<\/strong>) or <em>false<\/em> (<strong>disabled<\/strong>).<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\">SSH into your server<\/a> as the user that will be running WP-CLI.<\/li><li>Use the cd command to switch to the <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/where-to-upload-files\/\">document root directory of your website<\/a>. Example: <pre>cd <strong>public_html<\/strong><\/pre> <p class=\"alert alert-warning\"><strong>NOTE: <\/strong>Be sure to replace <strong>public_html<\/strong> with the actual path to the document root directory of your website.<\/p><\/li><li>Run the following command:<br><pre>wp config list WP_DEBUG<\/pre><br>You should see an output similar to this when the command finishes running. If the value is \u201c<strong>false<\/strong>\u201d debugging is disabled, if it is \u201c<strong>true<\/strong>\u201d it is already enabled.<br><code>exampl3@example.com [~\/public_html]# wp config list WP_DEBUG <br>+----------+-------+----------+ <br>|      name        |  value  |    type    |<br>+----------+-------+----------+ <br>| WP_DEBUG | <strong>false<\/strong> | constant | <br>+----------+-------+----------+<\/code><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"wp-cli\">Enable Debugging With WP-CLI<\/h2>\n\n\n\n<p>You can also enable debugging by creating\/modifying a new wp-config.php file using <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/\">WP-CLI<\/a>.  <br><br>The WP-CLI command <em>wp config<\/em> allows you to generate a wp-config.php file.  The generated config file includes the list variables, constants, and other required settings for running a WordPress site. In this section, you will learn how to set <em>WP_DEBUG<\/em> to <em>true<\/em> to <strong>enable debugging mode for WordPress<\/strong>.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\">SSH into your server<\/a> as the user that will be running WP-CLI.<\/li><li>Use the cd command to switch to the <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/where-to-upload-files\/\">document root directory of your website<\/a>. Example: <br><pre>cd <strong>public_html<\/strong><\/pre><p class=\"alert alert-warning\"><strong>NOTE: <\/strong>Be sure to replace <strong>public_html<\/strong> with the actual path to the document root directory of your website.<\/p><\/li><li>Run the following command to enable WordPress Debugging:<br><pre>wp config set WP_DEBUG true<\/pre><br>An output similar to the following will be displayed once the command finishes running.<br><code>exampl3@example.com [~\/public_html\/wordpress]# wp config set WP_DEBUG true Success: Updated the constant 'WP_DEBUG' in the 'wp-config.php' file with the value 'true'.<\/code><\/li><li>Be sure to <strong>disable debugging<\/strong> when you are done working with your website. This helps to secure your website by hiding errors that may contain private information. The process to disable debugging is the same as outlined in the steps above, simply use <strong>false<\/strong> rather than <strong>true<\/strong>. For example:<br><pre>wp config set WP_DEBUG false<\/pre><\/li><\/ol>\n\n\n\n<p>Now you know how to use WP-CLI to check, enable and disable debugging for WordPress.<\/p>\n\n\n<p>Learn more about <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/\">WP-CLI<\/a>, the command-line interface for WordPress, and how to streamline your WordPress maintenance workflows!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"file-manager\">Enable WordPress Debugging Using File Manager<\/h2>\n\n\n\n<p>WordPress debugging is something that is enabled within your wp-config.php file. With just a simple edit to this file, you will be able to view any errors produced within WordPress. For more information on the WP Debug global variable, see the <a href=\"https:\/\/codex.wordpress.org\/WP_DEBUG\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noopener\">WordPress Codex<\/a> page.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>First, be sure that you are\u00a0<a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">logged into cPanel<\/a>.<\/li><li>Now that you are logged into cPanel, look for the icon that says\u00a0<strong>File Manager<\/strong>\u00a0and click on it.<\/li><li>Within your\u00a0<strong>public_html<\/strong>\u00a0directory, you will see a file labeled<strong>\u00a0wp-config.php<\/strong>. Right-click on it, then click the <strong>Edit <\/strong>option.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"340\" class=\"wp-image-69956\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/file-manager-edit.png\" alt=\"Edit wp-config.php File\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/file-manager-edit.png 667w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/file-manager-edit-300x136.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li><li>A pop-up message will list the file you are about to modify. Click the Edit button again.<br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"329\" class=\"wp-image-70007\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/edit-wp-config.png\" alt=\"Verify That You Want to Edit the wp-config.php File\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/edit-wp-config.png 912w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/edit-wp-config-300x132.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/edit-wp-config-768x337.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li><li>At the bottom of your wp-config.php file, add the following lines. The first line will cause WordPress to display any errors caused by various PHP functions that are built into WordPress. The second line will display any errors for built-in JavaScript and CSS.<br><pre>define( \u2018WP_DEBUG\u2019, true );<br>define( \u2018SCRIPT_DEBUG\u2019, true );<\/pre><p class=\"alert alert-warning\"><strong>Note: <\/strong>Your wp-config.php file may already have <strong>WP_DEBUG<\/strong> set to false. If this is the case, you can simply replace \u201cfalse\u201d with \u201ctrue\u201d. Then add the additional lines for <strong>SCRIPT_DEBUG<\/strong> and <strong>WP_DEBUG_LOG<\/strong> below, if you want them on.<\/p><br><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"411\" class=\"wp-image-70011\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/enable-wordpress-debugging-mode.png\" alt=\"Enabling WordPress Debugging in the wp-config.php File\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/enable-wordpress-debugging-mode.png 718w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/enable-wordpress-debugging-mode-300x164.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li><li>If you want the errors to be saved to a <strong>debug.log<\/strong> file within the \u201c<em>\/wp-content<\/em>\u201d folder add the following line.<br><pre>define( 'WP_DEBUG_LOG', true );<\/pre><\/li><li>After you have edited the\u00a0<em>wp-config.php<\/em>\u00a0file, be sure to click the\u00a0<strong>Save Changes<\/strong>\u00a0button on the top-right of the file manager.<\/li><li>Be sure to <strong>disable debugging<\/strong> when you are done working with your website. You can do this by commenting out the lines by putting a \/* before and a *\/ after. For example:<br><pre>\/*\ndefine( \u2018WP_DEBUG\u2019, true );\ndefine( \u2018SCRIPT_DEBUG\u2019, true );\ndefine( 'WP_DEBUG_LOG', true );\n*\/<\/pre><\/li><\/ol>\n\n\n\n<p>Now that you have enabled debugging within WordPress, you should be able to see any errors that are produced within your WordPress site. Visit our <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/\" aria-label=\" (opens in a new tab)\">WordPress Education Channel<\/a> for lots of helpful guides.<\/p>\n\n\n<p>Learn more tips and tricks about <a title=\"Navigate to our comprehensive guide on WordPress backups\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wordpress-backups\/\">WordPress backups<\/a> to protect your website from risks!<\/p>\n\n\n\n<p>Check out more WordPress tutorials from the support center:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/how-to-add-a-user-role-in-the-members-plugin\/\">How to Add a User Role In The Members Plugin<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/why-we-use-nginx-in-our-wordpress-hosting\/\">Why We Use Nginx In Our WordPress Hosting<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/dropbox-backup\/\">How to Backup WordPress to Dropbox<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/email-backup\/\">How to Backup WordPress over Email<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/optimize-wordpress\/\">Optimize WordPress Guide: Tuning for VPS &amp; Dedicated Servers<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/easy-wordpress-hardening-in-the-htaccess-file\/\">Easy WordPress \u201cHardening\u201d in the Htaccess File<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/how-to-create-and-delete-a-wordpress-page-using-wp-cli\/\">How to Create and Delete a WordPress Page Using WP-CLI<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/backup-and-restore\/how-to-restore-a-previous-version-of-a-page-or-post\/\">How to Restore a Previous Version of a Page or Post<\/a><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/plugins\/ftp-backup\/\">How to Backup WordPress with FTP<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When your website is live and available to viewers, you will not want to advertise any error messages that can be displayed when WordPress debugging is enabled. This can lead to security issues or disruption to your website. However, there are times when it may be necessary to enable WordPress debugging so that you can<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/\"> Read More ><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[56],"tags":[],"class_list":["post-4505","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Learn How to Enable WordPress Debugging Using WP-CLI or File Manager<\/title>\n<meta name=\"description\" content=\"In this guide, you can learn how to enable and disable debugging using the WordPress Command Line Interface (WP-CLI).\" \/>\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.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn How to Enable WordPress Debugging Using WP-CLI or File Manager\" \/>\n<meta property=\"og:description\" content=\"In this guide, you can learn how to enable and disable debugging using the WordPress Command Line Interface (WP-CLI).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-11T15:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-07T19:25:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\"},\"headline\":\"How to Enable WordPress Debugging\",\"datePublished\":\"2021-03-11T15:01:00+00:00\",\"dateModified\":\"2022-06-07T19:25:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/\"},\"wordCount\":1857,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging-1024x538.png\",\"articleSection\":[\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/\",\"name\":\"Learn How to Enable WordPress Debugging Using WP-CLI or File Manager\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging-1024x538.png\",\"datePublished\":\"2021-03-11T15:01:00+00:00\",\"dateModified\":\"2022-06-07T19:25:33+00:00\",\"description\":\"In this guide, you can learn how to enable and disable debugging using the WordPress Command Line Interface (WP-CLI).\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging.png\",\"width\":1200,\"height\":630,\"caption\":\"Learn How to Enable WordPres Debugging Mode With WP-CLI and File Manager\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable WordPress Debugging\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/arn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learn How to Enable WordPress Debugging Using WP-CLI or File Manager","description":"In this guide, you can learn how to enable and disable debugging using the WordPress Command Line Interface (WP-CLI).","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.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/","og_locale":"en_US","og_type":"article","og_title":"Learn How to Enable WordPress Debugging Using WP-CLI or File Manager","og_description":"In this guide, you can learn how to enable and disable debugging using the WordPress Command Line Interface (WP-CLI).","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2021-03-11T15:01:00+00:00","article_modified_time":"2022-06-07T19:25:33+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging.png","type":"image\/png"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b"},"headline":"How to Enable WordPress Debugging","datePublished":"2021-03-11T15:01:00+00:00","dateModified":"2022-06-07T19:25:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/"},"wordCount":1857,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging-1024x538.png","articleSection":["WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/","name":"Learn How to Enable WordPress Debugging Using WP-CLI or File Manager","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging-1024x538.png","datePublished":"2021-03-11T15:01:00+00:00","dateModified":"2022-06-07T19:25:33+00:00","description":"In this guide, you can learn how to enable and disable debugging using the WordPress Command Line Interface (WP-CLI).","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/05\/How-to-Enable-WordPress-Debugging.png","width":1200,"height":630,"caption":"Learn How to Enable WordPres Debugging Mode With WP-CLI and File Manager"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/how-to-enable-wordpress-debugging\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Enable WordPress Debugging"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/arn\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":56,"name":"WordPress Tutorials","slug":"wordpress","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4505"}],"version-history":[{"count":57,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4505\/revisions"}],"predecessor-version":[{"id":97621,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4505\/revisions\/97621"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}