Title: Parse error: syntax error, unexpected T_FUNCTION
Last modified: August 22, 2016

---

# Parse error: syntax error, unexpected T_FUNCTION

 *  Resolved [crashrus](https://wordpress.org/support/users/crashrus/)
 * (@crashrus)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/)
 * Just updated from Minamaze Free 1.06 to 1.09 and got this error:
    Parse error:
   syntax error, unexpected T_FUNCTION in /home2/crashrus/public_html/rememberthattime.
   com.au/wp-content/themes/minamaze/lib/widgets/categories.php on line 145
 * Any suggestions please.

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/?output_format=md)
[1](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/?output_format=md)
2

 *  [Magnus_Wallin](https://wordpress.org/support/users/magnus_wallin/)
 * (@magnus_wallin)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/page/2/#post-5430966)
 * It’s great that there’s a new version available. But I just want to make sure
   that the new version will work with PHP 5.4.26.
 * I don’t run the server myself, so I cannot upgrade PHP personally.
 * In other words: is the new version compatible with PHP 5.4?
 * Best
 *  Theme Author [ThinkUpThemes](https://wordpress.org/support/users/thinkupthemes/)
 * (@thinkupthemes)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/page/2/#post-5430967)
 * Hi Magnus_Wallin,
 * The new version is fully compatible with PHP 5.3+. If you had Minamaze v1.0.6
   working correctly, and only experienced problems when updating to v1.0.9 then
   you’ll be able to use v1.1.1 with no trouble.
 * In v1.1.1 we’ve reverted some functions back to v1.0.6 to correct any issues 
   users may have experienced.
 *  [Magnus_Wallin](https://wordpress.org/support/users/magnus_wallin/)
 * (@magnus_wallin)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/page/2/#post-5430968)
 * Hi!
 * Thank you for the quick reply. Yes, I only experienced trouble with the 1.0.9
   version. The previous (1.0.6) worked fine.
 * I will update soon and get back with a report shortly after.
 *  [Magnus_Wallin](https://wordpress.org/support/users/magnus_wallin/)
 * (@magnus_wallin)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/page/2/#post-5430969)
 * Yes. I can confirm that the new (1.1.1) version works fine with my setup (`PHP
   5.4.26`).
 * Thank you for handling this promptly. Much appreciated. How much was the PRO 
   version 😉

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/?output_format=md)
[1](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/?output_format=md)
2

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

 * ![](https://i0.wp.com/themes.svn.wordpress.org/minamaze/1.11.2/screenshot.png)
 * Minamaze
 * [Support Threads](https://wordpress.org/support/theme/minamaze/)
 * [Active Topics](https://wordpress.org/support/theme/minamaze/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/minamaze/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/minamaze/reviews/)

## Tags

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

 * 19 replies
 * 5 participants
 * Last reply from: [Magnus_Wallin](https://wordpress.org/support/users/magnus_wallin/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-16/page/2/#post-5430969)
 * Status: resolved