How do I iterate over values of a multivalued field with entity_metadata_wrapper?
The problem is in this file: /sites/all/modules/entity/includes/entity.wrapper.inc

Whenever a field_foobar->value() is called, and the field isn't set, then the class throws an Exception.  That is just silly, because having an empty field isn't an error.

Inside that field, when checking to see if a field is empty, it uses this code:

$data = $this-&gt;dataAvailable() ? $this-&gt;value() : NULL;


But using "if ($wrapper->field->foobar->dataAvailable())" before each echo of the value is aggravating.  Sigh, why can't things in Drupal ever be simple?