I am running the latest version of Drupal (4.4.2) and on the administration module page, I get this at the top of the page.

warning: Invalid argument supplied for foreach() in /home/blueuniv/public_html/webmasterresources/includes/common.inc on line 996.

Lines 995 to 997 are

function form_select($title, $name, $value, $options, $description = NULL, $extra = 0, $multiple = 0) {
foreach ($options as $key => $choice) {
$select .= "". check_form($choice) ."";

Any ideas?

Comments

Steven’s picture

Priority: Critical » Normal

Are you talking about the main administration screen, or the modules administration screen?

This sounds like it is caused by an old module. Try renaming contributed modules to '.backup' one by one and see if any of them fixes it.

Anonymous’s picture

Priority: Normal » Critical

I have this problem too. I have article module installed in a fresh drupal 4.4.2 and when i click 'articles' on the menu a blank page appears. There is no 'article' to add (in the add contents section). I also thought that it was related to the taxonomy and configured it, still no articles there. I read somewhere stories are articles, so i added the taxonomy to story and added one but when i clicked the article the same thing appeared, nothing. What's wrong? The logs are on the same line.

Bèr Kessels’s picture

Priority: Critical » Normal

please do not mark bugs cruitical if they are not proven to be critical for everyone.

This is not a common.inc problem, nor is it a problem caused by drupal. It is due to article.module that passes a wrong array.

Is the article.module you are using released for 4.4.0?
Is your article module configured properly? Double check that please.

alexandreracine’s picture

Version: » 4.6.x-1.x-dev
Status: Active » Closed (won't fix)

Please update the version of this module, drupal, and try again.