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

PHP Object-Oriented PHP Basics Building a Collection Shopping List Method

In allrecipes.php, some recipes need more quotes in addTag(). Ex: $belgian_waffles->addTag("breakfast, quick bread");

The current allrecipes.php file has some errors in the tags for the individual recipes. They should have comma separate values in the addTag() methods. Instead, some are a single string. As a result, what should be multiple tags for a recipe are counted as single tag. For example, $belgian_waffles should have tags for "breakfast" and "quick bread" but instead have one tag for "breakfast, quick bread". This makes the follow along not work for the "Egg", "Eggs" example in the video.

Thanks, you've definitely saved me some time finding this error.