2

I am getting this error whenever I try to create a node on Drupal 8.6.2.

Drupal\Component\Plugin\Exception\PluginNotFoundException: The paragraph entity type does not exist. in Drupal\Core\Entity\EntityTypeManager line 133.

Right now, the paragraphs module is turned off. I have ran drupal updb to see if the database needed updating; nothing came back.

I tried drupal moi and drupal mou for paragraphs, but I get this error.

[ERROR] Configuration objects (core.entity_view_mode.paragraph.preview) provided by paragraphs already exist in active configuration

How can I fix this error?

2 Answers 2

5

I figured this out, not sure if it is the best way, I ended up using a mysql command to delete the config manually:

DELETE FROM `config` WHERE name='core.entity_view_mode.paragraph.preview';

After, you can enable and disable the module. Which appears to have fixed the issue.

1

Since you installed Drush, you can use the following command to delete the configuration object from the database.

drush cdel core.entity_view_mode.paragraph.preview
2
  • 1
    This looks like the same solution above only as a Drush command. In which case, that answer should be amended to have both.
    – Kevin
    Commented Dec 13, 2019 at 21:23
  • While the commands obtain the same effect, these are two different answers.
    – avpaderno
    Commented Dec 15, 2019 at 19:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.