Fatal error: Call to a member function setPermissionObject() on a non-object

Permalink
I'm hoping someone can help me. Yesterday I was setting permissions on all my pages. Everything was working fine and permissions seemed to be setup and working as I expected. This morning when I tried to access the site I can get to our home page (index.php) but all other pages I get:

Fatal error: Call to a member function setPermissionObject() on a non-object in C:\Apache2.2\htdocs\Concrete5\updates\concrete5.6.1.2_updater\concrete\core\models\file_list.php on line 235

I checked the file_list.php and on line 235 it says:

$pk->setPermissionObject($fs);

When I login as admin I can see everything as normal. If I login as any other user I receive the same error as when not logged in at all. Everything looks right when I check the permissions. I've found two other threads that mention this error but unfortunately no one posted their solution. Any suggestions? Anyone??!!

ckwill90
 
ckwill90 replied on at Permalink Reply
ckwill90
Oh, and I tried clearing the cache several times. Didn't help.
ckwill90 replied on at Permalink Reply
ckwill90
OMG! I figured it out. Before I left work yesterday I was playing around with custom permissions on file sets. Not sure why that would have made a difference because Guest still had view file access to all sets. Bug maybe? Just glad that when I removed the check mark from "Enable custom permissions for this file set" that fixed my site.

Thought I would post my solution so the next poor soul in panic mode because their site broke has at least some place to start looking.
paradigmprintmedia replied on at Permalink Reply
paradigmprintmedia
Hi there, i'm having the same issue with an Add-on called "360 Image" (the developer no longer supports this)

when I try to select the files set I just get a spinning (waiting) icon and I I just hit OK anyway
I get this message:

Fatal error: Call to a member function setPermissionObject() on null in /home/paradigm/public_html/updates/concrete5.6.3.4/concrete/core/models/file_list.php on line 258

I have tried messing with the permissions to no avail.
Can you point me in the right direction to try and fix this?

I've attached the offending file

Thanks

Michael