this has been bugging my dev site for weeks! I finally spent an hour tracking it down.
problem: create forum topic, choose one of sub-forums, submit
see warning message: (in fact TEN of them!) warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\xxx\modules\taxonomy\taxonomy.module on line 70.
I have only seen this issue in forum nodes.
I disabled modules one by one and only when I got rid of Rules did it go away. Then I disabled the individual rules one by one and the problem was a rule I had called "Abusive Content". If I toggle it off, the problem goes away, if I turn it on, it comes back.
this rule in question is as follows:
after saving new content
Unpublish created content containing keyword(s)
- settings for this action: argument: created content, permanently apply changes: yes, keywords: bastard, etc (you can imagine the others!)
OK, just did some more testing at it confirms 100% that this rule is the problem.
If I have 3 words in that keyword text box, I get three warning messages on node save. If I have 27, I get 27 - so it's the keywords that are causing the errors/warnings.
Comments
Comment #1
esllou commentedno movement on this one? I can confirm this is happening on a clean install with rules.
Comment #2
fagoAs this bug-report is rather old, please verify it's still valid in the latest dev version and re-open if so. For now, I'm marking it as closed.
Comment #3
esllou commentedyes, I confirm this is still happening with the latest version - exactly as described in the OP.
I just tested with 7 comma separated words in the "keywords" text box and got seven warnings on creating a forum topic
went back to the Rule and added 5 more...then I got 12 of the warnings.
Comment #4
mitchell commentedIf you want to reopen this, please provide exports of your configuration to facilitate the review.