There is such an abundance of WordPress tutorials, guides, and code snippets available on the web. They are all intended for users to try new things on their website and learn more about WordPress. Sadly a small little error can cause the whole site to break which is very scary specially for new users. If you were trying something new on your WordPress site and got a following error “Syntax error, unexpected…”, then don’t freak out. You are not the first one to receive the syntax error in WordPress, and you will not be the last one. In this article we will show you how to fix the unexpected syntax error in WordPress.
Thanks for the information. I was also facing the same error in my site redserverhost.com since last night when i finally found this article. It really helped me to fix the error.