Last active
December 14, 2015 22:49
-
-
Save jackkitley/5161568 to your computer and use it in GitHub Desktop.
Please help.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$user=$this->loadModel($id); - Gets this Fine | |
$userperson = $user->person; - Gets this Fine | |
$personcontactmap = $userperson->personcontactmaps; - Gets this Fine | |
$contact = $personcontactmap->contact; - Fails to get this data even though there is a contactid.... | |
var_dump($contact); | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error is :
PHP notice
Trying to get property of non-object