Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: Zach Harkey commentedStill no dice.
Comment #3
spotzero CreditAttribution: spotzero commentedLooks like the correct answer was 'browsers' => array() in each block.
I've commited the fix to the dev branch.