On a site upgraded from D6, I am getting many of these errors on most page loads:
Notice: Undefined index: type in dhtml_menu_preprocess_menu_link() (line 32 of /home/arencambre/drupal7/sites/all/modules/dhtml_menu/dhtml_menu.theme.inc).

If I get the errors on a page and refresh it several times, I will occasionally get a page load with no errors.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marcoka’s picture

i get this notice galore too.

Boobaa’s picture

Visiting http://example.com/admin/config/user-interface/dhtml_menu, selecting a "Filter type" in the "Disabling DHTML" fieldset and submitting the form solves this. Apparently it'd be great if dhtml_menu would provide a proper upgrade path from D6.

Boobaa’s picture

Status: Active » Needs review
FileSize
533 bytes

Attached is an upgrade path fix for this: set the "Filter type" to default if no setting is found.

Boobaa’s picture

Okay, forget the previous one; here's another that actually works. Sorry for the noise.

dgrant’s picture

Issue summary: View changes

Can this be reviewed and checked in? It's almost two years old and it is still a problem. Thanks.

vuil’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev

Move the issue to the 7.x-1.x-dev branch.

  • ilchovuchkov committed 835aa89 on 7.x-1.x
    Issue #1020170 by Boobaa, ilchovuchkov: Many Undefined index: type in...
vuil’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

vuil’s picture