I get this notice when I enable this module in Drupal 7.

Comments

lassekt’s picture

The php function that return the error (/sites/all/modules/contrib/activitystream/activitystream_feed/activitystream_feed.module):

$path = drupal_get_path('module', 'activitystream_feed') .'/simplepie.inc';

if (module_exists('simplepie')) {
  simplepie_require();
} else {
  if (!class_exists('SimplePie') && file_exists($path)) {
    require_once $path;
  }
}
socialnicheguru’s picture

I believe that it is in the simplie library

stevedas’s picture

how do i fix this problem?

socialnicheguru’s picture

go into the simple pie library and everywhere where there is a '&$' for a variable just make it '$'.
this works for me with php 5.3

morbus iff’s picture

Status: Active » Fixed

In 7.x-3.x, SimplePIE has been updated to 1.3, which fixes this issue and drops PHP 4 compatibility.

Status: Fixed » Closed (fixed)

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