flickr.module calls flickr_set_load() which is in flickr_sets.module (which I don't have enabled)

Comments

Anonymous’s picture

Assigned: Unassigned »

Would you talk me through how to reproduce the error message, thanks.

lyricnz’s picture

Start with all Flickr modules disabled. Enable only "Flickr" and "Flickr Block". Enable block "Flickr recent photosets".

Anonymous’s picture

Problem fixed.

   if (module_exists('flickr_sets')) {
    $photos = flickr_set_load($ps['id']);
    foreach ((array) $photos['photoset']['photo'] as $photo) {
      //insert owner into $photo because theme_flickr_photo needs it
      $photo['owner'] = $owner;
      $output .= theme('flickr_photo', $photo, $size);
    }
  }

Ill get the code committed to the development branch later today

Anonymous’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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