PDA

View Full Version : Parse error: syntax error, unexpected '*'


NSanityHD
10-02-2018, 07:59 PM
Parse error: syntax error, unexpected '*' in /home/livindea/mackforums.com/includes/functions.php on line 1433

I am getting the above parse error when attempting to access the upgrader from vBulletin 3.8.7. The following is on that line in /includes/functions.php:
if (intval($profilefield_value) & (2**$key))

Could I get some support with this please?

Thanks!

RichieBoy67
10-02-2018, 09:21 PM
What version of php are you using?

NSanityHD
10-03-2018, 12:02 AM
I figured it out and fixed it. I was still on PHP 5.2 and had to update to 5.6*. :P

RichieBoy67
10-04-2018, 11:01 PM
Glad you got it worked out. It is a common issue when upgrading.