SyntaxFix
Write A Post
Hire A Developer
Questions
You have extra spaces after END; that cause the heredoc not terminated.
END;