Install fail - adding attributes in

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.


Type: Pre-Sale
Status: In Progress
View Replies:
jordif replied on at Permalink Reply

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.

jordif replied on at Permalink Reply

sorry for the delay. Just released a new version fixing this.



concrete5 Environment Information

# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000

# concrete5 Packages

# concrete5 Overrides

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4

# Server API

# PHP Version

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, uploadprogress, XCache, XCache Cacher, xml, xmlreader, xmlrpc, xmlwriter, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 20M
sql.safe_mode - Off
upload_max_filesize - 80M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
xcache.var_maxttl - 0

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.