Error

Error message

Error: Call to undefined function file_entity_access() in media_gallery_view_item_access() (line 1539 of /var/www/localhost/htdocs/sites/all/modules/media_gallery/media_gallery.module).
The website encountered an unexpected error. Please try again later.