Closed (fixed)
Project:
Userpoints Node Action
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
19 Oct 2012 at 06:51 UTC
Updated:
4 Dec 2012 at 05:17 UTC
I have been trying to limit the the user permission to create new node based on the user points. Used this module and created "Add Node Action Rule" properly. But when creating new node i faced this error.
Fatal error: Call to undefined function taxonomy_get_term() in /var/www/cs-sreyas/sites/all/modules/userpoints_node_action/userpoints_node_action.inc on line 393
Upon checking the code found that we do not have taxonomy_get_term function in drupal 7 instead it was replaced by taxonomy_term_load. Could you please check this and do the needful.
Comments
Comment #1
BillyMG commentedSorry about the delay, but this has been fixed in the latest dev push.
Comment #2
zastapmnie commentedsorry, but this bug is still doesn't fix
Comment #3
BillyMG commentedCan you get me the error? I've done a global search for "taxonomy_get_term" and it doesn't show up anywhere in the code.
Comment #4
zastapmnie commentedWhen "Add Node Action Rule" and then when i check this rule, i show white page and error:
Fatal error: Call to undefined function taxonomy_get_term() in /sites/all/modules/userpoints_node_action/userpoints_node_action.inc on line 393
I dont know, why
Comment #5
BillyMG commentedYou need to download the latest version of DEV. That line was changed with this original bug. Please re-download the code and make sure you're using the latest version of the DEV.