• 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 7 replies - 16 through 22 (of 22 total)
  • How did you solve the problem?

    I’m getting the same and facebook AWD is showing compatibility to only 3.3.2 It’s not compatible with 3.4.1

    Any fix or I have to disable it?

    I basically just commet out lines or functions where the url (https://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work) or get_plugins_feed() appears on the facebook-awd/AWD_facebook.php file. And the plugin can work without any problem.

    facebook-awd/AWD_facebook.php is in..

    plugins > editor > select plugin(FB AWD all in 1) > click facebook-awd/AWD_facebook.php under plugin files > ctrl+f and find ‘public function get_plugins_feed’

    you’ll see what dannylin is talking about.
    as for me, i’m not sure what’s this function for so i let it be and instead i hide or comment out the error displaying code which is found under this function: public function get_plugins_feed

    /**
    	 * Fetch Feed infos in admin side.
    	 * Rss Feed $url
    	 */
    	 public function admin_get_feeds($widget_awd_rss)
    	 {
    
    		$rss = @fetch_feed( $widget_awd_rss['url'] );
    		if ( is_wp_error($rss) ) {
    			if ( is_admin() || current_user_can('manage_options') ) {
    				/*$html .='<div class="rss-widget"><p>';
    				printf(__('<strong>RSS Error</strong>: %s'), $rss->get_error_message());
    				$html .= '</p></div>';*/
    			}
    		} elseif ( !$rss->get_item_quantity() ) {
    			$rss->__destruct();
    			unset($rss);
    			return false;
    		} else {
    			$html .= '<div class="rss-widget">';
    			$html .= $this->wp_widget_rss_output( $rss, $widget_awd_rss );
    			$html .= '</div>';
    			$rss->__destruct();
    			unset($rss);
    		}
    	}

    I removed the Facebook AWD plugin then deactivated the rest of my plugins – including the cache plugin I use. Then I re installed AWD and activated the other plugins and the error was gone!

    I have the same error but I’ve never installed Facebook AWD plugin before. How can I fix it?

    I have the same error and never installed that Facebook plugin either.

    When this happened before I found out that it can be caused by whitespace at the end of wp-config.php. Removing that whitespace fixed the problem.

    But now it is broken again. Apparently whitespace or “other stuff” in any plugins and functions.php code can cause this, so good luck tracking down the cause.

    Is there a better way to troubleshoot this or prevent these fatal errors? RSS is becoming unusable for me.

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