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 get the following error when running Tweme 7.x-1.x-dev both with jQuery Update 7.x-2.3 and the latest 7.x-2.x-dev:
Notice: Undefined index: scope in drupal_get_js() (line 4263 of MYSITE\includes\common.inc).
The error does not occur when I set another theme as default.
Comments
Comment #0.0
semei CreditAttribution: semei commentedrephrasing
Comment #1
semei CreditAttribution: semei commentedThis error does *not* occur when using Tweme 7.x-1.1-alpha3. However, then I also experience the same issues as mentioned in https://drupal.org/node/1868642
Comment #2
semei CreditAttribution: semei commentedThe error only shows up if I choose an external CDN (e.g. Google) to serve me the jQuery library. If I go to admin/appearance/settings/MYTWEMESUBTHEME and set "Load jQuery library from:" to "Provided by Drupal" then things work properly.
Comment #3
anydigital CreditAttribution: anydigital commentedJust disable the jQuery Update module. Tweme does not need it anymore (by default) ;)
PS: I also added special checking for that case. Available since 7.x-1.2.
Comment #4
semei CreditAttribution: semei commentedPerfect, thank you! But now there is still the option "Provided by Drupal" which will break the navigation (it doesn't pull out) if jQuery Update is not installed.
Comment #5.0
(not verified) CreditAttribution: commentedweb url