Hi there,
I get the following warnings when trying to create a Feeds importer with an XML XPath Parser:
Missing Feeds plugin FeedsXPathParserXML. See xml_feed. Check whether all required libraries and modules are installed properly.
* Notice: Undefined index: FeedsMissingPlugin_feeds_form i drupal_retrieve_form() (rad 736 av /var/www/gh/includes/form.inc).
* Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'FeedsMissingPlugin_feeds_form' not found or invalid function name i drupal_retrieve_form() (rad 771 av /var/www/gh/includes/form.inc).
I use Drupal 7 with a Swedish language pack, not that it should matter.
Thankful for any help!
Comments
Comment #1
twistor CreditAttribution: twistor commentedDid you try clearing the cache?
Comment #2
oskarg CreditAttribution: oskarg commentedThanks man, that helped!
Comment #3
twistor CreditAttribution: twistor commentedComment #5
Honza Pobořil CreditAttribution: Honza Pobořil commentedIs it possible to call cache_clear_all when the parser was enabled automatically? This error was on new clear installation.
Comment #6
sachbearbeiter CreditAttribution: sachbearbeiter commentedhelped
Comment #7
Hanno CreditAttribution: Hanno commentedsame error here, while in the module we implemented hook_enable to clear the cache:
Manually clearing the cache worked.
Comment #8
twistor CreditAttribution: twistor commentedThis method doesn't work in D7. There are all sorts of cache clearing issues. I've looked for a workaround, but not extensively. I believe it is documented in Feeds that you must clear the cache after installing new plugins, if not it should be.
Comment #9
Hanno CreditAttribution: Hanno commentedHmm. Yeah it is mentioned in the documentation, but it is not a great UX as this is not communicated after uploading and enabling a module.
@Twistor Do you know if this a bug in D7 core and related issues? This affects other feeds plugins as well.
Comment #10
F.G CreditAttribution: F.G commentedHi,
i meet similar problem when i tried to swith Feed Xpath to Querypath. i flushed all caches to solv the problem.
Florent
Comment #11
twistor CreditAttribution: twistor commentedThe fix for this is to add FeedsXPathParser.inc to files in the info file. Thanks everybody.
http://drupalcode.org/project/feeds_xpathparser.git/commit/7e20e53
Comment #13
Greg Turner CreditAttribution: Greg Turner commentedI've been getting this error:
Missing Feeds plugin FeedsXPathParserXML
And
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'FeedsMissingPlugin_feeds_form' not found or invalid function name in drupal_retrieve_form() (line 785 of /Applications/MAMP/htdocs/ufandshands/includes/form.inc).
Is there something in the Feeds XPath module that would cause pervasive site errors after import?
I cleared all caches at stage of the module installation, but noticed the error began showing up after I tried to import a file (among others) that wasn't proper XML
Comment #14
energee CreditAttribution: energee commentedTwistor, I am getting this issue in version beta3, however there is not a file in the module called FeedsXPathParser.inc...
Comment #15
egarias CreditAttribution: egarias commentedFor me it is not closed.
It only works with feeds_xpathparser 7.x-1.0-beta3
other releases show the error
Comment #16
ianthomas_uk@egarias how do you expect this to be fixed in older versions? It requires a code change, and those versions can't be changed because they've already been released.
Anyone having this problem should upgrade to the current release. If that's not possible (hint: that means you're doing something wrong) then there's a workaround above (clearing the cache) or you can make the same change that twistor made to your own version.