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.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | dhtml_menu-1020170-4-upgrade_path_fix.patch | 533 bytes | Boobaa |
Comments
Comment #1
marcoka CreditAttribution: marcoka commentedi get this notice galore too.
Comment #2
BoobaaVisiting 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.
Comment #3
BoobaaAttached is an upgrade path fix for this: set the "Filter type" to default if no setting is found.
Comment #4
BoobaaOkay, forget the previous one; here's another that actually works. Sorry for the noise.
Comment #5
dgrant CreditAttribution: dgrant commentedCan this be reviewed and checked in? It's almost two years old and it is still a problem. Thanks.
Comment #6
vuilMove the issue to the 7.x-1.x-dev branch.
Comment #8
vuilComment #10
vuil