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

---

# Parse error: syntax error, unexpected T_FUNCTION

 *  Resolved [Razi3L](https://wordpress.org/support/users/razi3l/)
 * (@razi3l)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-15/)
 * Hello,
 * I have install your plugin on my wordpress website. The installation went fine.
   But when I wanted to activate the plugin I got this error :
 *     ```
       Plugin could not be activated because it triggered a fatal error.
   
       Parse error: syntax error, unexpected T_FUNCTION in /home1/razi3l/public_html/wp-content/plugins/firefox-os-bookmark/admin/class-firefox-os-bookmark-admin.php on line 158
       ```
   
 * I was on wordpress 3.7.2. I thought it was because of my old version of WordPress,
   so I did update it to 4.0. Unfortunatly I have the same error
 * Thank in advance.
 * Raziel
    [http://creazi3l.com](http://creazi3l.com)
 * [https://wordpress.org/plugins/firefox-os-bookmark/](https://wordpress.org/plugins/firefox-os-bookmark/)

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

 *  Plugin Author [Daniele Scasciafratte](https://wordpress.org/support/users/mte90/)
 * (@mte90)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-15/#post-5356667)
 * Sorry for the delay but I have not received any email notification -.-‘
 * I’ve do it the fix, tomorrow i release a new version with the fix.
    The problem
   was not wordpress but your PHP version.
 * [https://github.com/Mte90/Firefox-OS-Bookmark-for-Wordpress/commit/195824b2d38627f42958c4b489593806c51115f4](https://github.com/Mte90/Firefox-OS-Bookmark-for-Wordpress/commit/195824b2d38627f42958c4b489593806c51115f4)
 *  Plugin Author [Daniele Scasciafratte](https://wordpress.org/support/users/mte90/)
 * (@mte90)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-15/#post-5356668)
 * I’ve released a new version 🙂
 *  Thread Starter [Razi3L](https://wordpress.org/support/users/razi3l/)
 * (@razi3l)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-15/#post-5356671)
 * Thanks !

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/firefox-os-bookmark_a7c1bf.svg)
 * [Firefox OS Bookmark](https://wordpress.org/plugins/firefox-os-bookmark/)
 * [Support Threads](https://wordpress.org/support/plugin/firefox-os-bookmark/)
 * [Active Topics](https://wordpress.org/support/plugin/firefox-os-bookmark/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/firefox-os-bookmark/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/firefox-os-bookmark/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Razi3L](https://wordpress.org/support/users/razi3l/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-15/#post-5356671)
 * Status: resolved