Ready to get started?Download WordPress


[resolved] RSS Feed Showing Error and Not Working (6 posts)

  1. Manish Suwal 'Enwil'
    Posted 1 year ago #

    I recently changed the theme for my blog and now the RSS Feed doesn't work.

    I've researched and tried doing everything but still not luck.

    Link to my site feed: http://enwil.com/feed

    It shows the following error:

    This page contains the following errors:

    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.

    What does it mean and what should I do? I installed 'Fix My Feed RSS Repair' plugin as well, but still doesn't work.

    What could be the problem?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Can you replicate the problem using the default Twenty Thirteen theme with all plugins deactivated?

  3. Manish Suwal 'Enwil'
    Posted 1 year ago #

    Hi esmi,

    First I deactivated all Plugins. It still showed the problem.

    After that, I Activated the Twenty Thirteen theme and the problem was solved.

    Again after that, I Activated the Parent theme of my theme and still it worked, and there was no error.

    When I Activated the child theme, the problem showed up.

    So, I guess I have problem in the child theme. What could be the problem in Child theme?

    I have been experimenting with lots of action hooks and functions lately, in the child theme.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    My guess is that you have a leading blank line in one of your child theme's template files.

  5. Manish Suwal 'Enwil'
    Posted 1 year ago #

    The functions.php in the child theme had a blank line in the beginning. What a blunder mistake.

    Thank you esmi. :)

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic