I installed the Rules module as i tried out friendlist & heartbeat.

I got this error messages every time i triggered something (for example become a fan):

* 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 D:\xampp\htdocs\modules\rules\rules\rules.input_evaluators.inc on line 54.
* 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 D:\xampp\htdocs\modules\rules\rules\rules.input_evaluators.inc on line 54.

I am not from what its triggered, its on my test snapshot. Here is a module list (heartbeat was enabled but removed):

Account reminder 6.x-1.1
Includes: Account Reminder
Custom Breadcrumbs 6.x-1.4
Includes: Custom Breadcrumbs
Email Change Confirmation 6.x-1.2
Includes: Email Confirm
False Account Detector 6.x-2.2
Includes: False account
FriendList 6.x-1.x-dev (2008-Dec-09)
Includes: Friendlist API, Friendlist Access, Friendlist Access Integration, Friendlist Blocks, Friendlist Rules, Friendlist UI, Friendlist Views
ImageAPI 6.x-1.2
Includes: ImageAPI, ImageAPI GD2, ImageAPI ImageMagick
ImageCache 6.x-2.0-beta5
Includes: ImageCache, ImageCache UI
Messaging 6.x-1.0
Includes: Messaging, Simple Mail
Notifications 6.x-1.0
Includes: Content Notifications, Notifications, Notifications Lite
Organic groups 6.x-1.1
Includes: Organic Groups Notifications, Organic groups, Organic groups Views integration
Pathauto 6.x-2.x-dev (2008-Dec-14)
Includes: Pathauto
Rules 6.x-1.0-beta3
Includes: Rules
ShareThis 6.x-1.4
Includes: ShareThis
Token 6.x-1.11
Includes: Token
User Badges 6.x-1.4
Includes: User badges
Views 6.x-2.2
Includes: Views, Views UI
Web File Manager 6.x-2.10-rc3
Includes: Web File Manager

Comments

jcmartinez’s picture

Title: error messages with friendlist and heartbeat » error messages with friendlist and token
Component: Rules Core » Rules Engine

Something similar is happening to me with friendlist, rules and token:

• 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/sitefolder/public_html/MySite.com/sites/all/modules/rules/rules/rules.input_evaluators.inc on line 54.
• 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/sitefolder/public_html/MySite.com/sites/all/modules/rules/rules/rules.input_evaluators.inc on line 54.
• 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/sitefolder/public_html/MySite.com/sites/all/modules/rules/rules/rules.input_evaluators.inc on line 54.
• 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/sitefolder/public_html/MySite.com/sites/all/modules/rules/rules/rules.input_evaluators.inc on line 54.

The system is supposed to send a notification email when a user adds another to their friends list. I noticed that the message is sent but the body is blank.

Mr.W.A.C.’s picture

I have exactly the same issue and am searching for solutions.

MINE started when I installed Friendlist. Up until that point Rules, Token and Views worked perfectly. Any help for us? I see it has been days without reply. :(

amitaibu’s picture

Are you using latest DEV release of both Rules and Token?

fago’s picture

Status: Active » Closed (fixed)

he said to use Token 6.x-1.11. Read the install instructions...

mercmobily’s picture

Hi,

From the maintainer of Friendlist:

"That only happens if somebody installs stable versions of Rules and Token.
Latest Dev versions are required."

Bye!

Merc.

echoman74’s picture

I have done the same thing even reinstalled the 2 modules and still receive the same
message.

What might be causing this error?

* 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/mysite/public_html/modules/rules/rules/rules.input_evaluators.inc on line 54.
* 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/mysite/public_html/modules/rules/rules/rules.input_evaluators.inc on line 54.
* 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/mysite/public_html/modules/rules/rules/rules.input_evaluators.inc on line 54.
* 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/mysite/public_html/modules/rules/rules/rules.input_evaluators.inc on line 54.

What might be causing this error?

amitshukla’s picture

I am also getting the same when I am using friendlist module :

* 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 /domains/48191/web/club/sites/all/modules/rules/rules/rules.input_evaluators.inc on line 54.
* 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 /domains/48191/web/club/sites/all/modules/rules/rules/rules.input_evaluators.inc on line 54.

any luck yet ?

baim78’s picture

Version: 6.x-1.0-beta3 » 6.x-1.x-dev

Hi,

From the maintainer of Friendlist:

"That only happens if somebody installs stable versions of Rules and Token.
Latest Dev versions are required."

Bye!

Merc.

This works for me. Thanks

marcoBauli’s picture

Just an update:

got the same error without Friendlist installed on my system. Latest dev versions of Token and Rules fixed it anyway.

hendrinx’s picture

I was having the same issue. Installed the rules and token dev modules which had no effect. I then enabled the TokenStarter module which did the trick...