Fatal error: Call to undefined method / Collection::getPermissionsCollectionID() in
Permalink
Hi there,
it seems that I just broke down our website (great start to the wekk, btw.). I desperately hope anypne has a idea to fix it, before my boss finds out. Here´s my problem:
Our website has a newstab to the right. I just wanted to add some news there and after I tried to upload a Pic to the text the upload chrashed.
When I now try to edit the news this error occurs.
Fatal error: Call to undefined method Collection::getPermissionsCollectionID() in /home/XXXXXXXX/public_html/XXXXXXXXXXX/updates/concrete5.4.2.1/concrete/models/permissions.php on line 555
I have to mention, that there have never been a pic before in this newstab, so maybe it´s text-only and my pic broke it down.
We are using Version 5.4.2.1. and I hope anyone got a idea.
And no, I have not made a backup before (I know... my bad..)
Greetings
MacKaye
it seems that I just broke down our website (great start to the wekk, btw.). I desperately hope anypne has a idea to fix it, before my boss finds out. Here´s my problem:
Our website has a newstab to the right. I just wanted to add some news there and after I tried to upload a Pic to the text the upload chrashed.
When I now try to edit the news this error occurs.
Fatal error: Call to undefined method Collection::getPermissionsCollectionID() in /home/XXXXXXXX/public_html/XXXXXXXXXXX/updates/concrete5.4.2.1/concrete/models/permissions.php on line 555
I have to mention, that there have never been a pic before in this newstab, so maybe it´s text-only and my pic broke it down.
We are using Version 5.4.2.1. and I hope anyone got a idea.
And no, I have not made a backup before (I know... my bad..)
Greetings
MacKaye
Hi Mkly,
thank you so much! Clearing the cache solved our problem.
I´m a little ashamed, that I did not try this in the first place, but again: Thank you very much!
Greetings vom Frankfurt, Germany
MacKaye
thank you so much! Clearing the cache solved our problem.
I´m a little ashamed, that I did not try this in the first place, but again: Thank you very much!
Greetings vom Frankfurt, Germany
MacKaye
I've been there many times. Great to hear it's resolved.
Br,
Mike
Br,
Mike
That error occurred in the CollectionPermissions::setGroupAccess() method.
I would first try clearing try clearing the site cache as that will clear the permissions cache as well.
For some reason setGroupAccess() is getting passed a Collection object instead of a Page object. Which means that the CollectionPermissions class constructor is getting passed a Collection object instead of a Page object.
Beyond that I'm not sure, maybe if some of that makes you think of anything or if you have a bit more info.