How to Troubleshoot with the Debug Bar

Posted OnFeb 27, 2015     CategoryPlugins     CommentsNo comment

In this section of the guide to the Debug Bar plugin, we will take a look at trouble-shooting errors.

Step 1) Login to the WordPress Dashboard.

Step 2) From the left-hand sidebar of the Dashboard, navigate to to the homepage of the website. For this example, the website, Everything Cakes is used.

Step 3) We have our first error on the home page. It seems that the plugin Twitter Cards Meta is having an issue.

km-debug-example-01a

Step 4) Click the Debug button to be forwarded to the Debug Panel where this error message displays additional details.

km-debug-example-02a

For this example, we sent this message to the appropriate Support Forum for resolution.

This error and accompanying details has been saved to the debug.log file located on the server in the /wp-content/ directory.

If the Debug Bar had not been installed, we would not have known this issue existed.

Notices / Warnings

Step 5) To display the Notices and Warnings that the Debug Bar plugin has found, click the Debug button.

Step 6) From the left-hand menu, click Notices/Warnings.

For this example, there is one (1) Warning and three (3) Notices to deal with.

km-debug-example-20a

As mentioned above, each one of these warnings and notices should be dealt with.

Queries

Step 7) To display the Queries that the Debug Bar plugin has found, click the Debug button.

Step 8) From the left-hand menu, click Queries.

This area displays:

  • Total Number of Queries
  • Query Execution Times
  • Query Strings

km-debug-example-30a

WP Query

Step 9) To display the WP Query that the Debug Bar plugin has found, click the Debug button.

Step 10) From the left-hand menu, click WP Query.

This area displays:

  • The queried Object ID
  • Show on Front
  • Page for Posts
  • Page on Front
  • Query arguments

km-debug-example-31a

Deprecated

Step 11) To display the WP Query that the Debug Bar plugin has found, click the Debug button.

Step 12) From the left-hand menu, click Deprecated.

For this example, there is one (1) issue to deal with.

km-debug-example-32a

As mentioned, this issue should be dealt with.

Object Cache

This area displays stats you can use to assist with any issues you may be experiencing with your site.

km-debug-example-33a

This concludes our guide of the Debug Bar plugin.

 

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Send this to friend