On a fresh installation of drupal with CCK VIEWS 2 PANELS2 and FAQ FAQ_ASK and Helpers I have these 2 warnings after saving one question asked:
warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\drupal\sites\all\modules\helpers\helpers.module on line 105.
warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\drupal\sites\all\modules\faq_ask\faq_ask.module on line 212.
Comments
Comment #1
kuzma commentedI am 95% positive that this was fixed in the cvs.
Comment #2
andrewbenkard commentedI encountered the same error, ...faq_ask.module on line 212.
Going into the vocabulary that was assigned to FAQ, I turned on the settings|Tags checkbox. The above error went away.
I hope this helps the maintainer. I can provide more details if you like.
Bear in mind that I've only been working with this module for half an hour...
p.s.
Since I didn't want users to free-tag their FAQ's, I went looking for a short-term kludge.
Line 212 of faq_ask.module is this: foreach ($form_state['values']['taxonomy']['tags'] as $vid => $term_name) {
deleting ['tags'] allowed me to turn off the Tags checkbox and now I don't see the error.
Comment #3
heyyo commentedThe last dev version fixed this issue for me.
Comment #4
nancydruI cannot reproduce this, so I assume that heyyo is correct.