Error: getCollectionAttributeValue() on a non-object
Permalink Browser Info Environment
Path: /home/schoolya/public_html/test/packages/proevents/helpers/form/datetimetime.php
Can drag and drop EventList-Block and apply custom theme as long as there are no events added. As soon as I add events I get an error message ("Call to a member function getCollectionAttributeValue() on a non-object") and the debug console shows the code section above belonging to the file mentioned in the provided path. Help anyone?
* into a nice array of dates and times **/ 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);
Can drag and drop EventList-Block and apply custom theme as long as there are no events added. As soon as I add events I get an error message ("Call to a member function getCollectionAttributeValue() on a non-object") and the debug console shows the code section above belonging to the file mentioned in the provided path. Help anyone?
Type: | Ticket |
---|---|
Status: | New |