I'm getting this error notice:

Notice: Undefined index: #description in admin_menu_theme_settings() (line 673 of /home/account/public_html/drupal/sites/all/modules/admin_menu/admin_menu.inc

CommentFileSizeAuthor
#4 1950842-4.patch784 bytesNancyDru
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

GiorgosK’s picture

it turns out that this is related to util module (https://drupal.org/project/util)
I have done a drupal 6 > drupal 7 upgrade which included the util module (module weight submodule) but this module is not needed anymore

disabling the util / module_weight modules solves the problem

this is the relevant code that gives the NOTICE

if (module_exists('util')) {
    $form['tweaks']['admin_menu_tweak_modules']['#description'] .= '<br /><strong>' . t('If the Utility module was installed for this purpose, it can be safely disabled and uninstalled.') . '</strong>';
  }
GiorgosK’s picture

NancyDru’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
784 bytes

Yes, that line has .= but description field does not exist. Just removing the dot would fix it.

NancyDru’s picture

BTW, the test should actually be for "admin_page_fieldsets" not "util."

deanflory’s picture

For anyone using D7, the Module Weight submodule does not show up on the Modules page and is not included in the D7 version.

NancyDru’s picture

That is correct; that submodule is for 6.x only. However, the admin_page_fieldsets submodule does run on 7.x and is unnecessary if you use the admin menu tweak (except in an overlay).

renatog’s picture

Status: Needs review » Reviewed & tested by the community

#4 really makes sense.

Works good!

Thank you very much for contributing.

  • RenatoG committed a813fbf on 7.x-3.x authored by NancyDru
    Issue #1950842 by NancyDru: Notice: Undefined index: #description in...
renatog’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

I just want to note that the commit related to this issue contains the .orig backup file and should probably be cleaned up before release.

Happy to see development on this module active again and looking forward to being able to run a tagged release again!

  • truls1502 committed 2dc5a9d on 7.x-3.x
    Issue #1950842 by truls1502, Brian Altenhofel: Notice: Undefined index...
truls1502’s picture

@Brian Altenhofel - thank you for eye open. I have removed the .orig file.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.