Page 1 of 1

[solved] Fatal error

Posted: Tue Oct 15, 2013 1:59 pm
by maryjane
I have tried repeatedly to upgrade to the latest CMSMS and I keep going back to my old back up and reloading it. This time, after upgrading, when I go to pages to edit I get this fatal error message:

Fatal error: Call to a member function TemplateId() on a non-object in /home/maryjane/public_html/plugins/function.stylesheet.php on line 56

I contacted my web server and they said it was a problem with the script. I am not familiar with the inner workings of CMSMS so I do not know how to go into the php to change things. Can you help or should I just go back to the old version of CMSMS.

My web site is maryjaneparkerart.com. It looks fine from the public side but from the admin side, I can't edit anything.

Thanks,
Mary Jane

Re: Fatal error

Posted: Tue Oct 15, 2013 2:28 pm
by Jo Morg
That error means that you need to go to each and every template used by your pages and replace the {stylesheet} tag by {cms_stylesheet}. Check the documentation http://docs.cmsmadesimple.org/.

Re: Fatal error

Posted: Tue Oct 15, 2013 2:29 pm
by Rolf

SOLVED Re: Fatal error

Posted: Tue Oct 15, 2013 6:08 pm
by maryjane
Thanks, that was it.
Mary Jane