Jump to:
| Project: | Quick Admin Menus |
| Version: | 5.x-1.0-beta |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
How I reproduce this error:
1. I go into quick menus and select a menu
2. I click the "Submit Menu Updates" button (with or without I changed something)
3. I get the "Success: Menu successfully imported" window and click OK
4. I click refresh or any other menu item in any menu
I get the red warning box with:
warning: Invalid argument supplied for foreach() in /web/drupal/sites/all/modules/quick_admin_menu/qam.module on line 475.
warning: Invalid argument supplied for foreach() in /web/drupal/sites/all/modules/quick_admin_menu/qam.module on line 475.
warning: Invalid argument supplied for foreach() in /web/drupal/sites/all/modules/quick_admin_menu/qam.module on line 475.
...
The number of warnings equals the number of menu items that where in the menu when I saved (step 2)
After I get the warnings and I click any menu item again or refresh the page, it loads without warnings. So the problem is only the first reload of any page.
Could you please fix this?
Thanks
Jan
Comments
#1
please test beta2
#2