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

The plugin was not activated #6

Closed
mastakby opened this issue Jan 17, 2018 · 7 comments
Closed

The plugin was not activated #6

mastakby opened this issue Jan 17, 2018 · 7 comments

Comments

@mastakby
Copy link

Woocommerce

The plugin was not activated, because it caused a fatal error.
Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) in /home/user2040175/www/d0015477.atservers.net/wp-content/plugins/woocommerce-gateway-lightning/woocommerce-gateway-lightning.php on line 224

@dlerario
Copy link

I got the same error here

@weex
Copy link

weex commented Jan 17, 2018

Does it require a specific php version?

@shesek
Copy link
Contributor

shesek commented Jan 18, 2018

The plugin has been running on PHP 7.0.22 and hasn't yet been tested with other versions.

It looks like the error you're getting was due to a bug that was fixed yesterday, but which was only causing a deprecation notice without breaking anything for 7.0.22 (Non-static method WooCommerce::api_request_url() should not be called statically). It appears like other PHP versions (newer ones, probably?) treat this as a fatal error instead.

I just tagged and released and v0.1.4 with that fix, should be resolved now.

Note, however, that the plugin is using some of PHP 7 features and currently not compatible with PHP 5. I was planning to eventually modify this to work with PHP 5, will keep track of that at #7.

@shesek
Copy link
Contributor

shesek commented Jan 18, 2018

Actually, it appears like these features were introduced in PHP 5.6, not PHP 7. I just tested with PHP 5.6, everything seems to work fine!

@shesek
Copy link
Contributor

shesek commented Jan 21, 2018

@mastakby @dlerario @weex so, is it working now? :)

@weex
Copy link

weex commented Jan 21, 2018

@shesek still haven't gotten an email confirmation. Haven't tried to order anything else. Let me know if you need more info.

@shesek
Copy link
Contributor

shesek commented Jan 21, 2018

@weex I understand that emails are going to be sent out in the next day or two (no one got them yet, due to a server misconfiguration). But I've inspected your order manually and confirmed with the folks responsible for this at Blockstream that your order is marked as paid and queued for delivery.

@shesek shesek closed this as completed Jan 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants