Error when adding block

jschoder - May 11, 2009 - 19:59
Project:Affinity
Version:6.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I just set up a basic site. I get the problem when I add the "Affinity matches" to my right sidebar:

* 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 /***/activefor-prototype/modules/rules/rules/rules.input_evaluators.inc on line 55.
* 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 /***/activefor-prototype/modules/rules/rules/rules.input_evaluators.inc on line 55.

Thx for your great work and contact me if you need any additional information.

Configuration:
- Custom Theme
- No content has been added.
- Except the admin there is only one additional user.

#1

sicjoy - May 19, 2009 - 05:57

The error is coming from the Rules module. I will install Rules on my test server to see if there is a conflict.

#2

juanito - May 20, 2009 - 22:23

* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 419.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1) AND content_type = 'node' AND value_type = 'percent' AND tag = 'vote' ' at line 1 query: SELECT COUNT(content_id), uid FROM votingapi_vote WHERE uid > 0 AND uid NOT IN (,1) AND content_type = 'node' AND value_type = 'percent' AND tag = 'vote' GROUP BY uid HAVING COUNT(*) >= 5 in ..sites\all\modules\affinity\affinity.module on line 419.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 419.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1) AND content_type = 'node' AND value_type = 'percent' AND tag = 'vote' ' at line 1 query: SELECT COUNT(content_id), uid FROM votingapi_vote WHERE uid > 0 AND uid NOT IN (,1) AND content_type = 'node' AND value_type = 'percent' AND tag = 'vote' GROUP BY uid HAVING COUNT(*) >= 5 in ..sites\all\modules\affinity\affinity.module on line 419.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 419.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1) AND content_type = 'node' AND value_type = 'percent' AND tag = 'vote' ' at line 1 query: SELECT COUNT(content_id), uid FROM votingapi_vote WHERE uid > 0 AND uid NOT IN (,1) AND content_type = 'node' AND value_type = 'percent' AND tag = 'vote' GROUP BY uid HAVING COUNT(*) >= 5 in ..sites\all\modules\affinity\affinity.module on line 419.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 372.
* recoverable fatal error: Object of class stdClass could not be converted to string in ..sites\all\modules\affinity\affinity.module on line 419.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1) AND content_type = 'node' AND value_type = 'percent' AND tag = 'vote' ' at line 1 query: SELECT COUNT(content_id), uid FROM votingapi_vote WHERE uid > 0 AND uid NOT IN (,1) AND content_type = 'node' AND value_type = 'percent' AND tag = 'vote' GROUP BY uid HAVING COUNT(*) >= 5 in ..sites\all\modules\affinity\affinity.module on line 419.

Any Help

 
 

Drupal is a registered trademark of Dries Buytaert.