Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Grezini's avatar

Spark team invitation not working

Hi !

I just installed a fresh Spark application following the installation guide.

After registering an account, I create a new team and make one new invitation to this team.

I receive the invitation mail and fill the form to create the account. On submit, I am redirected to the "missing-team" page and the invitation is still pending.

Does someone already had this issue ?

Thanks

0 likes
4 replies
jhc333's avatar

I'm having the same issue. Did you ever resolve this?

startup_steve's avatar

I also have this problem. Is this still an outstanding bug in Spark, and has anybody found a solution?

Comet's avatar

Even after 3 years, I am having the same issue. Does anyone have a solution now? I receive the invitation on notification and team page but the green button never works, I couldn't join the team...

Neneil35's avatar

The Problem is in PendingInvitationController.

I’ve found a bug in PendingInvitationController public function accept(Request $request, Invitation $invitation) & public function reject(Request $request, Invitation $invitation) they check with ===.

abort_unless($request->user()->id === $invitation->user_id, 404);

The problem is, the id from request is an integer and the id of the invitation is a string.

PHP can check with == checks the value === checks the data type as well!

With == it is working.

To solve this, just override these methods.

Please or to participate in this conversation.