Found this error in my apache error logs:

PHP Fatal error: Call to undefined function feeds_importer_load_all() in /DRUPAL7/sites/all/modules/contrib/feeds_tamper/feeds_tamper.module on line 107, referer: http://EXAMPLE.COM/eng/admin/people/permissions

Comments

dgtlmoon’s picture

Status:Active» Closed (won't fix)

This is an error from feeds_tamper module right? http://drupal.org/project/feeds_tamper

mgifford’s picture

Project:Feeds» Feeds Tamper
Version:7.x-2.0-alpha7» 7.x-1.0-beta4
Status:Closed (won't fix)» Active

Well, not your issue anyways. I should have picked that out. Thanks @dgtlmoon

twistor’s picture

Status:Active» Postponed (maintainer needs more info)

This definitely don't normally happen. Could you be missing the Feeds module or something?

chrisjlee’s picture

I have this error as well. This error would occur repeatedly when my i would flush the drupal cache with drush. It would provide the following error:

PHP Fatal error:  Call to undefined function feeds_importer_load_all() in /home/ubuntu/site/stage/sites/all/modules/feeds_tamper/feeds_tamper.module on line 107

I think i may have fixed it. I had to rebuild the my database registry with the registry rebuild module.

performing a drush rr provides the following output:

Manually deleted 1 stale file from the registry.                       [success]
A file has been declared in a module's .info, but could not be found.  [warning]
This is probably indicative of a bug. The missing file is
sites/all/modules/feeds/feeds_ui/feeds_ui.test.
The registry has been rebuilt.                                         [success]
'drush' cache was cleared
twistor’s picture

Version:7.x-1.0-beta4» 7.x-1.x-dev
Issue summary:View changes
Status:Postponed (maintainer needs more info)» Closed (cannot reproduce)

This has been a while, I think it's probably worked out.

The weird thing is that Feeds also calls feeds_importer_load_all() from hook_permission() but wasn't throwing this error.

If anyone is still seeing this, feel free to re-open.

AlfTheCat’s picture

Using the latest dev of the feeds module and the feeds_tamper module, I'm still getting the error.

drush @[website] rr
The registry has been rebuilt via registry_rebuild (A). [success]
PHP Fatal error: Call to undefined function feeds_importer_load_all() in /var/aegir/platforms/[platform]/sites/all/modules/feeds_tamper/feeds_tamper.module on line 112

Fatal error: Call to undefined function feeds_importer_load_all() in /var/aegir/platforms/[platform]/sites/all/modules/feeds_tamper/feeds_tamper.module on line 112
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function feeds_importer_load_all() in /var/aegir/platforms/[platform]/sites/all/modules/sites/all/modules/feeds_tamper/feeds_tamper.module, line 112

twistor’s picture

Status:Closed (cannot reproduce)» Active

Can you confirm that the feeds module exists? And the version.

AlfTheCat’s picture

Yes the module exists. I've completely removed the two modules, feeds and feeds_tamper and re-downloaded them. To no avail.
UID1 is getting a WSOD on login and on cache clear on any other operation through drush, the above mentioned error appears.

twistor’s picture

@AlfTheCat, can you jump on IRC? It would be awesome if I could debug this with you.

If not, there's an obvious patch, but it's icky.

TechNikh’s picture

I get this error without feeds tamper. I don't have tamper module enabled or downloaded.
enabling feeds with drush throws error.
feeds (7.x-2.0-alpha8)

# drush en feeds_ui -y
The following projects have unmet dependencies:
feeds_ui requires job_scheduler
Would you like to download them? (y/n): y
Project job_scheduler (7.x-2.0-alpha3) downloaded to /*****/sites/all/modules/job_scheduler.                                                                [success]
Project job_scheduler contains 2 modules: job_scheduler_trigger, job_scheduler.
The following extensions will be enabled: feeds_ui, job_scheduler, feeds
Do you really want to continue? (y/n): y
PHP Fatal error:  Call to undefined function feeds_importer_load_all() in /*****/sites/all/modules/feeds/feeds.rules.inc on line 27
PHP Stack trace:
PHP   1. {main}() /usr/share/php/drush/drush.php:0
PHP   2. drush_main() /usr/share/php/drush/drush.php:14
PHP   3. _drush_bootstrap_and_dispatch() /usr/share/php/drush/drush.php:59
PHP   4. drush_dispatch() /usr/share/php/drush/drush.php:90
PHP   5. call_user_func_array() /usr/share/php/drush/includes/command.inc:165
PHP   6. drush_command() /usr/share/php/drush/includes/command.inc:0
PHP   7. _drush_invoke_hooks() /usr/share/php/drush/includes/command.inc:198
PHP   8. call_user_func_array() /usr/share/php/drush/includes/command.inc:324
PHP   9. drush_pm_enable() /usr/share/php/drush/includes/command.inc:0
PHP  10. drush_module_enable() /usr/share/php/drush/commands/pm/pm.drush.inc:904
PHP  11. drupal_flush_all_caches() /usr/share/php/drush/commands/core/drupal/environment.inc:117
PHP  12. actions_synchronize() /*****/includes/common.inc:7473
PHP  13. watchdog() /*****/includes/actions.inc:318
PHP  14. module_invoke() /*****/includes/bootstrap.inc:1735
PHP  15. call_user_func_array() /*****/includes/module.inc:866
PHP  16. rules_watchdog() /*****/includes/module.inc:0
PHP  17. rules_invoke_event() /*****/sites/all/modules/rules/modules/events.inc:180
PHP  18. rules_get_cache() /*****/sites/all/modules/rules/rules.module:969
PHP  19. RulesEventSet::rebuildEventCache() /*****/sites/all/modules/rules/rules.module:333
PHP  20. rules_fetch_data() /*****/sites/all/modules/rules/includes/rules.plugins.inc:761
PHP  21. call_user_func() /*****/sites/all/modules/rules/rules.module:217
PHP  22. feeds_rules_event_info() /*****/sites/all/modules/rules/rules.module:0
Drush command terminated abnormally due to an unrecoverable error.                                                                                                                 [error]
Error: Call to undefined function feeds_importer_load_all() in /*****/sites/all/modules/feeds/feeds.rules.inc, line 27
AlfTheCat’s picture

@twistor
Sorry for the extremely late reply and your kind offer to help. I strongly suspect it's something with my setup somehow, before taking up any of your time I'll free up some of mine and check if perhaps during updating feeds and applying the various patches required, files went missing or files from previous versions left over that are causing trouble.
So far disabling feeds_tamper got rid of the problem but again, I suspect it's feeds rather that feeds_tamper. It would be awesome of some of the patches there got committed because right now, for instance, I'm having to sacrifice automatic fetching of CSV files in order to get taxonomy inheritance working. Both patches target the same file. That's outside of our influence but my feeling is it's at the root of this problem.
Thanks again and will keep this issue updated if I find something.

  • twistor committed 46bf471 on 7.x-1.x
    Issue #1831792 by twistor, AlfTheCat, chrisjlee: PHP Fatal error:  Call...
twistor’s picture

Status:Active» Fixed

I've added a hack that should fix the error.

Calling this fixed since I can't reproduce it.

Status:Fixed» Closed (fixed)

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