changed error message for event invite to a database error