Forums

XML Parsing Error: Junk after document (4 posts)

  1. k3vb0t
    Member
    Posted 4 years ago #

    My RSS 2.0 feed is generating this:

    XML Parsing Error: junk after document element
    Location: http://www.kmulligan.net/wordpress/?feed=rss2
    Line Number 246, Column 1:<br />
    ^

    And I have no idea how to fix it. I'm relatively newbish, so be gentle please. I've searched and didn't find anything involving a
    tag that was resolved.

    Thanks.

    Website Address: kmulligan.net
    RSS 2.0 Feed: http://www.kmulligan.net/wordpress/?feed=rss2

  2. westi
    Member
    Posted 4 years ago #

    This is because a plugin you are running is outputting junk at the end of the feed:

    Warning: Wrong parameter count for strstr() in /home/kmull/public_html/wordpress/wp-content/plugins/stattraq.php on line 48

    Fix/Disable the plugin and your feed will validate ok. http://feedvalidator.org/check.cgi?url=http://www.kmulligan.net/wordpress/?feed=rss2

  3. sunburntkamel
    Member
    Posted 3 years ago #

    i'm getting the same error
    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.archgfx.net%2Fblog%2Findex.php%2Ffeed%2F

    how do you find what's causing the error?
    is it because of the ob_gzhandler error at the end?
    it probably is. i don't know how to fix that, either.

  4. sunburntkamel
    Member
    Posted 3 years ago #

    fixed.
    whew. sorry for cluttering the forums.

Topic Closed

This topic has been closed to new replies.

About this Topic