Problem/Motivation

When trying to accept an invite link, the user is confronted with a fatal error: The website encountered an unexpected error. Please try again later.

In the logs I found the following corresponding error; Error: Call to undefined method Drupal\Core\Entity\Sql\SqlContentEntityStorage::condition() in Drupal\invite\ParamConverter\InviteParamConverter->convert() (line 46 of /app/www/modules/contrib/invite/src/ParamConverter/InviteParamConverter.php)

Steps to reproduce

Send an invite an invite to your email, click on the accept link (/invite/accept/xxxxxxx)

Issue fork invite-3278985

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tijsdeboeck created an issue. See original summary.

tijsdeboeck’s picture

Fix added in the merge request

tijsdeboeck’s picture

Status: Active » Needs review
anprok’s picture

Status: Needs review » Reviewed & tested by the community

I got this error when open invitation link from email. I successfully applied patch from https://git.drupalcode.org/project/invite/-/merge_requests/13 and error is gone.