due to a cascade of problems, I ended up with a paragraph type using an uppercase machine name which then got cloned to a paragraph type using a lowercase name.

havoc ensued.

I recovered the site by hacking some core files to avoid errors, but I can't delete the paragraph type using the admin UI, the "delete" link leads to a "page not found".

I now seek to delete these paragraph types (= paragraph bundles) from the database.

I tried using drush, this cleared all content of these bundles, but I haven't found a way to delete the paragraph types themselves.

any tips on how to do that?

Drupal 9.2.6 with drush 10.6

Comments

drupaldope’s picture

I solved it by searching the database for occurences of the paragraph name and deleted all.

... cleared cache, and .... no errors (yay).

fabienly’s picture

You can do this: 

drush entity:delete paragraph --bundle=machin_name_paragraph
drupaldope’s picture

 "machin_name_paragraph"

that's a nice french placeholder name lol