Fatal error: Call to a member function Name()

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
lex2000
New Member
New Member
Posts: 5
Joined: Tue Apr 07, 2009 11:38 pm

Fatal error: Call to a member function Name()

Post by lex2000 »

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
viebig

Re: Fatal error: Call to a member function Name()

Post by viebig »

cmsms version? system information?
lex2000
New Member
New Member
Posts: 5
Joined: Tue Apr 07, 2009 11:38 pm

Re: Fatal error: Call to a member function Name()

Post by lex2000 »

CMSMS version 1.6

When you say "system information" what exactly are you looking for? Local machine info or server info?
alby

Re: Fatal error: Call to a member function Name()

Post by alby »

lex2000 wrote: When you say "system information" what exactly are you looking for? Local machine info or server info?
You have a "View Text Report ..." link

What permissions are checked in that restricted group?

Alby
Post Reply

Return to “CMSMS Core”