Title: Parse error: syntax error, unexpected T_FUNCTION
Last modified: August 6, 2018

---

# Parse error: syntax error, unexpected T_FUNCTION

 *  Resolved [pixiechick](https://wordpress.org/support/users/pixiechick/)
 * (@pixiechick)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-37/)
 * Hi,
 * Went to check customer’s website today and it won’t come up. Just get this message:
   
   Parse error: syntax error, unexpected T_FUNCTION in /home/thinkyou/public_html/
   wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 173
 * Does anyone have a solution to this please?
 * Thanks!!!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-syntax-error-unexpected-t_function-37%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-37/#post-10562347)
 * Hi,
 * version 3.0.3 of Really Simple SSL contained an anonymous function that requires
   PHP 5.4 or higher to run. It’s likely that the site used Really Simple SSL 3.0.3
   with a PHP version lower than 5.4. From Really Simple SSL version 3.0.4 onwards
   we have reinstated compatibility for older PHP versions. Updating Really Simple
   SSL to the latest version should resolve the issue, however we do recommend to
   still update the PHP version to 5.4 or higher.
 * Mark
    -  This reply was modified 7 years, 10 months ago by [Mark](https://wordpress.org/support/users/markwolters/).

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mark](https://wordpress.org/support/users/markwolters/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-37/#post-10562347)
 * Status: resolved