Closed vanderwijk closed 7 years ago
I tried first installing version 2.4.1 and then overwriting the plugin folder with the files of Github version 2.5 and now I get this error:
[Tue Dec 06 09:26:25 2016] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected '[' in /nas/content/live/xxxxxx/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/abstractseparecurring.php on line 176, referer: http://xxxxxxx.xx/wp-admin/admin.php?page=wc-settings&tab=checkout [Tue Dec 06 09:26:30 2016] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected '[' in /nas/content/live/xxxxxx/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/abstractseparecurring.php on line 176 [Tue Dec 06 09:26:48 2016] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected '[' in /nas/content/live/xxxxxx/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/abstractseparecurring.php on line 176, referer: http://xxxxxxx.xx/wp-admin/ [Tue Dec 06 09:27:21 2016] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected '[' in /nas/content/live/xxxxxx/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/abstractseparecurring.php on line 176, referer: http://xxxxxxx.xx/wp-admin/plugins.php [Tue Dec 06 09:28:10 2016] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected '[' in /nas/content/live/xxxxxx/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/abstractseparecurring.php on line 176 [Tue Dec 06 09:28:31 2016] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected '[' in /nas/content/live/xxxxxx/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/abstractseparecurring.php on line 176, referer: http://xxxxxxx.xx/wp-admin/plugins.php?plugin_status=all&paged=1&s [Tue Dec 06 10:27:46 2016] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Class 'Mollie_API_Object_Method' not found in /nas/content/live/xxxxxx/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/gateway/banktransfer.php on line 120, referer: http://xxxxxxx.xx/wp-admin/admin.php?page=wc-settings&tab=checkout
Hi! It looks like you are using an old PHP version (lower than 5.4). Can you verify this?
Yes, we are on PHP Version 5.3.10-1ubuntu3.25 at wpengine.com
After upgrading the server to php 7.0.8 the errors have disappeared.
Glad to hear the issue was resolved Johan. As you've noticed, our module is not compatible with older PHP versions. Let us know if you bump into anything else.
I tried to activate the plugin on a new WordPress install, but I got this error:
Fatal error: Uncaught Error: Class 'Mollie_API_CompatibilityChecker' not found in /home/xxxxxxxxx/domains/xxxxxx.xx/public_html/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/helper/status.php:174 Stack trace: #0 /home/xxxxxxxxx/domains/xxxxxx.xx/public_html/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/helper/status.php(71): Mollie_WC_Helper_Status->getApiClientCompatibilityChecker() #1 /home/xxxxxxxxx/domains/xxxxxx.xx/public_html/wp-content/plugins/mollie-payments-for-woocommerce/mollie-payments-for-woocommerce.php(65): Mollie_WC_Helper_Status->isCompatible() #2 /home/xxxxxxxxx/domains/xxxxxx.xx/public_html/wp-includes/plugin.php(524): mollie_wc_plugin_activation_hook('') #3 /home/xxxxxxxxx/domains/xxxxxx.xx/public_html/wp-admin/plugins.php(166): do_action('activate_mollie...') #4 {main} thrown in /home/xxxxxxxxx/domains/xxxxxx.xx/public_html/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie/wc/helper/status.php on line 174
(I replaced account- and domain information with xxxxxxxxx)