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

Worpress Nightmare

Having a wordpress nightmare This site worked on one testing server made live on a different and the wp-admin now gives me this

Warning: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage21/ri/ge/qu/xxxxx(this is the domain name)/public_html/wp-content/themes/Rig/functions.php:7) in /websites/123reg/LinuxPackage21/ri/ge/qu/domainname/public_html/wp-includes/pluggable.php on line 899

have googled and it mentions taking spaces out of the there were not to remove however

6 Answers

Good answer Adam but alas already tried that - sorry should have said

James Bullis
James Bullis
12,762 Points

If I get this issue, I would first look at the functions.php to make sure there aren't any junk spaces. If that looks fine, I might start looking at recent plugins or updates. Shut all of the plugins down and see if one of them is throwing the error. Good luck.

thanks James did all that and still no joy

It works on one domain I reckon I am just going to point the domain there

Matt Campbell
Matt Campbell
9,767 Points

If it works on one domain but not another, I'd look at the server. Things like version numbers on languages etc, firewalls...that kinda jazz.

Thanks Matthew have spoken with the person who's site it is - they are moving the hosting phew