Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) in ...header.php
Posted: Thu Apr 20, 2017 10:07 pm
Version 2.0.2.0
Website was working fine.
Host enabled SSL certificate
then I tried to upgrade to latest version (2.3.0.2) but it broke the template I was using, so reverted back to 2.0.2.0
Admin loads correctly, but the frontend wont get past this error:
Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) in /home/markmaster/public_html/catalog/controller/common/header.php on line 97
I've replaced header.php with a fresh version and still no reaction.
Really stuck as to what other info I can provide that will help.
Hopefully someone has an idea of what I can do to fix it.
Cheers
webecho
Website was working fine.
Host enabled SSL certificate
then I tried to upgrade to latest version (2.3.0.2) but it broke the template I was using, so reverted back to 2.0.2.0
Admin loads correctly, but the frontend wont get past this error:
Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) in /home/markmaster/public_html/catalog/controller/common/header.php on line 97
I've replaced header.php with a fresh version and still no reaction.
Really stuck as to what other info I can provide that will help.
Hopefully someone has an idea of what I can do to fix it.
Cheers
webecho