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

WordPress

Trent Burkenpas
Trent Burkenpas
22,388 Points

While trying to fix one WordPress problem another issue came about!

So in the custom Wordpress theme project, for some reason my links take me to a page that says "redirect loop" So I looked up for days now what it could be and found a couple solutions(none of them worked). But after messing with files, my admin page will not even show up. Its just completely blank. Any advice would be awesome.

Zac Gordon, its me again, still haven't found a solution. And your advice would be awesome. I know it isn't my code because all the other pages are working and i check line by line ..over and over . This is my 3rd time trying to complete this project. But i will never give up because wordPress is awesome!! :P

4 Answers

Trent Burkenpas
Trent Burkenpas
22,388 Points

oh! I solved it! There was white space after my php block. In the functions.php file! Thank you!

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Is this a local development project? Do you have debugging turned on in your wp-config.php file? There are tons of troubleshooting tips for a white screen of death in the admin area.

Trent Burkenpas
Trent Burkenpas
22,388 Points

Awesome I didn't know that there was a debug option!

I get this error message

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/allisongrayce.com/wp-content/themes/wpportfolio/functions.php:7) in /Applications/MAMP/htdocs/allisongrayce.com/wp-includes/pluggable.php on line 1121

I tried looking around and everyone said usually the blank admin is from plugins. I tried renaming the plugins folder to plugins.hold. But that didn't work. And yes, this is a local project!

Trent Burkenpas
Trent Burkenpas
22,388 Points

Oh one more thing! I didn't get the redirect loop when i turned off my plugins. could it be a plugin issue?