Debugging

Disable Debug Mode

If you're seeing unexpected output or code at the top of your site (this may include the words "Notice" or "Warning", this is because your WordPress site is in debug mode. Many times this is not an issue, but you'll likely want to disable this if your site is in production or your end users may see debugging messages.

  1. Log in to your hosting Control Panel account - typically a cpanel or other account.
  2. Use the file manager and find the public_html folder.
  3. Locate the wp-config.php file for your WordPress website and edit it
  4. To disable WP_Debug, remove the following line of code: define('WP_DEBUG', true);
  5. Save the file.

Turn On Debug Mode

If you're seeing a blank page, site, or unexpected behavior, it's likely there's an error occurring on the server. An easy way to to see the issue is to turn on WP_DEBUG, WordPress debugging system. To do this, you'll need to follow the following steps

  1. Log in to your hosting Control Panel account - typically a cpanel or other account.
  2. Use the file manager and find the public_html folder.
  3. Locate the wp-config.php file for your WordPress website and edit it
  4. To enable WP_Debug, add the following code to the end of the file: define('WP_DEBUG', true);
  5. Save the file.

Now you'll see an error message on the front end of your site with information about the error. The error message will most often let you know what file the error is occurring which is useful to troubleshoot. 

If you need help understanding the error message, reach out to support and we're happy to help!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us