When the module is uploaded to the modules directory in a fresh 6.x-dev install, without being enabled, these warning appear in the /admin/build/modules page:

* warning: Invalid argument supplied for foreach() in /home/cogville/public_html/drupal-6/modules/system/system.admin.inc on line 537.
* warning: Invalid argument supplied for foreach() in /home/cogville/public_html/drupal-6/modules/system/system.admin.inc on line 537.

The warnings disappear when the module is removed from the modules directory.

Comments

mfer’s picture

Huh, I ran mine off the 6.0-beta1 and it worked. Though, that could have been a fluke. I'll take a look on a fresh install from CVS.

cog.rusty’s picture

Using the latest 6.x-dev core, PHP 5.2

I managed to fix it by modifying the dependencies line in the .info file:

dependencies[] = upload
mfer’s picture

Fixed In 1.1 Release.

mfer’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.