Parse error: syntax error, unexpected ‘const’
-
My website is based on WordPress and the so-called ‘Hygge’ theme. I did no changes to the Website, but the website started to display a parse error: “Parse error: syntax error, unexpected ‘const’ (T_CONST), expecting variable (T_VARIABLE) in /home/customer/www/tracemaker.com/public_html/wp-content/plugins/wp-less/vendor/wikimedia/less.php/lib/Less/Version.php on line 11”
I updated Wp less but the situation got worse (i.e., I cannot access to the wp-admin login page). I suppose that the Wp less plugin is not compatible with the latest WordPress version, or with the current PHP version. How can I solve the problem?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Parse error: syntax error, unexpected ‘const’’ is closed to new replies.