Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am getting the following error during Feeds update 7211.
Executing: drush updb -y
Feeds 7211 Fix importer mappings for file and image fields to use :uri
convention.
Do you wish to run all pending updates? (y/n): y
PHP Fatal error: Call to undefined function feeds_importer_load_all() in path/to/drupal/root/sites/all/modules/contrib/feeds/feeds.install on line 695
Fatal error: Call to undefined function feeds_importer_load_all() in path/to/drupal/root/sites/all/modules/contrib/feeds/feeds.install on line 695
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function feeds_importer_load_all() in
path/to/drupal/root/sites/all/modules/contrib/feeds/feeds.install,
line 695
The external command could not be executed due to an application [error]
error.
Comments
Comment #1
MegaChriz CreditAttribution: MegaChriz commentedThat update was introduced in #2341407: Fix missing file/image mappings caused by #1080386 by adding :uri to mappings. Did you disable the Feeds module before running the database updates? Because it looks like feeds.module is not included.
Comment #2
rtackett CreditAttribution: rtackett commentedI need to verify, but it may be a result of feeds extension modules. I found this: https://www.drupal.org/node/1831792 Still researching, I will post any updates here.
Comment #3
inversed CreditAttribution: inversed commentedThis has been addressed in https://www.drupal.org/node/2537290 with a patch, however, the quick fix is to enable the Feeds module before running the update. Note that update 7211 will loop, so don't abort until it is complete.
Comment #4
rajmataj CreditAttribution: rajmataj commentedAfter receiving this error, tried to enable the Feeds module, which then required Jobs Scheduler. Site through an 'unrecoverable error' while trying to enable those modules, but upon returning to the modules page, they seemed to be enable regardless. Was able to successfully run the update on the db however, and then was able to disable Feeds and Job Scheduler. Makes me a little nervous about the database integrity moving forward but so far, things seem to be working ok.