- 🇫🇷France DrDam
Check https://www.drupal.org/project/crop/issues/3228376 🐛 Can't delete a crop type Needs review in order to purge and delete all crop entities
PROBLEM
Unable to uninstall Crop API
CONTEXT
After testing the Image Widget Crop module decided that it was not what we needed.
Uninstalled that module
But then on uninstalling Crop API - after clicking the link to remove cropped entities - we get this error
Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "crop_type" entity type does not exist."
TESTING
So, reimported the configuration where both modules where installed, and tried everything
- removing all manual crops on images
- removing al those images
- removing the widget from the fields in the contenttype
- removing the crop types
(which gave me the error: (more or less translated from dutch)
crop_in10_square_100w is beging used by 2 opieces of content in your website. Yoy first have to remove all content of crop_in10_square_100w is
"crop_in10_square_100w wordt gebruikt door 2 stukken inhoud in de website. U kunt dit inhoudstype niet verwijderen totdat alle inhoud van crop_in10_square_100w is verwijderd."
then
uninstalling crop api give me the samen error message
Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "crop_type" entity type does not exist."
And a WSOD
QUESTION
how do I uninstall the crop API? And cleanup my development?
Active
2.1
Miscellaneous
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Check https://www.drupal.org/project/crop/issues/3228376 🐛 Can't delete a crop type Needs review in order to purge and delete all crop entities