Fatal Error after update from 5.4.0.5 to 5.4.1

Permalink
Why am I getting this bloody Fatal error: Cannot make static method AttributeKey::getList() non static in class FileAttributeKey in /usr/www/users/aktiveg/concrete/models/file_attributes.php on line 241
It happens in dashboards File Manager /Add Functionality/Users and Groups! Everything else works fine.

Any suggestions?

 
Shotster replied on at Permalink Reply
Shotster
Are you sure you were previously running 5.4.0.5? The file referenced in the error message seems to have disappeared with the 5.3.3 release.

-Steve
Mnkras replied on at Permalink Reply
Mnkras
make sure all files were uploaded, that is usually what causes errors
marius replied on at Permalink Reply
marius
Had the same error and i had uploaded all files. Solution for me was:

- Rename the concrete folder for Backup
- Copy the new 5.4.1 concrete folder and now it works.

Something is strange maybe a problem with a old file?

My error was:
Fatal error: Cannot make static method AttributeKey::getList() non static in class FileAttributeKey in .../concrete/models/file_attributes.php on line 241
hugzy replied on at Permalink Reply
I experienced the same thing with a simplescripts installation. Erroring all over the shop.

Also, new installs dont seem to play nicely - images missing, page types missing and un-editable via the c5 gui...
marius replied on at Permalink Reply
marius
@Hugzy i do a manual update. I do always a manual update - it works better and you have the control.

Try a manual update follow the INSTALL readme. When you have the error above rename or delete the /concrete folder and copy the new one from 5.4.1 to /concrete

Bevor make a backup of the DB and the /concrete folder.

I had also a problem with the slideshow blocks because i had a modified view.php in my /blocks/slideshow/template folder. Check if you have some "old" view.php or controller.php files for customation there. Rename it and replace it with the new files...