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?


Comments

Popular posts from this blog

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

javascript - Create websocket without connecting -

sharepoint - Accessing files across a shared directory using a Windows service -