WordPress.org

Support

Support » How-To and Troubleshooting » RSS error- XML document is invalid

RSS error- XML document is invalid

  • Hi, I have this error on my wordpress dashboard:
    RSS Error: This XML document is invalid, likely due to invalid characters. XML error: Invalid document end at line 194, column 1RSS Error: This XML document is invalid, likely due to invalid characters. XML error: Invalid document end at line 349, column 1

    and I can’t upload picture, add plugin or anything. I check my fee with feed validator and all works fine… What can I do to resolve this problem?

Viewing 15 replies - 1 through 15 (of 22 total)
  • I have the same problem. :-\

    same problem here after wordpress 3.4 upgrade.
    tried shutting down all plugins but still the same thing.

    I’m having the same problem now….Has anyone fixed it?

    Same problem since today.

    Ditto.

    “RSS Error: This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 194, column 0RSS Error: This XML document is invalid, likely due to invalid characters. XML error: junk after document element at line 349, column 0 ”

    Do any of you guys have “Facebook AWD All in One” installed? I deactivated it on the problem installation and the error message disappeared.

    I have it installed on other installations too though, and no problems there…

    Yea @richstrauss…..I was about coming back here to post that. I noticed when I tried to upload a media file, one of the error quoted “Facebook AWD All in One” so I just deactivated it and everything worked well.

    OK, I added Facebook AWD to the tags for this thread – it seems that it is only conflicting with certain themes, as two of my websites use the same theme with Facebook AWD installed, and both are giving the error.

    Other sites with different themes and also with Facebook AWD installed are OK. The error has nothing to do with WordPress 3.4 – The one site I went into now still ran on 3.3 and still had the error.

    confirmed: just disable Facebook AWD and the error was gone. #$%^&*…

    Update,

    I think the real problem is that the new “Facebook” Plugin is conflicting with Facebook AWD. I just disabled the Facebook Plugin and enabled Facebook AWD and everything is back to normal.

    It now matters which one is more important to your site, The only feature I use in the facebook plugin is the recommendation bar.

    which is the new “Facebook” Plugin you are talking about?

    Katie B. HousewifeHowTos.com

    @katie-b-of-housewifehowtosco

    I don’t have the Facebook plugin installed, but I’ve been getting this error for a couple of days now. It’s got to be a different plugin.

    @katie, do you have the “Facebook AWD All in One” installed?

    I tried to track down the source code, modify it and found it was exactly caused by it. But it should be okay now.

    Here’s where the problem is. There’s a function in facebook-awd/AWD_facebook.php.
    When you visit the url ‘http://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work’ earlier, you get exactly the same error.

    public function get_plugins_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'http://facebook-awd.ahwebdev.fr/plugins/',
    			'url' => 'http://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work',
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}

    I tried to mark this function and all related instances as comment in the source file and the error was gone!

    I’m having the same problem and I’m using that Facebook AWD plugin, any solution? I don’t understand the comment above.

    @nicoleuk: try to visit: http://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work and you’ll see almost the same error.

    It was an url used in Facebook AWD’s plugin and I believe it was an error caused by Facebook AWD.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘RSS error- XML document is invalid’ is closed to new replies.
Skip to toolbar