I went to disable a handful of modules (this one, feeds admin UI, and a few other feeds related modules) and was greeted with a white screen on the module confirm page. I went to run drush to see if I could recover and the error I have within that now is:

$ drush cc all
PHP Fatal error: Class 'FeedsXPathParserBase' not found in /var/www/xxx/sites/all/modules/contrib/feeds_xpathparser/FeedsXPathParserXML.inc on line 7
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'FeedsXPathParserBase' not found in
/var/www/xxx/sites/all/modules/contrib/feeds_xpathparser/FeedsXPathParserXML.inc,
line 7

Thoughts? I've recovered from a backup but was not expecting that.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

twistor’s picture

It sounds like you were trying to disable the module while Feeds still had an importer using FeedsXPathParserXML. This shouldn't cause a problem, but there's some race condition here.

We should just mark the module as required until Feeds is no longer using the plugin.

twistor’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
1.2 KB

This should really be moved into Feeds.

twistor’s picture

Status: Needs review » Closed (duplicate)

I went ahead and fixed this in Feeds.

#2379407: Make module required if plugins are in use.