Call to a member function isReactedOn() on null #31
Answered
by
hkp22
NawrasBukhari
asked this question in
Q&A
-
any idea? |
Beta Was this translation helpful? Give feedback.
Answered by
hkp22
Sep 3, 2022
Replies: 1 comment
-
The syntax is:
Here |
Beta Was this translation helpful? Give feedback.
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
$user
is null. This is the reason you are getting this error. So, you may need to add addition condtion to check, if$user
is not null then call theisReactedOn()
method.