I am including jQuery Colorpicker in an install profile. It was failing with:

Unsupported operand types in includes/install.core.inc on line 721

A bit of debugging nailed it down to jquery_colorpicker module. I found these related issues:

http://drupal.org/node/1314616
http://drupal.org/node/1158926

The root cause is that install_check_requirements() expects that each implemention of hook_requirements() returns an array. If an implementation doesn't, then you get the error above.

Attached is a patch that fixes the issue.

Comments

plopesc’s picture

Status: Needs review » Fixed

Patch applied with authorship.
Thanks for your interest in this module.
Regards

Status: Fixed » Closed (fixed)

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