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

MegaChriz’s picture

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

rtackett’s picture

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

inversed’s picture

Status: Active » Closed (duplicate)

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

rajmataj’s picture

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