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 Building Websites with PHP Slim Basics & Twig Templates Routing For Our Project

Baur Alzhanov
Baur Alzhanov
7,028 Points

Anybody Help me. My workspace working uncorrected.

theme - Routing For Our Project when change any code I see only this string. What I need to do?

Fatal error: Uncaught Error: Class 'Slim\Slim' not found in /home/treehouse/workspace/index.php:9 Stack trace: #0 {main} thrown in /home/treehouse/workspace/index.php on line 9

How I can clear my workspace. I can go on learn PHP during 2 day.

Alena Holligan
Alena Holligan
Treehouse Teacher

Baur Alzhanov can you create a "snapshot" of your workspace and then share that so we can see you're code? I can't access your workspace directly

3 Answers

Baur Alzhanov
Baur Alzhanov
7,028 Points

Sorry. I found this link https://teamtreehouse.com/community/building-websites-with-php-including-running-slim-not-finding-the-hello-world-section-on-the-slim-user-guide I have had the same problem. But I don't know to how I can change version in Composer and SLIM. Because SLIM 3.3 not working in this challenge. I was cleaning my workspace and restart write code in theme "Dependency Management"

Alena Holligan
STAFF
Alena Holligan
Treehouse Teacher

added comment over there if that fixes your error