Hello great community,

After update open social from rc5 to rc6 I had got this error

Fatal error: Call to a member function id() on null in

/var/www/html/kfop/html/profiles/contrib/social/modules/social_features/social_post/src/Form/PostForm.php on line 155

CommentFileSizeAuthor
#3 2930174-3.patch1.03 KBahmadhalah

Comments

ahmadhalah created an issue. See original summary.

jaapjan’s picture

Status: Active » Postponed (maintainer needs more info)

Hi ahmadhalah,

We did quite a few releases after rc6 so could you verify if the issue is still valid? We are currently on 1.7 and will release 1.8 later today. Do you have the same notice when using the latest version?

ahmadhalah’s picture

StatusFileSize
new1.03 KB

Hi jaapjan,

Thanks for your respond, I had updated open social to latest version I did that version by version which I followed all the procedures specially in 1.5 but unfortunately the error still appearing.

I mad a patch that was helped me in this phase

Thank you

ahmadhalah’s picture

Status: Postponed (maintainer needs more info) » Needs review
jaapjan’s picture

I haven't seen this error in our logs, but it does make sense to make the code more defensive. I've added a pullrequest for this:
https://github.com/goalgorilla/open_social/pull/820

ahmadhalah’s picture

Thanks jaapjan

  • 828c744 committed on 8.x-1.x
    Issue #2930174 by ahmadhalah: Fatal error: Call to a member function id...
ronaldtebrake’s picture

Status: Needs review » Fixed

Merged in 1.13 :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.