Closed (outdated)
Project:
DHTML Menu
Version:
6.x-3.5
Component:
PHP Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2009 at 15:34 UTC
Updated:
30 Sep 2019 at 13:38 UTC
Jump to comment: Most recent
Comments
Comment #1
cburschkaThe issue has been fixed in one place, but popped back up in another. I've already made a patch for it in #483920: Problem when no child menu is visible (D6, 3.5+).
Comment #2
asb commentedHi!
Funny. Yesterday I installed DHTML Menu on Drupal 6.13 on Debian "Lenny" - no problems. Today I installed DHTML Menu on Drupal 6.13 on FreeBSD 7.1, and immediately I get:
warning: Invalid argument supplied for foreach() in /usr/local/www/.../includes/menu.inc on line 743..The patch from 483920 suppresses the warning, thanks!
-asb
Comment #3
nhomar commentedThis patch work like a charm.
Is very simple apply it...... it should be merged to the project.....
regards
Comment #4
cburschkaSince the other patch is now committed, this issue is gone too.
Comment #6
trevort commentedI've had this issue occur on my site.
Drupal 6.19
DHTML Menu 6.x-3.5
It happened shortly after installing
Menu Block 6.x-2.3
Happy to supply output/details if you can guide me to generate them for you
Comment #7
lafingguy commentedI'm getting the same warning with Drupal 6.20 and DHTML menu 6.x-3.5.
I'm going to try 6.x-4.dev and see if that fixes it
Comment #8
Ela commenteddid the dev version fix it ? I'm having the same warning
Comment #9
eL commentedjust moved from 3.5 to 6.x-4.x-dev and got this:
warning: Invalid argument supplied for foreach() in H:\Zend\Apache2\htdocs\web\includes\menu.inc on line 744.
Comment #10
eL commentedComment #11
shaneonabike commentedI can confirm that your patch fixed this issue for me!
Comment #12
gr33nman commentedJust did a drush up. Drupal 6.24.
When creating new menus, I still see this issue.
I generally disable DHTML for hand-crafted sidebar menus, but the default is for DHTML_Menu to be enabled on new menu creation. When that happens, the "Warning:Invalid argument supplied for foreach() ... menu.inc on line 743." message still shows up. I don't see it on my
I just disabled DHTML_Menu for the offending menu, so it's not a problem for me, but someone else finding the same problem.
Comment #13
vuilI closed the issue as Closed (outdated) because it is for unsupported 6.x version of Drupal.
Thanks for the contribution!
Comment #14
vuil