I'm suddenly getting the error :EntityMetadataWrapperException I'm running a Drupal 7.21 site that uses the Entity Reference module (v.7.x-1.0) to support reusing image nodes in other node types. After several months of smooth sailing , I'm seeing a new error when I try to view image nodes on my site. The error is:


  EntityMetadataWrapperException: Unknown data property
  field_entity_image. in EntityStructureWrapper->getPropertyInfo()


The property named in the error, "field_entity_image", is the name of an Entity Reference field that exists on other node types (article, basic page). However, those other content types don't throw the error when I try to view them. What is new is the fact that I created a new node type (bio) that also uses the existing field_entity_image field.

I've seen this error discussed in relation to certain modules (Commerce being one) but not as the result of creating new content type or adding entity reference fields. If anyone has insights into this, all help will be much appreciated.
Your site has not been running on Drupal 7.21 for several months. You have recently upgraded.

There was a security fix in the drupal core image module in 7.20 which broke several contributed modules. 7.21 has a new variable to mitigate the problem, but if your issue involves images, it is probably related to the security fix. For more information read the release notes.