WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Nextgen started causing Blank line XML bug in RSS Feed (2 posts)

  1. Pertinax
    Member
    Posted 5 years ago #

    I've been using the plugin for months without issue, and suddenly I got the "Blank line before XML declaration" malformed and unreadable feed (apparently where something inserts spaces before the opening php; seems to have affected Atom and RSS2 feeds only).
    Following all the fix instructions for that problem was fruitless, but disabling plugins one by one reveals the problem was with Nextgen. Restarting the plugin fixed it, but the same problem just reoccurred some hours later (restart fixed again), so I am concerned I have run into a bug. No recent changes I have made to the install seem a likely cause; all I can think of is that I now have a few thousand images in galleries with moderate traffic.
    I just upgraded it from .96 to .97 on the off chance this will have an effect, but otherwise it seems inexplicable - I can't reproduce the problem either.

  2. Pertinax
    Member
    Posted 5 years ago #

    Further checking reveals the problem seems to emanate from the feed attempting to display galleries with a lot of images, as excluding these long galleries from the feed allows it to work (I noticed such a custom feed I had was working); I have Nextgen on both long galleries and simply displaying one or two images with a post so there seems to be something strange going on here. I temporarily replaced all the offending feeds with working RSS1 feeds in a crude fix, but I'd appreciate any assistance with a proper fix...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.