How to Debug Errors on PublishPress Screens

If buttons or actions are not working on the frontend or admin area of your PublishPress site, you may have a conflict with another plugin. Or, you might have found a bug in a PublishPress plugin.

The best way to debug errors in PublishPress is to use the tools in your browser.


Debugging with the Chrome browser #

  • Open Chrome and visit the PublishPress screen that is having issues.
  • Right-click to bring up this toolbar shown in the next image.
  • Click “Inspect”:
Inspect 1
Inspect 1
  • You will now see a sidebar in Chrome that looks like this next image.
  • Click the “Console” tab:
Console
Console
  • Try the action in PublishPress that’s not working.
  • You may now see some errors in the “Console” tab.
Console Error 1
Console Error 1

Debugging with the Firefox browser #

  • Open Firefox and visit the PublishPress screen that is having issues.
  • Right-click to bring up this toolbar shown in the next image.
  • Click “Inspect element”:
Firefox 1
Firefox 1
  • You will now see a sidebar in Firefox that looks like this next image.
  • Click the “Console” tab:
Console Firefox
Console Firefox
  • Try the action in PublishPress that’s not working.You may now see some errors in the “Console” tab.
Firefox Errors
Firefox Errors