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!

Comments

Sign In or Register to comment.