Quantcast
Channel: Issues for XML sitemap
Viewing all articles
Browse latest Browse all 1238

Call to undefined function xmlsitemap_link_frontpage_settings()

$
0
0

When hitting admin/settings/xmlsitemap/settings, I get the following error:

Fatal error: Call to undefined function xmlsitemap_link_frontpage_settings() in /srv/drupal/sites/example.com/modules/xmlsitemap/xmlsitemap.admin.inc on line 387

It seems that the function definitions in xmlsitemap.xmlsitemap.inc are not being picked up by Drupal 6. It is also bad form to mix several class and function definitions in the same file.

Moving the function definitions (including xmlsitemap_link_frontpage_settings() ) to the .module file seems to fix things at first glance.

Does anyone the exact cause of the problem, and whether that is a valid fix?


Viewing all articles
Browse latest Browse all 1238

Trending Articles