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
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 731448-6_undefined.patch | 711 bytes | alex_b |
Comments
Comment #1
Anonymous (not verified) commentedSame issue...
Comment #2
jvieille commentedSame issue (first install)
Comment #3
vivien.genet commentedSame issue :( but not an upgrade... I have install it for the first time
Comment #4
serkan.arikusu commentedsame issue, initial install, the same error also editing node
Comment #5
pianomansam commentedI 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);
}
Comment #6
alex_b commentedIt should actually be
extractor_include($library);Patch attached should fix bug.
Comment #7
alex_b commentedTested, committed - this is fixed. Thank you for reporting.