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 just enabled this module, and the folowing set of message turn up.
Notice: Undefined index: language in lang_dropdown_form() (line 225 of lang_dropdown.module).
Notice: Undefined index: language in lang_dropdown_form() (line 234 of lang_dropdown.module).
Notice: Trying to get property of non-object in lang_dropdown_form() (line 234 of lang_dropdown.module).
I have Locale installed, but not i18n, and i have installed some languages, on D7.9.
Comment | File | Size | Author |
---|---|---|---|
#3 | lang_dropdown-undefined_index_language_notice-1619344-3.patch | 5.44 KB | manfer |
#2 | lang_dropdown-undefined_index_language_notice-1619344-2.patch | 3.16 KB | manfer |
Comments
Comment #1
rtdean93 CreditAttribution: rtdean93 commentedI too just upgraded the module and now am receiving this notice...
Notice: Undefined index: language in lang_dropdown_form() (line 225 of /home/betablue/blueline-grs64/www/sites/all/modules/contrib/lang_dropdown/lang_dropdown.module).
Notice: Undefined index: language in lang_dropdown_form() (line 225 of /home/betablue/blueline-grs64/www/sites/all/modules/contrib/lang_dropdown/lang_dropdown.module).
Notice: Undefined index: language in lang_dropdown_form() (line 225 of /home/betablue/blueline-grs64/www/sites/all/modules/contrib/lang_dropdown/lang_dropdown.module).
I do have three languages enabled.
Comment #2
manfer CreditAttribution: manfer commentedTry the following patch.
And though no related I suggest to upgrade to D7.14 as there are lots of bug fixes including some security vulnerabilities solved since D7.9
Comment #3
manfer CreditAttribution: manfer commentedBetter patch
Comment #4
johnvQuiet some patch! But it removes the messages, and the LSD-block shows fine. Thanx!
Comment #5
manfer CreditAttribution: manfer commentedpatch pushed