2 else var o yüzden hata veriyor.

if () { ... }
else { ... }
else { ... }

böyle olmaz.


en sondaki else'e zaten gerek yok.