warning: Invalid argument supplied for foreach() in path_to_drupal_root_directory\includes\form.inc on line 1200.
warning: Invalid argument supplied for foreach() in path_to_drupal_root_directory\includes\form.inc on line 1200.

i get this errors with Drupal 6.x

Comments

PinkChocobo’s picture

I get this error as well after enabling a custom module.

The custom module works just fine on a different D6 install on a linux server. I get this problem on every install (multi-site on one server) I have on a Mac OS X Leopard server.

Most of the time I get this when there is extra white space before or after the code in the offending .module file. I've removed extra white space, and I still get the error.

I've also updated php, checked the file it points to, enabled clean URLs and fixed a GD library problem and I'm still getting the error.

Any ideas?

This could be of interest, but I didn't see any textmate hidden files: http://drupal.org/node/242998

Jessica