Hey, what did I do to deserve this?
You used “has had” where the teacher was looking for “had had.” SNAP! ;p
In effect, you were just a bystander; I needed two names for the problem. No harm intended, I assure you.
;^)