theres something wrong this peace of code
$albumName = UTIL_String::truncate(strip_tags($album->name), 25, '...');
if ( $diff )
{
$title = OW::getLanguage()->text('photo', 'feed_multiple_descriptions',
array('number' => $movedCount, 'albumUrl' => $albumUrl, 'albumName' => $albumName)
);
}
else
{
$title = UTIL_String::truncate(strip_tags($description), 100, '...');
}
$event = new OW_Event('feed.action', array(
'pluginKey' => 'photo',
'entityType' => 'multiple_photo_upload',
'entityId' => $photos[0]->id,
'userId' => $userId
), array(
'string' => $title,
'features' => array('likes'),
'content' => $content,
'view' => array('iconClass' => 'ow_ic_picture')
));
OW::getEventManager()->trigger($event);
}
}
}