Title: Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’
Last modified: September 13, 2016

---

# Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’

 *  [One234](https://wordpress.org/support/users/one234/)
 * (@one234)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-expecting-3/)
 * Hi,
    I installed woocommerce and now wanted to install this plugin. But I’m getting
   this error message everytime after installing on every page of the domain:
 * Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home/systemx/
   domains/***.com/public_html/wp-content/plugins/paypal-for-woocommerce/classes/
   wc-gateway-paypal-express-angelleye.php on line 1681
 * What can I do?
 * Thank you

Viewing 1 replies (of 1 total)

 *  [kcppdevelopers](https://wordpress.org/support/users/kcppdevelopers/)
 * (@kcppdevelopers)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-expecting-3/#post-8179043)
 * Hello [@one234](https://wordpress.org/support/users/one234/),
 * Can you check what version of PHP your site is running on? Sounds like you must
   be running a version prior to 5.3.
 * Thanks!

Viewing 1 replies (of 1 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/paypal-for-woocommerce_dce4f5.svg)
 * [PayPal for WooCommerce](https://wordpress.org/plugins/paypal-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paypal-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paypal-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/paypal-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paypal-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paypal-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [kcppdevelopers](https://wordpress.org/support/users/kcppdevelopers/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-expecting-3/#post-8179043)
 * Status: not resolved