ERROR! Closing tag "if" has no matching opening tag (line: 822 char: 8603)