This bug depends on color_get_info and was reported on our track (#652274: Error Message from Color module with CKEditor). in color_get_palette you getting color_get_info, which return null when theme like Bluemarine don't support color module, this generate warnings:
warning: array_keys() [function.array-keys]: The first argument should be an array in /home/****/public_html/modules/color/color.module on line 138.
warning: array_shift() [function.array-shift]: The argument should be an array in /home/****/public_html/modules/color/color.module on line 139.You should check what was returned by color_get_info().
Comments
Comment #1
thekevinday commentedBump version.
How about wrapping the color_get_palette(..) in an if (is_null(..)):
becomes:
is this safe to have no
$palette[$fields[$k]]set?