Trying to get property of non-object - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Trying to get property of non-object (/showthread.php?tid=68333) |
Trying to get property of non-object - juanrapma - 06-25-2017 Hello, I am trying to pass a function through another array, but this indicates the following message Code: A PHP Error was encountered But when I do a print_r in the array, I get the values, but I can not get that value. This is a code: PHP Code: public function verifySession() PHP Code: public function index() RE: Trying to get property of non-object - Midhun Mohanan P - 06-25-2017 (06-25-2017, 06:21 AM)juanrapma Wrote: Hello, I am trying to pass a function through another array, but this indicates the following message Try this: $activado = $this->verifySession(); print activado ['verificacion']; |