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

---

# Parse error: syntax error, unexpected T_FUNCTION

 *  [aemmerich](https://wordpress.org/support/users/aemmerich/)
 * (@aemmerich)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-21/)
 * Hi! I was looking for a cardboard plugin since a while. Thank you for that! However,
   I just installed it (on wordpress 442 and wp 441) and both times I reveice the
   following error while activating the plugin:
    Parse error: syntax error, unexpected
   T_FUNCTION in /kunden/233348_69257/wp-content/plugins/cardboard/cardboard.php
   on line 44
 * What can i do? Thank you very much!
 * [https://wordpress.org/plugins/cardboard/](https://wordpress.org/plugins/cardboard/)

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

 *  Plugin Author [Takayuki Miyauchi](https://wordpress.org/support/users/miyauchi/)
 * (@miyauchi)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-21/#post-7045287)
 * What is the version of PHP on your server?
    I’m sorry, this plugin requires php
   5.3 or later.
 *  Thread Starter [aemmerich](https://wordpress.org/support/users/aemmerich/)
 * (@aemmerich)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-21/#post-7045433)
 * Thanks! That helped. I updated the php version.
    However, I do have another question:
   Is it possible to use the magnetic button to jump from one picture to the next?
 *  Plugin Author [Takayuki Miyauchi](https://wordpress.org/support/users/miyauchi/)
 * (@miyauchi)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-21/#post-7045436)
 * > However, I do have another question: Is it possible to use the magnetic button
   to jump from one picture to the next?
 * This plugin doesn’t have kind of it. 🙂
    I thinks it is difficult, because this
   plugin already tracks mouse events.

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

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

 * ![](https://ps.w.org/cardboard/assets/icon-128x128.png?rev=1344642)
 * [Cardboard](https://wordpress.org/plugins/cardboard/)
 * [Support Threads](https://wordpress.org/support/plugin/cardboard/)
 * [Active Topics](https://wordpress.org/support/plugin/cardboard/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cardboard/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cardboard/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Takayuki Miyauchi](https://wordpress.org/support/users/miyauchi/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-21/#post-7045436)
 * Status: not resolved