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 trialVincent Wagner
6,636 PointsAny idea why the error message does not display?
Hey everyone,
I'm running WP locally using MAMP on a Mac.
When I save the double echo message without the necessary semicolons it breaks the site, but I don't get an error message. Instead, it only displays a blank page. I've tried in Chrome, Firefox and Safari.
Does anyone have an idea why this happens?
Thanks in advance!
2 Answers
Kristoffer Lund
11,133 PointsYou need to enable debugging.
In your wp_config.php change define('WP_DEBUG', false); to define('WP_DEBUG', true); line 71.
Rodrigo Aguila
204 PointsExactly! So, is good idea enable the DEBUG in development mode (working in some website or blog) in WP and disabled after finishing.
Vincent Wagner
6,636 PointsVincent Wagner
6,636 PointsThanks Kristoffer, worked like a charm!
Juliette Tworsey
Front End Web Development Techdegree Graduate 32,425 PointsJuliette Tworsey
Front End Web Development Techdegree Graduate 32,425 PointsThanks! That helped me too:-)
Howard Lerner
3,490 PointsHoward Lerner
3,490 PointsThank you:)