menu_rebuild() sometimes produces
WD php: Notice: Undefined index: module in _menu_router_build() [notice]
(line 3194 of
The empty string default is filled in afterwards, no attempt is made to set it before then, so we just need to move it a bit earlier. I'm not sure what specifically causes this bug to occur, but it's a trivial fix.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | drupal-6.x-1288098366.patch | 568 bytes | hswong3i |
| menu_notice.patch | 801 bytes | catch |
Comments
Comment #1
chx commentedStill applies.
Comment #2
dries commentedCommitted to CVS HEAD. Thanks.
Comment #4
hswong3i commentedCase similar and also apply for Drupal 6.19. When "drush up" + PHP5.3.2 error message as below:
Patch via drupal-6.x-dev CVS.
Comment #5
yched commentedI'm bitten by this as well on D6 - no need for PHP 5.3, just enable a module that *adds* menu items in hook_menu_alter().
Comment #7
joshuajabbour commenteddespite the bot, this patch applies and fixes the issue. please apply to d6...
Comment #8
gábor hojtsyCommitted, thanks.