Here's the back trace for the error:

Type: php
Invalid argument supplied for foreach() in /home/xxxxxxx/public_html/sites/all/modules/dhtml_menu/dhtml_menu.module on line 175.
Backtrace: _dhtml_menu_subtree(...)[dhtml_menu.module:117] <=dhtml_menu_theme_menu_item(...)[?:?] <=call_user_func_array(...)[theme.inc:656] <=theme(...)[menu.inc:764] <=menu_tree_output(...)[i18nmenu.module:102] <=i18nmenu_translated_tree(a:1:{i:0;s:16:"menu-member-menu";})[i18nblocks.module:355] <=i18nblocks_theme_blocks(a:1:{i:0;s:13:"sidebar_first";})[?:?] <=call_user_func_array(...)[theme.inc:656] <=theme(...)[theme.inc:1820] <=template_preprocess_page(...)[?:?] <=call_user_func_array(...)[theme.inc:697] <=theme(...)[index.php:36] <=index.php

And the offending chunk of code:

   // Traverse the tree.
  foreach ($index[$item['mlid']]['parents'] as $mlid) {
    $key = $index[$mlid]['key'];
    if (!isset($tree[$key])) {
      return array();
    }
    $tree = $tree[$key]['below'];
  }
  $key = $index[$item['mlid']]['key'];
  return isset($tree[$key]) ? $tree[$key]['below'] : array();
}

Server Version: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a DAV/2 mod_bwlimited/1.4 mod_perl/2.0.4 Perl/v5.8.5
Server Built: Mar 6 2009 16:17:39

Php version 5.2.13
Safe mode Disabled
Memory limit 256M
Upload max filesize 150M
GD version bundled (2.0.34 compatible)
FreeType support (Enabled), Jpg support (Enabled), Png support (Enabled)
CURL version 7.20.0
Multibyte support Enabled
Mbstring.func_overload disabled
XML support Enabled
Zip support Enabled
Zlib support Enabled

Database type MySQL
Version 5.0.89
Default Engine InnoDB
character_set_database utf8
character_set_results utf8
collation_connection utf8_general_ci
collation_database utf8_general_ci

Drupal 6.16

Internationalization 6.x-1.3
Localization client 6.x-1.x-dev
Javascript Aggregator 6.x-1.3
jQ 6.x-1.2
jQuery Impromptu 6.x-1.1
JQuery menu 6.x-3.0
jQuery plugins 6.x-1.10
jQuery UI 6.x-1.3
jQuery Update 6.x-2.x-dev

And of course many more modules, all up to date.

Any help would be much appreciated and reciprocated!

Comments

kewlguy’s picture

Status: Active » Closed (fixed)
paskainos’s picture

Did you get it fixed? I'm having the same issue.

manumad40’s picture

Status: Closed (fixed) » Needs review

In getting almost the same error (line 176 for me) when last version of Admin module is enabled (I have tested it with 2.0-beta2 and 2.0-beta3 versions). I downgraded Admin module to 6.x-1.0-beta3 and the error has gone.

kewlguy’s picture

Nope, I did not get it fixed.

It seemed like I was the one with the problem so I marked it up to being 'likely my mistake' with not really understanding the multitudes of menu modules for Drupal.

I disabled the dhtml menu. I did not try rolling back the admin menu as has been suggested.

manuel.adan’s picture

In the meantime, I downgraded it to previous version 3.4, running smoothly again.

guysung’s picture

I am having same issue. Any solutions?

vuil’s picture

Status: Needs review » Closed (outdated)

I closed the issue as Closed (outdated) because it is for unsupported 6.x version of Drupal.

Thanks for the help.

vuil’s picture