I have a mostly-empty Drupal 6 installation and I'm having problems with variable errors appearing on my pages:
* notice: Undefined index: supernav_logout in /home/emmajane/websites/drupal/drupal-6/sites/all/modules/supernav/supernav.module on line 1161.
* notice: Undefined variable: script in /home/emmajane/websites/drupal/drupal-6/sites/all/modules/supernav/supernav.module on line 1184.
* notice: Undefined variable: comma in /home/emmajane/websites/drupal/drupal-6/sites/all/modules/supernav/supernav.module on line 74.
* notice: Undefined variable: shortcut_keys in /home/emmajane/websites/drupal/drupal-6/sites/all/modules/supernav/supernav.module on line 74.
* notice: Undefined variable: comma in /home/emmajane/websites/drupal/drupal-6/sites/all/modules/supernav/supernav.module on line 74.
* notice: Undefined variable: shortcut_keys in /home/emmajane/websites/drupal/drupal-6/sites/all/modules/supernav/supernav.module on line 74.
These appear to be bits of injected Javascript? I am using the default Garland theme when these problems arise ($closure is printed at the bottom of the page).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | supernav.patch | 1.6 KB | emmajane |
Comments
Comment #1
emmajane commentedI think I've found the spots where the variables are getting confused. Please see attached patch for the module.
Comment #2
chrisshattuck commentedPlease see http://drupal.org/node/285027#comment-1094346. Thank you for the patch, emmajane!