2952 posts
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Contributed a Blog Post
  • Elite Author
  • Exclusive Author
+5 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?

505 posts
  • Bought between 10 and 49 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • United Kingdom
Gareth_Gillman says

means the theme hasn’t closed a php tag0

It will most likely be in the functions.php

438 posts Don't be a HATER!
  • Exclusive Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Has been a member for 4-5 years
webinpixels says

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

hope this help :)

Good Luck

83 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
  • Sold between 10 000 and 50 000 dollars
Cepreu says
2952 posts
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Contributed a Blog Post
  • Elite Author
  • Exclusive Author
+5 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
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Contributed a Blog Post
  • Elite Author
  • Exclusive Author
+5 more
DDStudios says

Ok we fix it, thanks guys :)

1028 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 500 and 999 users
+1 more
ThemeBlvd says

What was causing it?

2952 posts
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Contributed a Blog Post
  • Elite Author
  • Exclusive Author
+5 more
DDStudios says
What was causing it?

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

252 posts
  • Elite Author
  • Won a Competition
  • Has been a member for 5-6 years
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
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
  • Attended a Community Meetup
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Contributed a Blog Post
  • Elite Author
  • Exclusive Author
+5 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