jasonknight / woocommerce-json-api

A simple, Abstract JSON API for Wordpress' Awesome Plugin: WooCommerce
58 stars 21 forks source link

Plugin can not be activated after installation #62

Closed ceruleanlogic closed 10 years ago

ceruleanlogic commented 10 years ago

Tried on a couple of new WP/WooCommerce installations, but the plugin cannot be activated because of fatal error:

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /www/htdocs/g/gezellie/http/wp-content/plugins/woocommerce-json-api-master/classes/class-wc-json-api.php on line 25

Any solutions?

jasonknight commented 10 years ago

Depends what is on like 25, or line 24. The latest version works for me...

Copy the block surrounding and including line 25 of that file here.

ceruleanlogic commented 10 years ago

Thanks for your reply. Looks like it’s a PHP 5.3 thing. Have to figure this out on my 5.2 server.

Best, Gerrit

Op 23 feb. 2014, om 10:50 heeft Jason Knight notifications@github.com het volgende geschreven:

Depends what is on like 25, or line 24. The latest version works for me...

Copy the block surrounding and including line 25 of that file here.

— Reply to this email directly or view it on GitHub.