My Drupal installation has some warnings, I tried several patches, but none of them works for me. These are the warning messages:
Warning: Invalid argument supplied for foreach() in taxonomy_field_formatter_prepare_view() (line 1677 of modules/taxonomy/taxonomy.module).
Warning: Invalid argument supplied for foreach() in taxonomy_field_formatter_view() (line 1600 of modules/taxonomy/taxonomy.module).
It looks like I get those warnings randomly, I can't find a specific handling.
I think I get this message when I create/edit a node.