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 tried to crawl a feed and it failed with a HTTP 500 error. Following that error, I was unable to create any new feeds (node/add/feed) and all I got was a blank page. After activating error reporting this is what was reported:
Fatal error: Class 'FeedsSourceCrawler' not found in /var/www/mysite/sites/all/modules/feeds/includes/FeedsSource.inc on line 98
Deactivating the Feeds Crawler module solved the issue.
Comments
Comment #1
tekken CreditAttribution: tekken commentedCorrection: Deactivating the module did not solve the problem. Instead, I had to edit the database manually to remove the reference to FeedSourceCrawler... So this has been a show stopper for me.
Is anyone experiencing similar problems?
Comment #2
twistor CreditAttribution: twistor commentedAy dios mio. I think I know the cause of this, thought I had it covered. I'll dig into it on monday. Thanks.
Comment #3
dallasw1983 CreditAttribution: dallasw1983 commentedI'm getting a similar error as well, did you ever dig into this?
Comment #4
hejazee CreditAttribution: hejazee commentedI had the same problem!
When you install the "Feeds Crawler" module, it sets the feeds_source_class variable to 'FeedsSourceCrawler'
but it fails to delete this variable when the module is uninstalled.
So When you uninstall this module, When you want to import a new feed (?q=node/add/feed), You get this error:
I looked at the code and found these lines:
As you can see, variable_get('feeds_source_class', 'FeedsSource') will return 'FeedsSourceCrawler'. But you have uninstalled the Feeds Crawler module. So the FeedsSourceCrawler class is not defined any more and the code fails:
A fast solution may be to install the devel module and enable the "Execute php code" block.
Then run the following code to delete the feeds_source_class variable:
And it may be a task for the maintainer of this module to delete this variable at the uninstall hook.
Comment #5
twistor CreditAttribution: twistor commentedThe 6.x-1.x branch was a horrible hack job and is unsupported.