Although I've disabled and removed any module that required Entity Reference, I still cannot disable and remove entity reference, as it has attached itself to the comment fields on every content type in my drupal test site.
Any ideas?
Although I've disabled and removed any module that required Entity Reference, I still cannot disable and remove entity reference, as it has attached itself to the comment fields on every content type in my drupal test site.
Any ideas?
Comments
Comment #1
damien tournoud commentedEntity Reference doesn't attach itself anywhere. It is just a module providing a field type. To be able to uninstall it, you need to manually go delete all the fields that are using this field type.
You can go to
admin/reports/fieldsto see a list of fields in your installation.Comment #2
luco commentedwrong. I checked both
admin/reports/fieldsandadmin/reports/views-fields: there's no Entity Reference field in either of them.also it's gone from every
admin/structure/types/manage/ [content-type] /fieldspage.however, recreating the field, adding it to some content type and then deleting it solved for me.
Comment #3
damien tournoud commentedEntity Reference doesn't do anything by itself about that. Some fields will stay until the next cron run, because of the way fields are removed by Drupal, but there is nothing we can do about that.
Comment #4
luco commentedhmmm, cron run... gotta remember that. thanks.
Comment #5
Elleon commentedI was stuck with this problem too, tried all of the steps above to no avail. Reloaded the backup of the database, removed the content in the fields based on entity reference by editing each node individually, then deleted the field from the content types. Was then able to disable the Entity Reference module and didn't even need to run cron this time.
Comment #6
florian.bacle commentedRun cron worked for me