PHP 5.3
Drupal 6.15

Tried Beta version and got a blank page with the word NULL when submitting taxonomy_defaults admin settings form. Also when I navigated back to the admin settings for Taxonomy Defaults I saw these drupal messages:

    * test:
    * The configuration options have been saved.
warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/staff-6.15/sites/all/modules/taxonomy_defaults/taxonomy_defaults.admin.inc on line 92.

Despite the odd behavior, the module seems to be functioning as expected. I took a look at the code, it appears some debugging code was left in by accident?

Comments

Anonymous’s picture

I get the same warning but on line 91 and without White Screen. PHP 5.2 & Drupal 6.16

rabidrabbit’s picture

i'm seeing the same thing...and if i try to create content, I see the following error repeated:

warning: Invalid argument supplied for foreach() in /home/craig/public_html/cwc/drupal/sites/all/modules/taxonomy_defaults/taxonomy_defaults.admin.inc on line 92.

bradweikel’s picture

Status: Needs work » Fixed

This was previously fixed in head, but hasn't made it into a release yet. Use 1.1-beta2 with caution.

Status: Fixed » Closed (fixed)

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