A PHP Error was encounteredSeverity: Parsing ErrorMessage: syntax error, unexpected $end code example
Example: Line : 83 -- syntax error, unexpected end of file php
The "unexpected end of file" error usually means you have a php block unterminated. The parser reads off the end of the file searching for block termination, usually } . In your case, the } right before your second <? php is the culprit.