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.
Notice: Undefined index: scope in advagg_mod_js_move_to_footer() (line 1175 of /sites/all/modules/contrib/advagg/advagg_mod/advagg_mod.module).
Notice: Undefined index: scope in advagg_mod_js_move_to_footer() (line 1179 of /sites/all/modules/contrib/advagg/advagg_mod/advagg_mod.module).
Comment | File | Size | Author |
---|---|---|---|
#5 | advagg-2790299-5-remove-non-scope-js.patch | 1.22 KB | mikeytown2 |
#2 | undefined_index_scope-2790299-2.patch | 803 bytes | markdorison |
Comments
Comment #2
markdorisonComment #3
mikeytown2 CreditAttribution: mikeytown2 commentedDoes this happen to you with #2752147-9: Undefined index: weight/group/every_page in advagg_mod_sort_css_js/advagg_drupal_sort_css_js_stable, the latest dev in short?
Comment #4
markdorison@markdorison: Yes, this occurs with the latest dev release.
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedThis should fix the root issue; js files have to have scope otherwise they don't get added. Noted that this should fix the issue in here as well #2790301: Undefined index: scope in drupal_get_js()
I still think you have a js_alter hook that is doing something wrong.
Comment #7
mikeytown2 CreditAttribution: mikeytown2 commented#5 has been committed.