looks like a symphony error. i did a general google search from the title. the title of this issue was from the "fatal error" when installing the visitors module.
here is my google search link:: link
We will look at it on our sites to see what we can find. Hope this gives some info other might need to do the same.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | visitors-2879531-8.patch | 1.28 KB | jigish.addweb |
| #4 | call_to_a_member_function_getRoles-2879531-4.patch | 958 bytes | znak |
Comments
Comment #2
chris pergantis commentedComment #3
znak commentedComment #4
znak commentedPlease, check up the patch
Comment #5
ben coleman commentedApplying the patch in #4 and trying to install Visitors results in the error:
Fatal error: Call to a member function id() on a non-object in /home/adid8/public_html/modules/contrib/visitors/src/EventSubscriber/KernelTerminateSubscriber.php on line 50Comment #6
chris pergantis commentedThanks Ben Coleman!
Comment #7
john.axiak commentedAfter applying the patch, I am receiving the same error which Ben Coleman is receiving. Did you solve it?
Thank you;
Comment #8
jigish.addweb commented@all, Kindly review my attached patch, the Issue is at "$user->id()" line. I have put a condition to check whether the $user is null or no. Hope this will work for you!..
Thanks!..
Comment #9
rafuel92 commentedfixed in 8.x-2.7
Comment #10
rafuel92 commented