backdrop-contrib / xmlsitemap

Provides a sitemap that conforms to the sitemaps.org specification.
GNU General Public License v2.0
1 stars 12 forks source link

Watchdog warning in cron for xmlsitemap_menu module #88

Closed jenlampton closed 5 years ago

jenlampton commented 5 years ago

When cron runs I'm seeing the following notice in the logs:

Warning: Invalid argument supplied for foreach() in xmlsitemap_get_link_type_enabled_bundles() (line 937 of backdrop/modules/contrib/xmlsitemap/xmlsitemap.module).

I've tracked this down to the menu_link link type. During cron, this function returns nothing for the allowed bundles:

xmlsitemap_get_link_info('menu_link');

It looks like this submodule is treating a menu link like an entity, but it's not one in Backdrop. Going to see if I can clean this up...

jenlampton commented 5 years ago

Oh, this seems to be fixed already in the latest version... sorry for the noise.