Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

2 Answers 2

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

Here ya go


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

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.