In sentence D, "nobody" is singular while the pronoun "they" is plural. In this sentence, the pronoun "they" refers back to "nobody" as its antecedent. but "nobody" is a singular indefinite pronoun. Thus, there is an error in pronoun-antecedent agreement.