Hi,
I can't Uninstall YAML. I deleted one form that I had and:
The following reason prevents YAML Form from being uninstalled:
Fields pending deletion
I cleared cache, update database and don't see a field relevant to YAML in my field list:
body Text (formatted, long, with summary) (module: text)
comment_body Text (formatted, long) (module: text)
field_classification Entity reference (module: core)
field_supported_languages Entity reference (module: core)
field_tags Entity reference (module: core)
body Text (formatted, long, with summary) (module: text)
comment Comments (module: comment)
field_image Image (module: image)
field_meta_tags Meta tags (module: metatag)
field_tags Entity reference (module: core)
field_yoast_seo Yoast SEO status & focused keywords (module: yoast_seo)
field_meta_tags Meta tags (module: metatag)
field_yoast_seo Yoast SEO status & focused keywords (module: yoast_seo)
user_picture Image (module: image)
where is a problem?
Comments
Comment #2
Ka1 Bashiri CreditAttribution: Ka1 Bashiri commentedOk. I run cron and it's solved it.
Comment #3
Ka1 Bashiri CreditAttribution: Ka1 Bashiri commentedComment #4
vgutekunst CreditAttribution: vgutekunst commentedHi,
i have the same issue, but cron didnt help. any suggestions?
Comment #5
vgutekunst CreditAttribution: vgutekunst commentedComment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedFrom Issue #1400478: Cannot disable module - required by Drupal, fields pending deletion
Try running...
drush php-eval 'field_purge_batch(500);'
Comment #7
chrtheuring CreditAttribution: chrtheuring commentedHello,
I still have the same problem - impossible to uninstall nor yamform neither webform, both with remark of still existing fields ("The Form field type is used in the following field: node.yamlform") ... but there is no field in the DB ... and it's impossible to open field-structure (page not found) ...
Please can someone tell me WHICH fields or tables must be deleted (by hand in DB) to uninstall yamlform AND webform.
Christoph
P.S.
I think this situation initiate with a uncomplete migration from yamlform to webform because the script doesn't respect, that my DB-tables have a prefix ... No cron or cache-delete was succesful ...
Comment #8
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedI think this issue is not tables but configuration files and single records. This is almost impossible to manually cleanup. Do you have a backup?
BTW, If I was doing this manually, I would dump the entire database to file and search for the word 'yamlform' and figure out which tables/records need to be deleted.
Comment #9
chrtheuring CreditAttribution: chrtheuring commentedHello,
thanks for replying. Sorry for my late response, I didn't habe time every day.
I'll try to search in dump-file and delete all records with yamlform.
Why do you think that the issue are not table-records? What is the issue that prevent me for uninstaling the module? It's also impossible to uninstall webforms ...???
Thanks
Christoph
P.S.
I have backups ... but not form every step I have done ... so backup is no possibility for me
Comment #10
ldavidsp CreditAttribution: ldavidsp at MTech, LLC commentedComment #6 repair my mistake.
Comment #11
richienabuk CreditAttribution: richienabuk commentedI had the same issue with webform on Drupal 8. Comment #2 solved it
Comment #12
vgutekunst CreditAttribution: vgutekunst commented@ #6
it gives me error: .node__comment_node_webform' doesn't exist