Fatal error: Call to undefined function entity_view_mode_prepare() in …modules/field_collection/field_collection.entity.inc

Hi, I got this error as I cleared the cache. I did google but could not find any specific help. Fatal error: Call to undefined function entity_view_mode_prepare() in …modules/field_collection/field_collection.entity.inc on line 600 Any advise please. Drupal version:  Drupal 7.x Source: https://www.drupal.org/taxonomy/term/22/feed