Solution of Fields pending deletion in Drupal 9 module uninstallation



Trying to remove a field from database. 

after some time, related module is not uninstalling.

After searching got reference from

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. 


Popular posts from this blog

Enable Theme Debug in Drupal 9

Remove drupal 9 extensions from database

DSPace Send Email