[wp-trac] [WordPress Trac] #23885: error on line 2 at column 6: XML declaration allowed relating to comments RSS

WordPress Trac noreply at wordpress.org
Fri Mar 29 11:40:26 UTC 2013


#23885: error on line 2 at column 6: XML declaration allowed relating to comments
RSS
--------------------------+----------------------
 Reporter:  RobinInTexas  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Feeds         |     Version:  3.5.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Feeds
 * milestone:  Awaiting Review =>


Comment:

 Could not reproduce on a clean install with Twenty Eleven.

 > error on line 2 at column 6: XML declaration allowed only at the start
 of the document

 This means that you have some extra output before `<?xml>` tag in the
 feed, most likely caused by whitespace or multiple line breaks outside of
 PHP tags in `wp-config.php`, theme's `functions.php`, or a plugin file.

 Keep in mind that feeds are often cached by browsers and feed readers, so
 if you have deactivated all the plugins and the problem remains, a force
 refresh might be needed to see the changes.

 This is a support issue, not something that can be fixed in core. Please
 continue with your topic on the forums: http://wordpress.org/support/topic
 /error-on-line-2-at-column-6-xml-declaration-allowed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23885#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list