Solution of Fields pending deletion in Drupal 9 module uninstallation


 


Intro: 

Trying to remove a field from database. 

after some time, related module is not uninstalling.


After searching got reference from https://drupal.stackexchange.com/questions/244275/fields-pending-deletion-stopping-module-unistall-how-to-delete-manually

and applied solution worked as 


 drush php-eval 'field_purge_batch(10000);'

You can run cron continuously via following command and try after some time since all the data should be deleted via cron:

watch -n 5 drush cron -v

Please close this when the warning "Fields pending deletion" is gone. 


Thank you to read my blog. 

Comments

Popular posts from this blog

Enable Theme Debug in Drupal 9

Remove drupal 9 extensions from database

PHP redirect from http to https and www to non-www in Drupal 9