Fatal error: Call to a member function Name()
Posted: Fri Jul 17, 2009 3:27 am
Hi,
My client is getting the following error when clicking the page edit icon in Content > Pages:
Fatal error: Call to a member function Name() on a non-object in /path/to/cmsms/admin/editcontent.php in line 179
I have their user permissions restricted to Editor so they are locked out of all layout and admin privileges. However, when I grant them full perrmissions the error does not occur...the editor opens the page just fine. It's only when their access is restricted that the error happens. I also tried granting them Editor and Designer access but the error still happens. It only works when they have full permissions.
I don't want them to be able to access the Layout or Global Content sections because they've already blown the template out once by pasting content into the template editor area. Now the site is live and attracting clients, so they (and I) cannot afford for some numbskull to inadvertently overwrite the template again.
Has anyone seen this error, and, if so, do you know the solution?
Thanks in advance.
lex
My client is getting the following error when clicking the page edit icon in Content > Pages:
Fatal error: Call to a member function Name() on a non-object in /path/to/cmsms/admin/editcontent.php in line 179
I have their user permissions restricted to Editor so they are locked out of all layout and admin privileges. However, when I grant them full perrmissions the error does not occur...the editor opens the page just fine. It's only when their access is restricted that the error happens. I also tried granting them Editor and Designer access but the error still happens. It only works when they have full permissions.
I don't want them to be able to access the Layout or Global Content sections because they've already blown the template out once by pasting content into the template editor area. Now the site is live and attracting clients, so they (and I) cannot afford for some numbskull to inadvertently overwrite the template again.
Has anyone seen this error, and, if so, do you know the solution?
Thanks in advance.
lex