I've deleted all instances of field collections from their parent content type, and now wish to disable and uninstall the module. I am unable to do so - the field collection module is listed as "Required by: Drupal (Fields pending deletion)".

I have flushed all caches and run cron, with no change. Any thoughts?


perisdr’s picture

Try running cron multiple times. It took me two times. Other people said they ran cron up tp 6 times.

khalladay’s picture

Deleting the module folder, running cron, then replacing the module directory allowed me to disable the module. Got the idea from this issue: http://drupal.org/node/1284358

coert’s picture

@khalladay Thanks for the tip! Worked like a charm :)

fago’s picture

Category:bug» support
klonos’s picture

Yes, and this is actually a Drupal core bug/feature. It's not specific to the field_collection module.

mototribe’s picture

pikot’s picture

This worked for me too. Thanks!

tim.plunkett’s picture

Status:Active» Fixed

Per #2/#6

Konstantin Komelin’s picture

Thanks for the solution!

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nycguyjason’s picture

This solution worked for me also.
It took 6 or 7 times of running the cron.

newtoid’s picture

Issue summary:View changes

I had to fire cron off about a dozen times, and it finally worked, thought i was stuck with it forever :-)

jaskaran.nagra’s picture

Deleting the module and then running cron worked the first time for me :)
I Deleted the module, ran the cron, copied the module back to where it was, and then disabled it from UI.

petermilad’s picture

Ironically running the cron did the job actually :D

Franz Phillips’s picture

Run cron x3 worked for me. Thank you

pslcbs’s picture

#2 Worked for me at the first try

joshua.boltz’s picture

I had to run cron 3 times before it actually allowed me to disable the field_collection module due to "Required by: Drupal (Fields pending deletion)".

stefanotabarelli’s picture

I had the same problem and this also worked for me
DELETE FROM `field_config` WHERE `field_config`.`deleted` = 1;

i just cleaned the cache after running the query and I was able to disable the module

gzveri’s picture

number #18 works fine : DELETE FROM `field_config` WHERE `field_config`.`deleted` = 1;

amitkumar_dds’s picture

Running Cron resolved this issue. !!