Page 1 of 1
Error after updating to 2.0.1.1 “Adelaide”
Posted: Mon Oct 05, 2015 10:10 am
by kouala
Hi,
I have upgraded my CMSMS 2.0 with the new 2.0.1.1.
After upgrading, my website works well but when I want to upgrade existing content (page), I have this error:
Code: Select all
Fatal error: Call to a member function fetch() on a non-object in /home/httpd/vhosts/www/lib/classes/internal/module_support/modtemplates.inc.php on line 173
Only when update or insert content (page), when I update Templates or UDT, it works well.
Can you help me please.
Thanks.
Kouala
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Tue Oct 06, 2015 8:28 am
by stephane
Hello,
I had the same problem with FormBrowser...
I don't know why, but when you look into "modtemplates.inc.php", at the end, there a 3 functions:
[removed by moderator]
I know this is not a good idea to modify a file from the core of Cmsms but.... I don't know how to solve this from within the module...
hope this help you...
steph
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Tue Oct 06, 2015 1:39 pm
by Jo Morg
I moderated your post, however I have seen you also seem to have filed a bug report, we will look into it, thanks.
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Tue Oct 06, 2015 8:37 pm
by mlestat1131
Getting exact same error.
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Tue Oct 06, 2015 8:39 pm
by Rolf
You cleared browser cache?
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Tue Oct 06, 2015 8:43 pm
by mlestat1131
Yep... Sure did...
Just so you know, this is an update from 1.12.1 to 2.0.1.1
This is the error with Debug
Debug: (0.127257) - (usage: 14036600) - (peak: 14156152)
102
Debug: (0.128444) - (usage: 14128736) - (peak: 14227760)
UPDATE cms_content SET content_name = 'About Us', owner_id = 1, type = 'content', template_id = '24', parent_id = '-1', active = 1, default_content = 0, show_in_menu = 1, cachable = 1, secure = '0', page_url = '', menu_text = 'ABOUT US', content_alias = 'about-us', metadata = '{* Add code here that should appear in the metadata section of all new pages *}', titleattribute = '', accesskey = '', tabindex = '', modified_date = '2015-10-06 16:42:18', item_order = '2', last_modified_by = 1 WHERE content_id = 102
Fatal error: Call to a member function fetch() on a non-object in /home4/ab57106/public_html/ohioymcayig.org/upgrade/lib/classes/internal/module_support/modtemplates.inc.php on line 173
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Tue Oct 06, 2015 8:48 pm
by mlestat1131
This only happens when trying to save content.
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Tue Oct 06, 2015 8:50 pm
by kouala
Yes, I have cleared browser cache and CMS cache. Like mlestat1131, only happens when save content (insert or update).
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Tue Oct 06, 2015 9:59 pm
by Jo Morg
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Wed Oct 07, 2015 1:39 pm
by mlestat1131
Which files were changed for this fix in the SVN?
Re: Error after updating to 2.0.1.1 “Adelaide”
Posted: Sun Jan 03, 2016 11:01 am
by Fricke
I see this is marked as fixed but is anyone else getting this error when trying to save content or update content because I'm getting it now after just updating yesterday.