we've been given a Magento site to take over. I'm not familiar with Magento at all, but they have given us all files and DB schema. It all appears to be working on our server, apart from a strange parse error. When I add a product to my basket, and get sent to /checkout/cart/ the site dies (I see a blank screen).
The error log says:
PHP Parse error: syntax error, unexpected '[' in /app/code/local/C3/Checkout/Block/Cart/Totals.php on line 41
Line 41 is:
I can't find anyone else who has had this error. Does anyone have any ideas?
Thanks in advance!