Title: Parse error: syntax error, unexpected T_STRING
Last modified: September 1, 2016

---

# Parse error: syntax error, unexpected T_STRING

 *  Resolved [boitdecoke](https://wordpress.org/support/users/boitdecoke/)
 * (@boitdecoke)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-79/)
 * Hi Johann,
 * Thanks for the plug-in. It’s been a great help on my website. Recently, I tried
   using it on another property and got the following error trying to activate:
 * > Parse error: syntax error, unexpected T_STRING in /home/MyWebsite/public_html/
   > wp-content/plugins/post-snippets/post-snippets.php on line 81
 * This is in WordPress 4.5.3 running SociallyViral theme.
 * It still works on my other property, WordPress 4.3.5 running Imbalance theme.
   I am afraid of upgrading to 4.5.3 if it breaks the plug-in. Post Snippets is 
   pretty critical to the site architecture. Let me know if you have any thoughts.
   A previous commenter mentioned the plug-in requiring a specific version of PHP,
   but I’m not sure if that’s the case.
 * Thanks again!
 * [https://wordpress.org/plugins/post-snippets/](https://wordpress.org/plugins/post-snippets/)

The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.

 * ![](https://ps.w.org/post-snippets/assets/icon-128x128.gif?rev=2545587)
 * [Post Snippets - Custom WordPress Code Snippets Customizer](https://wordpress.org/plugins/post-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/post-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-snippets/reviews/)

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [boitdecoke](https://wordpress.org/support/users/boitdecoke/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-79/)
 * Status: resolved