Cannot use several options on dashboard in 5.4.1
Permalink 4 users found helpful1. users & groups
2. add functionality
3. file manager
I get following errors:
1. Users & Groups
Fatal error: Cannot redeclare class UserAttributeKey in /var/www/zmtrx.com/concrete/models/user_attributes.php on line 326
2. Add Functionality
Fatal error: Cannot make static method AttributeKey::getList() non static in class CollectionAttributeKey in /var/www/zmtrx.com/concrete/models/collection_attributes.php on line 193
3. File Manager
Fatal error: Cannot make static method AttributeKey::getList() non static in class FileAttributeKey in /var/www/zmtrx.com/concrete/models/file_attributes.php on line 241
I am also getting this error when I try to post a picture:
Fatal error: Cannot make static method AttributeKey::getList() non static in class FileAttributeKey in /var/www/zmtrx.com/concrete/models/file_attributes.php on line 241
BTW: there isn't anything on line 241. the info below is from lines:67-80.
Here is the code from the .php:
}
function getAttributeKeyID() { return $this->fakID; }
function getList() {
$db = Loader::db();
$q = "select fakID from FileAttributeKeys order by fakID asc";
$r = $db->query($q);
$la = array();
while ($row = $r->fetchRow()) {
$la[] = FileAttributeKey::get($row['fakID']);
}
return $la;
}

Kind regards,
Steff
For the rest: keep up the good work!