- πΊπΈUnited States pmagunia Philadelphia πΊπΈ
I was able to uninstall Commerce Recurring. Comment #31 helped me.
What I did was:
1) Delete as much possible in the Commerce menu Drupal UI (I didn't need to keep Commerce on that machine. You may be able get by without this step.)
2) Change the lock status to false in the following YAML files:config/sync/field.storage.commerce_order.billing_period.yml config/sync/field.storage.commerce_order.billing_schedule.yml config/sync/field.storage.commerce_order_item.billing_period.yml
3) Import the config
4) Run the following Drush script:use Drupal\field\Entity\FieldStorageConfig; use Drupal\field\Entity\FieldConfig; // Deleting field storage. FieldStorageConfig::loadByName('commerce_order', 'billing_period')->delete(); FieldStorageConfig::loadByName('commerce_order_item', 'billing_period')->delete();
5) Then finally
drush pmu commerce_recurring
I was able to uninstall it without error messages. You may be able to alter the steps to suit your needs.