Closed (fixed)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
xmlsitemap.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Dec 2011 at 08:44 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chrisarusso commentedI just started getting this from a client's site today. I'll update you if I figure it out... but I've made no code changes in months. Maybe server config change? Are you hosting on bluehost?
Comment #2
chrisarusso commentedI didn't dig too deeply on this but it doesn't appear to check if a mlid returns false before it assumes it will be a loaded object that it can do something with.
This patch seemed to do the trick.
Comment #3
chrisarusso commentedComment #5
tillal commentedHI illmasterc,
thanks for your help, I'm sorry I don't understand why but I was not inform of your answer.
I will try your answer even though I'm not quite sure why the patch failed.
Comment #6
tillal commentedWorks perfectly
Thanks so much mate !!!!
Comment #7
dave reidI'm not sure exactly how this condition happens but it's a good fix nonetheless. I modified it a little bit and committed to both 7.x-2.x and 6.x-2.x.
http://drupalcode.org/project/xmlsitemap.git/commit/e94c0ac
http://drupalcode.org/project/xmlsitemap.git/commit/542fc4d