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

BillyMG’s picture

Assigned: Unassigned » BillyMG
Priority: Normal » Major
Status: Active » Closed (fixed)

Sorry about the delay, but this has been fixed in the latest dev push.

zastapmnie’s picture

sorry, but this bug is still doesn't fix

BillyMG’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

Can 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.

zastapmnie’s picture

When "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

BillyMG’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

You 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.