Closed (won't fix)
Project:
Article
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
25 Jul 2004 at 20:43 UTC
Updated:
17 Oct 2005 at 22:10 UTC
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
Comment #1
Steven commentedAre 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.
Comment #2
(not verified) commentedI 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.
Comment #3
Bèr Kessels commentedplease 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.
Comment #4
alexandreracine commentedPlease update the version of this module, drupal, and try again.