ProEvents Error on 5.8

Permalink
I attached a screenshot of the error. This is happening when I try to install proevents 2.6 on 5.8 I know this packages hasnt been updated to properly work with 5.8 due to the developer leaving the community... but if someone might be able to help with this install error that would be wonderful!

1 Attachment

 
glin425 replied on at Permalink Reply
This issue seems to stem from:
$daten = AttributeType::getByHandle('date');
        $eventthru = CollectionAttributeKey::getByHandle('event_thru');
        if (!is_object($eventthru)) {
            CollectionAttributeKey::add(
                $daten,
                array(
                    'akHandle' => 'event_thru',
                    'akName' => t('End Date'),
                    'akIsSearchable' => '1',
                    'akIsSearchableIndexed' => '1',
                    'akDateDisplayMode' => 'date',
                ),
                $pkg
            )->setAttributeSet($evset);
        }


After checking out CollectionAttributeKey class the add function is deprecated.

Does anyone know how to use this functionality with newer versions of Concrete5 ?
MrKDilkington replied on at Permalink Reply
MrKDilkington