You’ve got a blank line somewhere it shouldn’t be. Tracking it down might be a bit tedious I’m afraid. Check the files suggested here:
http://validator.w3.org/feed/docs/error/WPBlankLine.html
Thanks for your quick reply alism. I’ve unfortunately checked those files already and they are clean.
I don’t know how I’ve managed but I think the situation is hopeless.
I fixed my invalid feed last week, I had a blank line between 2 php tags in my functions.php file….like:
<?php
code
?>
<?php
code
?>
and apparently that was enough to throw the error…I found it quite by accident, but deleting it fixed things. Can’t say I understand….as the rest of my templates have all sorts of spaces between things, but apparently in functions.php it was an issue
Unbelievable! I think it worked!
RVoodoo, you are my god right now! I’ve been pulling my hair out on this one for weeks if not months!
Thank you!
Anyone have a line number? I couldn’t find any such gap, but I’m still having the same error.
Hello, I have been having problems with my feeds. I am been at it for 2 weeks. The solutions that I found in your link shown above, it says:
•PHP also uses a similar notation: <?php … ?>. Note that the final php ?> should be omitted from all PHP code files—modules, includes, etc. The closing delimiter is optional in PHP (but not in XML), and removing it helps prevent unwanted white space at the end of files which can cause problems with your feeds.
•Check your wp-rss2.php and wp-atom.php files for blank lines outside of <? and ?> bracketed sections.
•Check your wp-config.php file for blank lines outside of <? and ?> bracketed sections.
•Check your theme’s functions.php file for blank lines outside of <? and ?> bracketed sections.
•One by one, disable plugins and revalidate until you isolate the one causing the problem.
————————
<?php … ?>. Note that the final php ?> I am not sure how to omit it. In my feed-rss.php, there is one line – <?php bloginfo_rss(‘url’) ?>, in this case should i make it
<?php bloginfo_rss(‘url’)
above shows I omited ?>
Is this correct?
When checking for blank lines outside of <? and ?> bracketed sections.
Does this mean
blank<?… and ?>blank?
PLease help. Thank you.
Hi, Alism, I FIXED IT. I am so glad to find your http://validator.w3.org/feed/docs/error/WPBlankLine.html and followed the instruction. Now I can go to sleep.zzzzzzzzzzzzz.
THANK YOU!