Title: Shariff 4.0.7 Parse error: syntax error, unexpected T_FUNCTION
Last modified: September 1, 2016

---

# Shariff 4.0.7 Parse error: syntax error, unexpected T_FUNCTION

 *  Resolved [michaelkallweitt](https://wordpress.org/support/users/michaelkallweitt/)
 * (@michaelkallweitt)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/shariff-407-parse-error-syntax-error-unexpected-t_function/)
 * After an upgrade to Shariff 4.0.7 from the WP Dashboard, it breaks my site:
 * Parse error: syntax error, unexpected T_FUNCTION in […]/wp-content/plugins/shariff/
   shariff.php on line 285
 * And ideas?
 * My website address is [https://www.wasfuereintheater.com/](https://www.wasfuereintheater.com/)
   but I’ll try and remove the plugin for the time being.
 * [https://wordpress.org/plugins/shariff/](https://wordpress.org/plugins/shariff/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jan-Peter](https://wordpress.org/support/users/starguide/)
 * (@starguide)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/shariff-407-parse-error-syntax-error-unexpected-t_function/#post-7491175)
 * Hi michaelkallweitt,
 * sorry for the inconvenience. There is a problem with sites running on very old
   PHP versions. I’ll get a workaround ready as soon as possible.
 * JP
 *  Plugin Author [Jan-Peter](https://wordpress.org/support/users/starguide/)
 * (@starguide)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/shariff-407-parse-error-syntax-error-unexpected-t_function/#post-7491197)
 * Issue has been fixed in 4.0.8.

Viewing 2 replies - 1 through 2 (of 2 total)

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

 * ![](https://ps.w.org/shariff/assets/icon.svg?rev=2006307)
 * [Shariff Wrapper](https://wordpress.org/plugins/shariff/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shariff/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shariff/)
 * [Active Topics](https://wordpress.org/support/plugin/shariff/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shariff/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shariff/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jan-Peter](https://wordpress.org/support/users/starguide/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/shariff-407-parse-error-syntax-error-unexpected-t_function/#post-7491197)
 * Status: resolved