• Hi!

    I have discovered today that my blog’s feed does not validate. I have read about the error a bit and did a small hunt in search of blank lines but the error persists.

    I suspect that there might be something wrong with my functions.php file structure. I have been pasting some code there from various guides from the Internet in order to enable some features. The problem is, I have lost the orientation where which code block ends and where next one starts and I like to keep my code organised.

    Could somebody help me make sense of my functions.php file? It’s available here. What I mean, I would like to separate each distinct code block with a blank line. Right now it’s all bit mixed and confusing. I’m not sure if it would help me to get rid of the RSS blank line error but might help me avoid some troubles in the future.

    Thank you in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey pafell looks like to me this might be an easy fix.

    Delete the blank space in your xml
    which is in line 1

    See if that fixes the issue.

    Thread Starter Pawel

    (@pafell)

    But I think that this xml file is generated automatically and I cannot get to it straightaway. Am I wrong?

    In general, it is suggested to look into files like plugins, wp-config.php or functions.php. But if you could tell me the path of the file then I will see if I can make it work ??

    Try to deactivate all the plugins you think that will cause this error to happen and one by one check if the feed shows or not shows.

    Thread Starter Pawel

    (@pafell)

    I’ve done it already ?? I’ve disabled all network-wide plugins and all site-specific plugins and tried to validate the feed again. I’ve still got a blank line there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘My functions.php file structure might be causing RSS blank line error’ is closed to new replies.