I upgraded from Drupal 6.x to the Drupal 6.15. When the "Create Account" link is clicked, the following error is displayed:

warning: Invalid argument supplied for foreach() in /home/toolserv/public_html/includes/menu.inc on line 258.

Any activity on this type of error seems to have been from over a year ago on the forums. I've read that the error could be in hook_menu, that every module needs to be deactivated one at a time to determine the problem, that I need to install a lower version of Drupal.

Does anyone know if there is a definitive fix or patch to resolve this error? Many thanks in advance to anyone who can provide some insight.

Comments

mtsanford’s picture

Have to ask: after up updated your code, did you run update.php, and clear your cache?

This approach can help you narrow down the offending module:

http://www.lullabot.com/articles/quick_and_dirty_debugging

But disabling modules 1 at a time is a good way too.

onca’s picture

I'm not sure I did run update.php, but I have cleared my cache several times. I really appreciate the feedback.

onca’s picture

I disabled modules and it worked. Thanks again mtsanford.