Closed (fixed)
Project:
Adaptive Image Styles (ais)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2012 at 04:34 UTC
Updated:
4 Nov 2012 at 05:01 UTC
I'm getting this error whenever I try to enable this module under a commerce kickstart rc1 setup:
Warning: ksort() expects parameter 1 to be array, null given in drupal_group_js() (line 4382 of .../public_html/includes/common.inc).
Warning: ksort() expects parameter 1 to be array, null given in drupal_group_js() (line 4382 of .../public_html/includes/common.inc).
Any ideas?
Comments
Comment #1
spotzero commentedIt looks like commerce kickstart has some patchset or backported D8 core code that it don't like what is added by AIS' implementation of hook_js_alter.
This is likely a bug somewhere all the core changes, but the easiest way to fix it may be to add
into the two array of javascript definitions added by ais.module->ais_js_alter().
I haven't tested that, but give it a try. If it works I'll update AIS.
Thanks,
Comment #2
zach harkey commentedStill no dice.
Comment #3
spotzero commentedLooks like the correct answer was 'browsers' => array() in each block.
I've commited the fix to the dev branch.