Thank you! ...now error is unexpected '?' on line 249 which is:

$organization = $_SESSION['ipData']->company->name ?? '';

and there is another double ?? on the line below. Sorry I can't work out what to replace that with! (I'm out of practise and not very knowledgable with PHP).