Trying to get this module to work. I have an existing feed that is bringing content in and i wanted to map taxonomy terms to my feed items which I think i should be able to do with this module. I defined a new taxonomy with the specified requirements ( no tags, not required and multi select). I refreshed my feed and looked at my nodes...nothing, clicked edit.. and all i saw was the normal multi select menu for my taxonomy. I went back to the auto tag settings and unchecked the No user input option ( checked it initially) and when i go back to the edit page for my node i see this

* warning: Invalid argument supplied for foreach() in /home/content/m/h/e/mhemoney/html/drupal/sites/all/modules/autotag/autotag.module on line 244.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/m/h/e/mhemoney/html/drupal/sites/all/modules/autotag/autotag.module on line 250.
* warning: Invalid argument supplied for foreach() in /home/content/m/h/e/mhemoney/html/drupal/sites/all/modules/autotag/autotag.module on line 252.
* warning: Invalid argument supplied for foreach() in /home/content/m/h/e/mhemoney/html/drupal/sites/all/modules/autotag/autotag.module on line 244.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/m/h/e/mhemoney/html/drupal/sites/all/modules/autotag/autotag.module on line 250.
* warning: Invalid argument supplied for foreach() in /home/content/m/h/e/mhemoney/html/drupal/sites/all/modules/autotag/autotag.module on line 252.

Comments

sdrycroft’s picture

Status: Active » Fixed

Ooops, sorry, that's a bug I've added whilst checking the install script, please install 6.x-1.20 which will fix this.

sdrycroft’s picture

Crikey, I really did make a mess of releasing that. Make it 6.x-1.22

Status: Fixed » Closed (fixed)

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

chrisbuck’s picture

Status: Closed (fixed) » Active

I'm getting the same error using version 6.x-1.27.

"Invalid argument supplied for foreach() in /...modules/autotag/autotag.functions.inc on line 193." Any help would be appreciated.

Also, in this version, only the first taxonomy term is autotagged. Multiple IS checked. Not sure if it's related.

CinemaSaville’s picture

Also getting this bug-
warning: Invalid argument supplied for foreach() in /home/.../public_html/sites/all/modules/autotag/autotag.functions.inc on line 193.

darrenmothersele’s picture

subscribing, same error for me too.

chezwel’s picture

same error subscribe

srsbl’s picture

Also getting the same error.

sdrycroft’s picture

Version: 6.x-1.19 » 6.x-2.0
Status: Active » Fixed

This should be fixed in 6.x-2.0 - please test that and report back here if it is still not working.

Status: Fixed » Closed (fixed)

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