Download & Extend

Call to undefined function simplepie_require()

Project:Activity Stream
Version:6.x-2.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:simplepie

Issue Summary

With Simplepie.module installed, errors may occur when trying to invoke Simplepie

Fatal error: Call to undefined function simplepie_require() in sites/all/modules/activitystream/activitystream_feed/activitystream_feed.module on line 13

This is due to module ordering. If Activity Stream runs before Simplepie, the call will fail. If it runs after Simplepie, no errors occur.

Updating to the latest -dev release (remember to run update.php after any module update) will solve this. You may also just run the DB update that the latest -dev release adds:

UPDATE {system} SET weight = 100 WHERE name  = 'activitystream';

Comments

#1

Status:fixed» closed (fixed)

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

#2

For those that don't code like us, you can also do this on the frontend with the Utility module http://drupal.org/project/util

#3

I had to increase the weight of activitystream_feed to 100 also