Error:Call to a member function getCollectionAttributeValue() on string

Permalink
public function translate_from($c)
{
$i = 0;
Loader::model('attribute/categories/collection');
$emdd = CollectionAttributeKey::getByHandle('event_multidate');
$date_multi = $c->getCollectionAttributeValue($emdd);
$date_multi_array = explode(':^:', $date_multi);

1 Attachment

 
hutman replied on at Permalink Reply
hutman
ProEvents is not v8 compatible and doesn't not function properly in v8. In this specific case the $c being passed in is a string not the Page object that is expected.