I am getting this error whenever saving or editing a node

"warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'token_rules_input_evaluator_apply' was given in /home/user/public_html/sites/all/modules/rules/rules/rules.input_evaluators.inc on line 54."

Comments

nikmahajan’s picture

Component: Rules Core » Rules Engine

can't some one figure out the problem? Please help somebody.

fago’s picture

Category: bug » support

Try reinstalling the token module and run update.php afterwards.

mitchell’s picture

Title: Please help with this issue » Token causes an error whenever saving or editing a node
Status: Active » Postponed (maintainer needs more info)
mitchell’s picture

Version: 6.x-1.0-beta4 » 6.x-1.0-rc1
Issue tags: -rules +rules 1.0
tommytom’s picture

I get the same error message after saving a content.
I'm using this rule: http://drupal.org/node/383138 (Redirect node author to referenced node)
and the latest stable version of this module.
I didn't install the token module.

In the log everything seems to be fine:

0 ms Content is going to be saved has been invoked.
0.156 ms Executing the rule Redirect To A Node Reference After Node Creation on rule set Content is going to be saved
0.392 ms Condition Saved content is decision20 evaluated to TRUE.
0.525 ms Action execution: Load a referenced node
2.882 ms Successfully added the new variable Referenced content
5.302 ms Action execution: Page redirect
5.439 ms Evaluation of Content is going to be saved has been finished.
decision20 dec test seven has been created. 

anybody know how to solve this issue ?

tommytom’s picture

I installed the dev version of the token module and now everything is fine. I don't get the error message anymore and it redirects correctly. Thanks fago.

fago’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -issues, -rules 1.0

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