WordPress.org

Forums

[resolved] XML Feed Error (8 posts)

  1. Hi,

    I'm getting this error:

    line 1, column 1: Blank line before XML declaration on Feedvalidator.
    Feed code is as follow:

    (this is a blank line here)
    <?xml version="1.0" encoding="UTF-8"?><feed
     xmlns="http://www.w3.org/2005/Atom"
     xmlns:thr="http://purl.org/syndication/thread/1.0"
     xml:lang="en"
     xml:base="http://n.humaneasy.com/meaningfull/wp-atom.php"
      >
  2. Samuel B
    moderator
    Posted 5 years ago #

    typically blank lines can be added to feeds by plugins, themes or user editing header.php incorrectly
    it could be other stuff, though

    a link would help

  3. The link is in the code ;)

  4. Shane G.
    Member
    Posted 5 years ago #

    Hi,

    Check with this plugin:

    http://wordpress.org/extend/plugins/fix-rss-feed/

    Thanks,

    Shane G.

  5. Header was not changed so the issue is not there.

    How can I force Feed to be regenerated after deactivating a plugin?

  6. Hum! Found the culprit. A plugin is causing it. Must check the code to see why.

  7. Thanks Shane. It solved the issue.

    Odd enough many files (169) had tail lines but only one plugin was giving issues to the feed.

  8. Samuel B
    moderator
    Posted 5 years ago #

    which plugin? so searchers may find this topic

Topic Closed

This topic has been closed to new replies.

About this Topic