Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
D5.12
Taxonomy module not enabled.
Userpoints 5.x-3.7
Userpoints_contrib 5.x-3.0: invite
Userpoints_contrib 5.x-3.0: role exempt
Userpoints working without problems before upgrade from '5.x-2.16' to '5.x-3.7'. Update of database successful without any errors. Error message thrown when clicking 'admin> manage points'.
Fatal error: Call to undefined function taxonomy_save_vocabulary() in C:\xampp\htdocs\drupal\sites\demo.robertmaxim.local\modules\userpoints\userpoints.module on line 1689
Any ideas as to the cause of this error message?
Comments
Comment #1
kbahey CreditAttribution: kbahey commented@WiredEscape
If you enable the taxonomy module, this problem will go away.
@jredding
We need to wrap all the calls that depend on taxonomy in :
And allow the module to operate without taxonomy enabled.
Comment #2
WiredEscape CreditAttribution: WiredEscape commentedThe simple fix was to enable Taxonomy.
The error ceases, but should there not be a check for whether the Taxonomy module is enabled before calling this function?
Comment #3
WiredEscape CreditAttribution: WiredEscape commentedFast reply! You beat me to the punch.
Comment #4
jredding CreditAttribution: jredding commentedfixed in both 5 and 6