Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse error: syntax error, unexpected 'class' (T_CLASS) #3

Closed
projoomexperts opened this issue Jun 5, 2018 · 2 comments
Closed

Parse error: syntax error, unexpected 'class' (T_CLASS) #3

projoomexperts opened this issue Jun 5, 2018 · 2 comments

Comments

@projoomexperts
Copy link

Hi,
Tried to install the plugin and landed on this error.

`
Warning: getenv() expects exactly 1 parameter, 2 given in /home3/projoom/public_html/wp-content/plugins/bigcommerce-for-wordpress-0.7.2/bigcommerce.php on line 53

Warning: getenv() expects exactly 1 parameter, 2 given in /home3/projoom/public_html/wp-content/plugins/bigcommerce-for-wordpress-0.7.2/bigcommerce.php on line 53

Warning: getenv() expects exactly 1 parameter, 2 given in /home3/projoom/public_html/wp-content/plugins/bigcommerce-for-wordpress-0.7.2/bigcommerce.php on line 53

Warning: getenv() expects exactly 1 parameter, 2 given in /home3/projoom/public_html/wp-content/plugins/bigcommerce-for-wordpress-0.7.2/bigcommerce.php on line 53

Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home3/projoom/public_html/wp-content/plugins/bigcommerce-for-wordpress-0.7.2/src/BigCommerce/Schema/Schema.php on line 21`

@bookernath
Copy link
Contributor

Hi @projoomexperts , what version of PHP are you using? The plugin requires at least PHP 5.6.

@karen-white
Copy link

Hey @projoomexperts , I'm going to close out this issue, but if upgrading your PHP version to 5.6+ didn't resolve the error, please feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants