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

Ka1 Bashiri created an issue. See original summary.

Ka1 Bashiri’s picture

Ok. I run cron and it's solved it.

Ka1 Bashiri’s picture

Status: Active » Fixed
vgutekunst’s picture

Hi,
i have the same issue, but cron didnt help. any suggestions?

vgutekunst’s picture

Status: Fixed » Needs work
jrockowitz’s picture

From Issue #1400478: Cannot disable module - required by Drupal, fields pending deletion

Try running...

drush php-eval 'field_purge_batch(500);'

chrtheuring’s picture

Hello,

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 ...

jrockowitz’s picture

I 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.

chrtheuring’s picture

Hello,

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

ldavidsp’s picture

Comment #6 repair my mistake.

richienabuk’s picture

I had the same issue with webform on Drupal 8. Comment #2 solved it

vgutekunst’s picture

@ #6

it gives me error: .node__comment_node_webform' doesn't exist