This is the 805th most frequent Turkish word.
geçirdi
"Geçirdi" means "spent" or "went through" (past tense of "to spend" or "to go through").
In this sentence, 'geçirdi' is derived from the verb 'geçirmek', meaning 'to spend' in this context, and it refers to Ali spending his time in a pleasant way.
Ali tatilde çok güzel zaman geçirdi.
Ali had a wonderful time during the holiday.
Here, 'geçirdi' comes from 'geçirmek' and means 'to undergo' or 'to experience' in the context of enduring illnesses.
Kış boyunca sık sık hastalık geçirdi.
He frequently went through illnesses during the winter.
In this example, 'geçirdi' indicates the act of making or committing an error unintentionally, derived from 'geçirmek' which takes on the meaning 'to make happen' or 'to allow to pass' here.