Parse Error in Shopping cart
I'm running the latest version of shopping cart in my wordpress website. The website was crashing a lot, and I have managed to get it working again, but now I get the error when a customer tries to checkout -
Parse error: syntax error, unexpected '[' in /home/l555433/public_html/wp-content/plugins/wp-checkout/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 91
This happens after the customer the customer has entered their details and checkout is progressing to paypal to complete the transaction.
This problem has been ongoing for a month, and the support ticket submitted several weeks ago hasn't been answered!
Parse error: syntax error, unexpected '[' in /home/l555433/public_html/wp-content/plugins/wp-checkout/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 91
This happens after the customer the customer has entered their details and checkout is progressing to paypal to complete the transaction.
This problem has been ongoing for a month, and the support ticket submitted several weeks ago hasn't been answered!
Tagged:
Comments
The parse error is due to an outdated version of PHP.
The latest version of the plugin requires PHP 5.4+
Can you please ask your hosting provider to update the PHP for you?
Or alternatively if that is not an option, can you please install the previous version of the plugin? You can get an older version here: http://tribulant.com/downloads/