undefined function _token_get_id

Carlitus - April 3, 2008 - 10:32
Project:Workflow-ng
Version:5.x-2.0
Component:Wng Module Integration
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description

Sometimes Drupal only returns:

Fatal error: Call to undefined function _token_get_id() in /xxxl/sites/all/modules/drupal/workflow_ng/workflow_ng/modules/workflow_ng_token.inc

I'm using the last workflow_ng and the last token module.

I don't know if it is a token or workflow_ng bug.

#1

fago - April 4, 2008 - 09:06
Category:bug report» support request

hm, that's not really possible? token still has _token_get_id() defined in the latest version - it's there as long as token is there. Perhaps something is wrong with your token installation. Try to remove it and install a fresh version.

#2

chadcrew - July 14, 2008 - 22:35

I had this problem with one of my sites when I enabled the Secure Pages module. I'm not sure why, but when Secure Pages was enabled, token.inc was not being included. Updating to the most recent version of the Token module fixed this problem, because token.inc was merged into the module itself.

Hope that helps.

 
 

Drupal is a registered trademark of Dries Buytaert.