Title: Yet Another &#8220;Feed Not Validating&#8221; Thread
Last modified: August 19, 2016

---

# Yet Another “Feed Not Validating” Thread

 *  [kraftomatic](https://wordpress.org/support/users/kraftomatic/)
 * (@kraftomatic)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/)
 * Hey Guys,
 * I’m trying to get the following feed to validate:
 * [http://www.totalracingsolutions.com/feed](http://www.totalracingsolutions.com/feed)
 * I get the following error:
 * XML Parsing Error: xml declaration not at start of external entity
    Location:
   [http://www.totalracingsolutions.com/feed](http://www.totalracingsolutions.com/feed)
   Line Number 2, Column 1:<?xml version=”1.0″ encoding=”UTF-8″?> ^
 * I’ve searched for info and haven’t found any solutions. I’ve searched through
   for blank spaces in files, I’ve turned off all plugins. I’m not sure what else
   to try at this point. Of course the feed validates fine in IE.
 * Any suggestions would be greatly appreciated.
 * Thanks.

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

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 2 months ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718628)
 * You have the blank line problem.
 * See here:
    [http://feedvalidator.org/docs/error/WPBlankLine.html](http://feedvalidator.org/docs/error/WPBlankLine.html)
 *  Thread Starter [kraftomatic](https://wordpress.org/support/users/kraftomatic/)
 * (@kraftomatic)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718658)
 * Yes, I realize that. The problem is I don’t know how/where to track down where
   the blank line is coming from. I’ve searched a number of files (all the theme
   files, the rss files, etc.) and cannot find it. Are there any other files I should
   be checking?
 *  [Len](https://wordpress.org/support/users/lenk/)
 * (@lenk)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718665)
 * Keep checking, it could be anywhere. It could even be a plugin causing it.
 *  Thread Starter [kraftomatic](https://wordpress.org/support/users/kraftomatic/)
 * (@kraftomatic)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718669)
 * I have disabled all the plug-ins. That in theory should cancel that out, correct?
 *  [Len](https://wordpress.org/support/users/lenk/)
 * (@lenk)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718673)
 * Not necessarily, it’s only a suggestion but could very well be the cause.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 2 months ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718704)
 * > _The problem is I don’t know how/where to track down where the blank line is
   > coming from._
 * Well, that’s the trick, isn’t it?
 * I can’t tell you where it’s coming from, but I can give you some tips.
 * Your [main page](http://www.totalracingsolutions.com/) has two blank lines before
   the doctype. This indicates to me that your theme probably has a lot of unnecessary
   blank lines in it.
 * Pay particular attention to the theme’s functions.php file, it should not have
   any blank lines at the beginning or end of the file. Just <?php and ?>, respectively.
 * Same goes for the wp-config.php file.
 * As far as the rest of the WordPress files go, if you have not modified them, 
   then just download them again and reupload them to your site. The files as they
   come in the ZIP package are correct, without the blank line problem.
 * Beyond that, I don’t know what to tell you. You find it by looking for it and
   finding it. There is no other way.
 * Oh, and a deactivated plugin cannot cause the problem. So that rules them out,
   doesn’t it?
 *  [popwireless](https://wordpress.org/support/users/popwireless/)
 * (@popwireless)
 * [18 years ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718890)
 * I have the same issue and disabled the theme. That didn’t help. The problem was
   left inside the default Kubrick theme. I have so far found no blank lines. The
   quickest attempt at a solution may be to download the latest archive and just
   upload files.
 *  [popwireless](https://wordpress.org/support/users/popwireless/)
 * (@popwireless)
 * [18 years ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718891)
 * I found an extra line in the WordPress file wp-feed.php. I also found that the
   define statement for secret key was missing from my wp-config file so I added
   that. Once those twio changes were made my RSS feed reappeared.

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

The topic ‘Yet Another “Feed Not Validating” Thread’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [popwireless](https://wordpress.org/support/users/popwireless/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/yet-another-feed-not-validating-thread/#post-718891)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
