2952 posts
  • 7 Years of Membership
  • Affiliate Level 5
  • Author Level 8
  • Bundle Boss
+12 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?

1096 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Beta Tester
  • Collector Level 2
+5 more
Gareth_Gillman
says

means the theme hasn’t closed a php tag0

It will most likely be in the functions.php

461 posts Don't be a HATER!
  • Weekly Top Seller
  • Featured Author
  • 6 Years of Membership
  • Winner
+4 more
CodeElite
says

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

hope this help :)

Good Luck

83 posts
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Collector Level 1
+3 more
SkytreeThemes
says
2952 posts
  • 7 Years of Membership
  • Affiliate Level 5
  • Author Level 8
  • Bundle Boss
+12 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
  • 7 Years of Membership
  • Affiliate Level 5
  • Author Level 8
  • Bundle Boss
+12 more
DDStudios
says

Ok we fix it, thanks guys :)

1037 posts
  • Affiliate Level 6
  • Author Level 11
  • Collector Level 4
  • Top Monthly Author
+9 more
ThemeBlvd
says

What was causing it?

2952 posts
  • 7 Years of Membership
  • Affiliate Level 5
  • Author Level 8
  • Bundle Boss
+12 more
DDStudios
says
What was causing it?

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

263 posts
  • Weekly Top Seller
  • Elite Author
  • Author Level 8
  • Winner
+6 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
  • 7 Years of Membership
  • Affiliate Level 5
  • Author Level 8
  • Bundle Boss
+12 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