WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm finding that if I have errors in my code that's being called by my custom widget's form() method, I don't see any error display - the only indication I have is that in Admin > Appearance > Widgets the sidebars are all gone.

What can be done to: a) avoid completely destroying all sidebars in Admin whenever your code has an error b) get more information about what is causing the error or exception?

share|improve this question

Here ya go


share|improve this answer
See my edit of a) – Tom Auger May 12 '11 at 1:50
up vote 0 down vote accepted

Since the question was asked in May, the WP core team released the Admin Debug Bar, and its ancillary plugin Debug Bar Console is exactly the balm to ease any WP Programmer's pain.

share|improve this answer
This doesn't actually answer the question. How do I see the contents of $instance, for, uh, instance? – aendrew Oct 8 '13 at 18:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.