When using the rate module there is a scenario where $vote can not be an array causing the following.
Error: Uncaught exception 'Error' with message 'Unsupported operand types' in wwwroot/sites/all/modules/votingapi/votingapi.module:595
in _votingapi_prep_vote called at wwwroot/sites/all/modules/votingapi/votingapi.module (165)
in votingapi_set_votes called at wwwroot/sites/all/modules/rate/rate.module (671)
in rate_save_vote called at wwwroot/sites/all/modules/rate/rate.module (318)
in rate_generate_widget called at wwwroot/sites/all/modules/rate/rate.module (772)
in rate_node_view called at wwwroot/includes/module.inc (957)
in module_invoke_all called at wwwroot/modules/node/node.module (1441)
in node_build_content called at wwwroot/modules/node/node.module (1336)
in node_view called at wwwroot/modules/node/node.module (2669)
in node_view_multiple called at wwwroot/modules/node/node.module (1466)
in node_show called at wwwroot/modules/node/node.module (2761)
in node_page_view called at wwwroot/includes/menu.inc (527)
…xecute_active_handler called at wwwroot/index.php (21)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | votingapi-unsupported_operand_type-2958972-2.patch | 1.04 KB | kschisler |
Comments
Comment #2
kschisler commentedComment #3
kschisler commentedComment #5
pifagor