php - Trying to get property of a non-object -
i thought had resolved error when added if block below, i'm still erroring out. line of code causing following errror: fatal php error on line 95 of /xxxxx/getcontactvaluesosvc.php: trying property of non-object line 95 if condition here: if($contact->customfields->c->ask_again->lookupname){ $contactname=$contact->customfields->c->ask_again->lookupname; } anyone know why merely checking existence (what line should doing think) causing error im getting?