Issue #1147212 by neclimdul, Dave Reid: Fixed excessive cache_get() calls and PHP notices if entity_info_cache_clear() is not called prior to entity_get_info().