WordPress.org

Support

Support » How-To and Troubleshooting » Broken Feeds Since WP upgrade to 3.5.1

Broken Feeds Since WP upgrade to 3.5.1

  • Hi there. I reluctantly upgraded WP to 3.5.1 a few days ago and my feed has been broken ever since.

    http://www.thetruthaboutbartending.com/feed/

    Both RSS and Atom are affected. I ran the w3 checker and it denotes:

    This feed does not validate.
    line 1, column 0: XML parsing error: <unknown>:1:0: no element found

    I did do my research before posting. I checked the usual suspects like blank lines/spaces in wp-config.php and my theme’s (NomNom) functions.php. Nothing abnormal there.

    Any advice would be greatly appreciated.

    Thanks.

    -Freddy

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins
    Forum moderator

    @anevins

    Have you tried deactivating plugins to explore whether any could be responsible?

    I had some problems with w3 total cache right after the upgrade. It took down my entire site and Dashboard. I had to SSH in and manually deactivate it to bring the site back up, which – obviously – fixed that specific issue.

    I have two dozen or so plugins. You’re saying try deactivating them one by one?

    OK. After a ton of hairpulling, I think I figured it out. I went through each and every plugin, deactivated, and tested the feed. When deactivating “Advanced Permalinks,” the feed came back to life.

    Now my question is, I migrated from plain URLs to fancy permalinks over a year ago. I had used this plugin to assist in 301 redirection without losing the previous indexing.

    Do you think I still need this plugin at this point?

    Hey guys I have an answer: when writing headers in wp-includes/feed-rss2.php, WordPress adds automatically 5 lines before the XML begins, producing a non-standard feed.
    Just modify this line to make it work fine:

    —-from
    header(‘Content-Type: ‘ . feed_content_type(‘rss-http’) . ‘; charset=’ . get_option(‘blog_charset’), true);

    —-to
    header(‘Content-Type:’.feed_content_type(‘rss-http’).’;charset=’.get_option(‘blog_charset’),true);

    if it doesn’t work, try commenting the line.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broken Feeds Since WP upgrade to 3.5.1’ is closed to new replies.