PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Oct 20, 2018 7:38 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Apr 07, 2018 10:43 pm 
Offline
Forum Newbie

Joined: Sat Apr 07, 2018 10:39 pm
Posts: 1
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...


Top
 Profile  
 
PostPosted: Sun Apr 08, 2018 7:35 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6424
Location: Montreal, Canada
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.

_________________
Supported PHP versions No longer supported versions


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group