Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
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,729 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.