2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

I get this error randomly when activating themes :

Warning: Cannot modify header information – headers already sent by (output started at C:\xampp\xampp\htdocs\wordpress\wp-content\themes\Websource\functions\theme_options.php:793) in C:\xampp\xampp\htdocs\wordpress\wp-includes\pluggable.php on line 890

Someone ever had this?

576 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+3 more
Gareth_Gillman says

means the theme hasn’t closed a php tag0

It will most likely be in the functions.php

443 posts Don't be a HATER!
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+5 more
webinpixels says

Check the function files mate.. make sure no “space” before <?php and after ?>

hope this help :)

Good Luck

83 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+3 more
Cepreu says
2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

Thing is … it only happen when I try to active the theme when “TwentyTen” is activated ..

When any other theme is activated, I can switch without problem.

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

Ok we fix it, thanks guys :)

1028 posts
  • Has referred 500+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
ThemeBlvd says

What was causing it?

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says
What was causing it?

well my coder did it, ill have to ask him :)

252 posts
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
der says

Sometimes, there is white space after the php closing (?>), make sure there is no space after the end tag, since it’s considered as if it was an echo with spaces. If there’s anything echoed (or any whitespace after php’s end tag) before get_header(), a Warning will be shown.

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says
Sometimes, there is white space after the php closing (?>), make sure there is no space after the end tag, since it’s considered as if it was an echo with spaces. If there’s anything echoed (or any whitespace after php’s end tag) before get_header(), a Warning will be shown.

Thanks Der! I’m learning WP so this might be usefull :)

by
by
by
by
by
by