Uncaught exception

Compilation error at line 88 in "string:" : Syntax malformation, a block of type "if" was closed but was not opened