Title: Rss Feed XML Error
Last modified: August 22, 2016

---

# Rss Feed XML Error

 *  Resolved [ukndoit](https://wordpress.org/support/users/ukndoit/)
 * (@ukndoit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-xml-error/)
 * I am getting this error:
    error on line 2 at column 6: XML declaration allowed
   only at the start of the document Below is a rendering of the page up to the 
   first error.
 * when I try to load my feed.
 * I made sure the functions.php file in my theme and in Genesis do not have spaces
   after the closing php tag: ?>
 * The functions.php in Genesis, does not have a closing ?> tag…
 * So I figured it was meant to be that way, so I did not add one.
 * Can you tell me how to fix this?
 * Thanks,
    Richard

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [ukndoit](https://wordpress.org/support/users/ukndoit/)
 * (@ukndoit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-xml-error/#post-5261532)
 * I found someone that had used this file:
 * wejnswpwhitespacefix.php… that shared it.
    I checked it, no virus, no bad things.
 * Uploaded it and added the line to pull it into the wordpress main index.php file…
   that seems to have fixed it, but there is no content in my rss feed…
 * That is another issue, so closing this one.
 *  Thread Starter [ukndoit](https://wordpress.org/support/users/ukndoit/)
 * (@ukndoit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-xml-error/#post-5261534)
 * Oh, I was wrong. It is only working in Firefox, not Chrome…
 * Why is it working in Firefox and not in chrome?
 * Richard

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Rss Feed XML Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [ukndoit](https://wordpress.org/support/users/ukndoit/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/rss-feed-xml-error/#post-5261534)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
