Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress How to Build a WordPress Plugin Building WordPress Widgets, and Shortcodes WordPress Widgets Code Challenges

Brent Larson
Brent Larson
24,505 Points

Wordpress Widgets Code Challenges Task 4 Bug

Kept getting an error saying that in my function widget that extract() needed to be the first thing. I had it as the first thing, however, I had left Wordpress' example code's comment above it and after deleting the comment, it worked.

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Hi, thanks for submitting.. I passed this on to one of our dev to look into for a fix.

Andrew McCormick
Andrew McCormick
17,730 Points

love having a forum. This was driving me crazy today until I decided to finally suck it up and search the forum for an answer. Glad I wasn't loosing my mind.