Tried to uninstall Invite and now the site fails with this error

The website encountered an unexpected error. Please try again later.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "invite" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Comments

brad.bulger created an issue.

brad.bulger’s picture

An invite entity was still in the session - the failure was coming from EntityFormBase. I could not clean this up. I ended truncating all my cache tables, which ended up corrupting the SQLite database file. After restoring from backup, I was finally able to get the site running again. So I don't have any real solution to the problem.

socialnicheguru’s picture

I just received this also.

socialnicheguru’s picture

This might have to do with invite being left in the key_store.

I got this after going to the uninstall page and uninstalling invite from there btw.

I had to manually go into the database and remove references to invite.

Possible workaround:
https://www.drupal.org/project/drupal/issues/2916266#comment-14761088

Info:
https://agaric.gitlab.io/raw-notes/notes/2021-07-05-fatal-error-because-...