Download & Extend

PHP Fatal error: Call to undefined function xmlsitemap_update_sitemap

Project:XML sitemap
Version:6.x-1.1
Component:xmlsitemap_taxonomy.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi folks,

First off, thank you for your dedication to the module. I've had the module running for sometime without any issues until the past month. I see that this component it deprecated on the pull-down menu. Hopefully, you can take look at this issue.

I'm getting errors on the server error logs for:

PHP Fatal error: Call to undefined function xmlsitemap_update_sitemap() in /hermes/web02/b2962/jovestec/seaandsnow/main/modules/xmlsitemap/xmlsitemap_term/xmlsitemap_term.module on line 224

This seems to have an effect on generating Internal Server 500 errors as well. (http://www.seaandsnow.org/node/3374) I checked the current issues and have not found a duplicate entry. Any help will do to solve. Many thanks, James

for the site, www.seaandsnow.org

Comments

#1

Status:active» fixed

The problem is because you are using code that was removed (the entire xmlsitemap_term module was renamed to xmlsitemap_taxonomy). But because you didn't clear out the old files, you're still using a mix of old and new versions, which is why you're getting that error.

1. Delete your /modules/xmlsitemap directory.
2. Re-download the latest 6.x-1.1 version and upload/extract it to /sites/all/modules/xmlsitemap.
3. Visit your admin/build/modules page to enable the "XML sitemap taxonomy" module and make sure the rest that you had enabled are as well.

FYI, you should not be using the root /modules folder to install non-core modules. You should be using the sites/all/modules directory.

#2

Dave,

Many thanks! I'll do that tonight. Yes, I reckon to not include modules within the root folder, but the site has it's foundation already laid out. Definitely for the next upgrade/do-over.

Regards,
James

#3

Status:fixed» closed (fixed)

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

#4

Component:xmlsitemap_term.module (deprecated)» xmlsitemap_taxonomy.module