WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] RSS Feed Error (10 posts)

  1. Aarron Walter
    Member
    Posted 2 years ago #

    My RSS feed is generating an error caused by the first line making it fail in Feedburner and some RSS readers: "This page contains the following errors:
    error on line 1 at column 1: Document is empty"

    In Firefox the error read "XML Parsing Error: not well-formed
    Location: http://aarronwalter.com/blog/feed/
    Line Number 1, Column 1:"

    It looks like the offending code is:
    <?xml version="1.0" encoding="UTF-8"?>

    Here's the validation check of my feed:
    http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Faarronwalter.com%2Fblog%2Ffeed

    The feed is at http://aarronwalter.com/blog/feed/.

    How do you go about correcting this?

  2. Samuel B
    moderator
    Posted 2 years ago #

  3. Aarron Walter
    Member
    Posted 2 years ago #

    I've tried a couple of different feed fixing plugins but to no avail.

  4. ddysart
    Member
    Posted 2 years ago #

    Without knowing what plugins you're running, the only thing I can say is something is putting 19 bytes of null characters at the start of your feed. That is the reason it won't validate. (The <?xml.... part has to be the very first characters)

    The only option I know of is to start disabling plugins one-by-one to find the offending one.

  5. Aarron Walter
    Member
    Posted 2 years ago #

    I did go though all of my plugins and disable them one by one to see if there was a culprit. But no luck.

    Any other ideas of where I could look to find those spaces being added to the feed? Where is the feed being generated?

  6. Alex King
    Member
    Posted 2 years ago #

    Aarron, it could be a file in your theme as well. Switching to Twenty* temporarily for testing purposes would help you verify this.

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    Try:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  8. Aarron Walter
    Member
    Posted 2 years ago #

    Hey, Alex.

    Your little experiment worked. When I switched themes the feed started working again. I went through line by line and found one line in header.php that was causing the problem.

    Thanks everyone for the help!

  9. lyaz31
    Member
    Posted 1 year ago #

    Hello,
    Only my comments show up on a site called Bloglovin.com that is supposed to show images and links to all my newest posts. Bloglovin support said my feed is not valid. I check it and it is. I even have the plug-in "RSS Feed Validator" that shows it is good.

    Bloglovin specified that the problem is when the website tries to go to http://www.lauralily.net/feed it is redirected to http://lauralily.net and so it cannot grab a feed. Please help me get my comments off Bloglovin and my posts back on!

    Thanks!
    Laura
    http://www.lauralily.net

  10. dglimited
    Member
    Posted 1 year ago #

    Hello, I am getting a RSS feed error on my blog
    Web design
    Yet I validated the feed and also it works on tweetfeeder? can anyone help with to as why on the blog itself it says "An error has occurred; the feed is probably down. Try again later."

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags