Deleted a page type and entire site has crashed
Permalink
Hi,
My site was working just fine. I went to add a new page type and while I was there decided to clean up some files I wasn't using. I deleted one page type that was not in use, but had been used at one time at the very beginning of the development project. Then I went to the sitemap and created the new page with the new page type I just uploaded. When I went to that page, this error displayed underneath the logo and nothing else on the page was visible (I get this error on every page of the site):
: Call to a member function overrideCollectionPermissions() on a non-object in on line
Fatal error/nfs/c02/h10/mnt/43245/domains/americamartin.com/html/dev/concrete/models/permissions.php87
I tried re-uploading the page type I deleted and also deleting the newly created page and newly added page type, but none of that helped. Also, I'm running the latest version of C5.
Edit: Upon further investigation, it has something to do with two of the block areas in my templates. I renamed those block areas and the error went away, however it's not a solution because I need those block areas. When I first setup the page type that I recently deleted, I setup permissions for those block areas in the page type defaults. But I'm not sure what this means exactly or how I can fix it. Seems like the db is confused about something.
Anyone know what might have caused this error and how I can fix it?
My site was working just fine. I went to add a new page type and while I was there decided to clean up some files I wasn't using. I deleted one page type that was not in use, but had been used at one time at the very beginning of the development project. Then I went to the sitemap and created the new page with the new page type I just uploaded. When I went to that page, this error displayed underneath the logo and nothing else on the page was visible (I get this error on every page of the site):
: Call to a member function overrideCollectionPermissions() on a non-object in on line
Fatal error/nfs/c02/h10/mnt/43245/domains/americamartin.com/html/dev/concrete/models/permissions.php87
I tried re-uploading the page type I deleted and also deleting the newly created page and newly added page type, but none of that helped. Also, I'm running the latest version of C5.
Edit: Upon further investigation, it has something to do with two of the block areas in my templates. I renamed those block areas and the error went away, however it's not a solution because I need those block areas. When I first setup the page type that I recently deleted, I setup permissions for those block areas in the page type defaults. But I'm not sure what this means exactly or how I can fix it. Seems like the db is confused about something.
Anyone know what might have caused this error and how I can fix it?