Call to a member function isReactedOn() on null #31
Answered
by
hkp22
NawrasBukhari
asked this question in
Q&A
Replies: 1 comment
|
The syntax is: Here |
0 replies
Answer selected by
NawrasBukhari
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The syntax is:
Here
$useris null. This is the reason you are getting this error. So, you may need to add addition condtion to check, if$useris not null then call theisReactedOn()method.