WordPress.org

Support

Support » How-To and Troubleshooting » RSS produces “header” related error

RSS produces “header” related error

  • Here is the start of the error message I receive when I click on the RSS link at the bottom of the page.

    Warning: Cannot modify header information – headers already sent by (output started at /hsphere/local/home/inatio/uvme-casual-games.com/wp-blog-header.php:2) in /hsphere/local/home/inatio/uvme-casual-games.com/wp-includes/feed-rss2.php on line 2

Viewing 5 replies - 1 through 5 (of 5 total)
  • I can’t say it’s the cause of the error (it is a likely suspect though), but do you realize whatever scripting that’s being used to add the “quote of the day” text, international links and right-corner ad on your blog is breaking your feed?

    OK. So is there a way to include this scripting without breaking the feed?

    As I currently do not know what scripting is being used, I can’t answer that. What is the code behind it, and how is it being implemented on your site?

    All I have done is modify the wp-blog-header.php file with two new lines of code.

    inserted at the top of the php section:

    require_once( dirname(__FILE__) . ‘/rotating_quotes/rotating_quotes.php’);

    and included at the bottom of the file after closing the php section is the following inactive script. Removing it completely does not resolve the problem:

    <!– <script src=”http://www.bbmes.com/peel_ads/peel/peel.js” type=”text/javascript”></script> –>

    I have this exact issue on my site, it doesn’t matter if I change themes or re-install my header file. On mine it doesn’t seem to be any one piece of code that’s breaking it like the QOTD on yours, but it is killing my traffic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘RSS produces “header” related error’ is closed to new replies.
Skip to toolbar