Just upgraded from 1.7.1 to 1.9.2 then 1.9.4.2 then 1.10.2 All was well, then went to 1.11.9
Now when i try to create a new page, or when i click to edit the home page I get:
Fatal error: Call to a member function TemplateId() on a non-object in /home/quiltbra/public_html/plugins/function.stylesheet.php on line 56
I don't get the error when i click to edit any other page. All the pages are working on the site.
When i delete line 56, the error goes away but then all the pages stop working. Not that I really expected that to work anyway haha.
Thanks
Fatal Error in function.stylesheet [solved]
Fatal Error in function.stylesheet [solved]
Last edited by mechatech on Wed Dec 04, 2013 8:09 pm, edited 1 time in total.
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Fatal Error in function.stylesheet after upgrade to 1.11
http://themes.cmsmadesimple.org/
Warning Notice:
some themes will give a smarty error related to {stylesheet}, this plugin has been removed from CMSMS distributions. use {cms_stylesheet} instead.
a) Open the template of the theme;
b) Search for {stylesheet};
c) Replace {stylesheet} with {cms_stylesheet};
d) Save template;
e) Open style sheets and change image calls:
old url(uploads/folder/image.jpg)
new url([[root_url]]/uploads/folder/image.jpg)
Warning Notice:
some themes will give a smarty error related to {stylesheet}, this plugin has been removed from CMSMS distributions. use {cms_stylesheet} instead.
a) Open the template of the theme;
b) Search for {stylesheet};
c) Replace {stylesheet} with {cms_stylesheet};
d) Save template;
e) Open style sheets and change image calls:
old url(uploads/folder/image.jpg)
new url([[root_url]]/uploads/folder/image.jpg)
Re: Fatal Error in function.stylesheet after upgrade to 1.11
Thanks, that fixed the problem.
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Fatal Error in function.stylesheet after upgrade to 1.11
please add [solved] to the title