MAY
26
2019
PHP Parse error: syntax error, unexpected ‘[‘ in app/code/core/Mage/Checkout/Model/Type/Onepage.php on line 691
Problem description Magento Onepage checkout page is blank after SUPEE-10752. The following fatal PHP error thrown at Magento Onepage Checkout page after installing SUPEE-10752 patch: PHP Parse error: syntax error, unexpected ‘[‘ in app/code/core/Mage/Checkout/Model/Type/Onepage.php on line 691 Cause Array de-referencing is used in the following line of code added in SUPEE-10752: Support of array de-referencing is added in PHP 5.4, older versions (PHP 5.3) will throw fatal error like above on attempt of array de-referencing…. Read the rest