Error thrown

Call to undefined method GridGalleryPro_Galleries_Model_Tags::getByPhotoIds()