Events table making error message