After upgrading to 6.x-1.0-alpha2 today, I'm getting this error message as soon as someone is trying to post a new article:

Fatal error: Call to undefined function extractor_simple_extract() in /var/www/drupal/sites/all/modules/extractor/extractor.module on line 96

I had to disable the 'extractor' module to be able to post new articles.

Greetings, -asb

CommentFileSizeAuthor
#6 731448-6_undefined.patch711 bytesalex_b

Comments

Anonymous’s picture

Same issue...

jvieille’s picture

Same issue (first install)

vivien.genet’s picture

Same issue :( but not an upgrade... I have install it for the first time

serkan.arikusu’s picture

same issue, initial install, the same error also editing node

pianomansam’s picture

Status: Active » Needs work

I ran into this issue as well. I am not using this plugin with Feeds API. Is anyone else using it with that module? I did come up with a solution, though. It seems that the include function that pulls in the simple extrator library is not being called because $config is empty on line 93. $library is set to a default, however, so a quick solution would be to rewrite the extractor_extract function as follows:

function extractor_extract($text, $library = 'extractor_simple', $config = array()) {
$config['extractors'] = $library;
extractor_include($config['extractors']);
$extract = "{$library}_extract";
return $extract($text, $config);
}

alex_b’s picture

Status: Needs work » Needs review
StatusFileSize
new711 bytes

It should actually be extractor_include($library);

Patch attached should fix bug.

alex_b’s picture

Status: Needs review » Fixed

Tested, committed - this is fixed. Thank you for reporting.

Status: Fixed » Closed (fixed)

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