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

Whoops, look like something went wrong VS ErrorException Laravel

I am following their tutorial what do I see their video presentation when they get any of error its showing colorful black screen on right side. and tell you the top "undefined variable" etc etc...

What I am trying to follow their tutorial everything work property fine. I noticed mine is different error by said "Whoops". It does not tell me the details where is the error. I am using the Window PC after I downloaded and open the composer and Vagrant without the Virtual Box. It was fine work. Have any one experience through this before? Is that normal?

1 Answer

You've got a problem with your config file. It's currently set for production mode. You need to go into your App folder in your laravel project, then in the config folder, open up app.php with a text editor and change the debug function to look like this:

'debug' => false,

Happy coding!