The "paragraph" entity type does not exist error after uninstallation due to left key_value entries

Created on 17 August 2020, about 5 years ago
Updated 8 December 2023, almost 2 years ago

The Paragraphs module was installed on the site, then it was decided to abandon its use.
After removing the module, an error began to appear on each cron pass.
How to get rid of this error?

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "paragraph" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 150 of /core/lib/Drupal/Core/Entity/EntityTypeManager.php).

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇷🇺Russia DD 85

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States trigve hagen Washington DC

    Search for paragraph in your database. It will be a left over in your key_value table. At least it was for me.

    SELECT * FROM `drupal10`.`key_value` WHERE (CONVERT(`collection` USING utf8) LIKE '%paragraph%' OR CONVERT(`name` USING utf8) LIKE '%paragraph%' OR CONVERT(`value` USING utf8) LIKE '%paragraph%')

  • 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin

    @#14 your projec tis a very appreciated contribution. +1 for this! But I opened a ticket on your projects issue queue. This needs more documentation and some considerations. Hope my input was helpful over there.

    Apart from that #7 🐛 The "paragraph" entity type does not exist error after uninstallation due to left key_value entries Active holds the solution for those humbling over it here.

  • 🇮🇳India nitin.k INDIA

    I faced the same issue, I did not have the paragraphs so uninstalled and installed the module again, and this worked for me.
    Do not apply this unless you have paragraphs.

Production build 0.71.5 2024