AttributeKey::getList('Collection') now erroring
Permalink
Weirdest thing, I created a package and, on an identical installation it is not working.
Trying to figure the problem, the code starting the error is this
this is supposed to return a list of the attributes of the type collection
but it is now throwing this error (with part of the path removed for this post):
Any ideas? Im stumped why this would work on one site but not another, and noting I can see is different in the db. =/
Trying to figure the problem, the code starting the error is this
$keyslist = AttributeKey::getList('Collection');
this is supposed to return a list of the attributes of the type collection
but it is now throwing this error (with part of the path removed for this post):
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'CollectionAttributeKey' not found in /server/www/(~removed~)/concrete/models/attribute/key.php on line 107.
Any ideas? Im stumped why this would work on one site but not another, and noting I can see is different in the db. =/
but of course this is not being consistent across other installs of c5. maddening. Anyone have any idea why this is occurring??
Catchable fatal error: Object of class Page could not be converted to string in /server/www/(~site~)/concrete/models/collection_version.php on line 36
Catchable fatal error: Object of class Page could not be converted to string in /server/www/(~site~)/concrete/models/collection_version.php on line 36
More info:
If I disable cache, pace my block as expected, then enable the cache, when I visit the page that block is on I get THIS error:
If I disable cache, pace my block as expected, then enable the cache, when I visit the page that block is on I get THIS error:
Catchable fatal error: Object of class Page could not be converted to string in /server/www/(~site~)/concrete/models/collection_version.php on line 36
It works fine when in SITEWIDE SETTINGS basic cache is disabled, but throws that error when cache is enabled.
Is this a bug in the system?