When i update sitemap file by using the module, in watchdog i see these error.
I uninstalled module and installed again, but it didn't work.
What can be the error?
Thank you very much.

Notice: Undefined offset: 5 in DatabaseLog->findCaller() (line 151 of /home/mysite/public_html/includes/database/log.inc).
Notice: Undefined offset: 5 in DatabaseLog->findCaller() (line 154 of /home/mysite/public_html/includes/database/log.inc).
Notice: Undefined index: file in DatabaseLog->findCaller() (line 147 of /home/mysite/public_html/includes/database/log.inc).
Notice: Undefined index: file in DatabaseLog->findCaller() (line 149 of /home/mysite/public_html/includes/database/log.inc).
Notice: Undefined index: line in DatabaseLog->findCaller() (line 150 of /home/mysite/public_html/includes/database/log.inc).

Comments

trante’s picture

Any comments please?

Anonymous’s picture

Other than the fact that the reported error isn't from xmlsitemap but from Drupal core, no. I see no reason xmlsitemap would give this error? Are you on the most current version of D7?

trante’s picture

Thank you for your reply.

I use D7.9 now. And i'm curios to update my site to 7.10, so i suppose i will stay in D7.9.

I regenerated sitemap.xml manually with this module. Checked wathcdog. These errors occured.
I don't get these errors when i don't update sitemap file.
I would be happy if you can guide me about the error.

salvis’s picture

Issue tags: -databaselog, -findcaller
Anonymous’s picture

Status: Active » Fixed

Closing as fixed since this isn't an xmlsitemap issue and it would be a duplicate for the core issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

salvis’s picture

If you have any interest in getting this fixed in core then please review/test the D7 patch at #1739808-24: Notice: Undefined index: file in Drupal\Core\Database\Log->findCaller().

salvis’s picture

Issue summary: View changes

corrected a typo