Closed (fixed)
Project:
Jquery Colorpicker
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jan 2012 at 18:28 UTC
Updated:
14 Feb 2012 at 18:00 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| jquery_colorpicker_hook-requirements-return-array.patch | 333 bytes | cameron tod |
Comments
Comment #1
plopescPatch applied with authorship.
Thanks for your interest in this module.
Regards