Title: syntax error, unexpected T_FUNCTION in
Last modified: August 20, 2016

---

# syntax error, unexpected T_FUNCTION in

 *  Resolved [KoolioXavier](https://wordpress.org/support/users/koolioxavier/)
 * (@koolioxavier)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-in/)
 * Hi,
 * When I try to install the plug-in I get this
 * Parse error: syntax error, unexpected T_FUNCTION in /homepages/5/d290683960/htdocs/
   amfitness/wp-content/plugins/widget-settings-importexport/widget-data.php on 
   line 49
 * Any solutions?
 * Thank you
 * [http://wordpress.org/extend/plugins/widget-settings-importexport/](http://wordpress.org/extend/plugins/widget-settings-importexport/)

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

 *  [kwoodall](https://wordpress.org/support/users/kwoodall/)
 * (@kwoodall)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-in/#post-3549393)
 * Same problem here.
 *  [ciloface](https://wordpress.org/support/users/ciloface/)
 * (@ciloface)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-in/#post-3549434)
 * Having the same problem here as well
 *  [snarlamoo](https://wordpress.org/support/users/snarlamoo/)
 * (@snarlamoo)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-in/#post-3549438)
 * Yes, I could really do with some help with this too.
 *  [benclintz](https://wordpress.org/support/users/benclintz/)
 * (@benclintz)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-in/#post-3549439)
 * this is because you are using an older version of php. go to the developers tab
   of this plugin and scroll down to older version. download V 1.0 and it will work
   fine
 *  Plugin Author [Kevin Langley Jr.](https://wordpress.org/support/users/kevinlangleyjr/)
 * (@kevinlangleyjr)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-in/#post-3549485)
 * This issue is due to the PHP version we require for the plugin, which is 5.3.0.
   Anything below that will error out. Usually if you ask your host to upgrade your
   PHP version to 5.3.0, they will do so without an issue and with ease and no interruption
   to your site. If they cannot or you do not want to upgrade, you can always go
   to the “Developers” tab on the plugin page (far right tab), and download version
   1.0 that is compatible with older version of PHP.
 * I will be releasing a new version of the plugin today that explicitly states 
   this upon activation, prevents activation without the proper PHP version, and
   has it contained within the README to prevent issues like this from continuing.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/widget-settings-importexport_d94965.
   svg)
 * [Widget Settings Importer/Exporter](https://wordpress.org/plugins/widget-settings-importexport/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-settings-importexport/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-settings-importexport/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-settings-importexport/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-settings-importexport/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-settings-importexport/reviews/)

 * 5 replies
 * 6 participants
 * Last reply from: [Kevin Langley Jr.](https://wordpress.org/support/users/kevinlangleyjr/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-t_function-in/#post-3549485)
 * Status: resolved