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
View Replies:
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.