Install fail - adding attributes in 5.8.2.1
Permalink Browser Info Environment
Hi there,
A small bug that gets as far as installing the bottom_arrow attribute then fails with
Call to a member function getAttributeKeySettings() on a non-object
So it doesn't execute:
//Add option values
$myAttribute = CollectionAttributeKey::getByHandle('bottom_arrow');
SelectAttributeTypeOption::add( $myAttribute, 'Fill effect');
SelectAttributeTypeOption::add( $myAttribute, 'Rotate effect');
SelectAttributeTypeOption::add( $myAttribute, 'Split effect');
SelectAttributeTypeOption::add( $myAttribute, 'Hide arrow');
or any of the following code. I noticed it because I was looking for the parallax settings and they weren't installed.
Cheers.
A small bug that gets as far as installing the bottom_arrow attribute then fails with
Call to a member function getAttributeKeySettings() on a non-object
So it doesn't execute:
//Add option values
$myAttribute = CollectionAttributeKey::getByHandle('bottom_arrow');
SelectAttributeTypeOption::add( $myAttribute, 'Fill effect');
SelectAttributeTypeOption::add( $myAttribute, 'Rotate effect');
SelectAttributeTypeOption::add( $myAttribute, 'Split effect');
SelectAttributeTypeOption::add( $myAttribute, 'Hide arrow');
or any of the following code. I noticed it because I was looking for the parallax settings and they weren't installed.
Cheers.
Type: | Pre-Sale |
---|---|
Status: | In Progress |
thanks a lot for reporting. These days I'm away from the office, but hopefully next weekend I'll be able to release a new version of the theme fixing this.
Cheers,