• block

    (@brandanhadlock)


    The Paypal for Woocommerce plugin on our website had to be disabled because of an error causing the website to cease working. The error is “PHP Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home2/…/wp-content/plugins/paypal-for-woocommerce/classes/wc-gateway-paypal-express-angelleye.php on line 1681” When the plugin is active, the website displays an http 500 error. The plugin version is 1.2.4. Please help. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor angelleye

    (@angelleye)

    Are you running current versions of WordPress and WooCommerce? Can you verify what PHP version your site is running on?

    Thread Starter block

    (@brandanhadlock)

    Angelleye, somehow the site started working again. It is running PHP 5.2.17 so I’ll have to check with my host about upgrading that. Otherwise, I guess don’t worry about this for now. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Parse error’ is closed to new replies.