When I try to disable the module via drush I get the following error.

Fatal error: Class 'FeedsXPathParserBase' not found in .../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 .../sites/all/modules/contrib/feeds_xpathparser/FeedsXPathParserXML.inc, line 7

This also happens when I try to disable via the Drupal admin pages.

The site then fails after that. Only way to fix is to delete the module, download it again, and re-enable.

Eric

Comments

mausolos’s picture

Same problem, same version. Trashed :(

mausolos’s picture

Priority: Normal » Major
mausolos’s picture

I tried the current dev (sep 30), it seems to not have this problem.

richsky’s picture

Issue summary: View changes

This is still an issue!

  • twistor committed 5127a75 on 7.x-1.x
    Issue #2096973 by aitala: Fixed Disabling the module.
    
twistor’s picture

Status: Active » Fixed

You can work around this issue by adding:

require_once dirname(__FILE__) . '/FeedsXPathParserBase.inc';

to the top of FeedsXPathParserHTML.inc and FeedsXPathParserXML.inc

and then clearing the cache.

This is actually a combination of bugs in Feeds and ctools. The above commit should stop this from happening, even though it's not happening in dev. The real fix is for Feeds to disallow disabling modules that provide plugins while they are in use.

Status: Fixed » Closed (fixed)

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