Page 1 of 1

Need Help....Trying To Get Property Of Non - Object Error

Posted: Sat Apr 07, 2018 10:43 pm
by ethelena9x
Hi,

I am trying to call getIsAdmin function from another class but getting "Error 500-Trying to get property of non-object"...I am new to PHP so not aware
how to resolve..

I tried to check var_dump also, it's showing "boolean false"

Really looking forward for the help...

Re: Need Help....Trying To Get Property Of Non - Object Erro

Posted: Sun Apr 08, 2018 7:35 am
by Celauran
var_dump gave you your answer; you don't have an object, you have false. In order for anyone to help you, we'd need to see the code in question.