display error messages if one of the memberships is not valid