Hi,

I'm randomly getting these errors when trying to import a feed with images:
PHP Fatal error: FeedsSimplePieEnclosure::getValue() [feedssimplepieenclosure.getvalue]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "SimplePie_Enclosure" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in modules/contrib/feeds/plugins/FeedsSimplePieParser.inc on line 21

Any ideas what could be causing this?

Comments

Krummrey’s picture

Getting the same error in alpha12. Did not in previous versions.

alex_b’s picture

Version: 6.x-1.0-alpha10 » 6.x-1.x-dev

kosmikko: are you sure you are using alpha10 and not alpha 12?

This error is happening with long feeds, right?

It looks a lot like this error could be caused by the Batch API integration. When a batched feed is being unserialized, the feeds enclosure class definition may not be found. If batching is the culprit, an immediate fix would be to jack up the feeds_node_batch_size variable to a number that accommodates the number of items in your longest feed.

dimiduj’s picture

suscribe

hitfactory’s picture

Still seeing this error on 6.x-1.0-alpha15 when importing from this feed:

http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/topfree...

I've set feeds_node_batch_size to 100 in settings.php but import breaks. Other similar feeds run fine.

alex_b’s picture

kenorb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.