Hi getting this warning:

Notice: Undefined index: mlid in dhtml_menu_theme_menu_item_link() (line 59 of /home/public_html/workbench/modules/dhtml_menu/dhtml_menu.module).

I did a quick search and found this post

http://drupal.org/node/151583

dont know how relevant it is. way over this telephone repairman's head.

Thanks again, Jim

Comments

cburschka’s picture

Category: task » bug
Priority: Minor » Normal

Thanks for the report, this is a bug that has been occurring many times, and each time I think I've fixed it completely...

azbok’s picture

Status: Active » Needs review

I've been getting the same problem.

Example, lets suppose you are in the admin/user/user area and you have the little subtabs:
Users * List * Add user

Those tabs don't have entries in the 'menu_links' database table. I dunno if this is the proper fix, but since there's no need to dhtmlify those thinks, you can just skip these steps (dunno for sure if the _dhtml_menu_stack *should* be skipped) but it seems to work so far.

  if ( isset($link['mlid']) ) {
    $link['localized_options']['attributes']['id'] = 'dhtml_menu-' . _dhtml_menu_unique_id($link['mlid']);

    // Each link in series is another level of recursion. Add it to the stack.
    _dhtml_menu_stack($link);
  }
giorgosk’s picture

Status: Needs review » Active

Yes proposed solution seems to eliminate the warnings
but this is not a patch thus changing the status

vuil’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I close the issue as Closed (outdated) because there is not activity for the last 13 years.