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 trialGraham Davidson
Courses Plus Student 14,966 PointsWorpress 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
Adam Sackfield
Courses Plus Student 19,663 PointsJames Bullis
12,762 PointsIf 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.
Graham Davidson
Courses Plus Student 14,966 Pointsthanks James did all that and still no joy
Graham Davidson
Courses Plus Student 14,966 PointsIt works on one domain I reckon I am just going to point the domain there
Matt Campbell
9,767 PointsIf 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.
Graham Davidson
Courses Plus Student 14,966 PointsThanks Matthew have spoken with the person who's site it is - they are moving the hosting phew
Graham Davidson
Courses Plus Student 14,966 PointsGraham Davidson
Courses Plus Student 14,966 PointsGood answer Adam but alas already tried that - sorry should have said