Error after updating to 2.0.1.1 “Adelaide”

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
kouala
New Member
New Member
Posts: 6
Joined: Wed Sep 09, 2015 7:51 am

Error after updating to 2.0.1.1 “Adelaide”

Post 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
stephane
New Member
New Member
Posts: 4
Joined: Tue Sep 01, 2015 8:15 pm

Re: Error after updating to 2.0.1.1 “Adelaide”

Post 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
Last edited by Jo Morg on Tue Oct 06, 2015 1:36 pm, edited 1 time in total.
Reason: No hacks allowed.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: Error after updating to 2.0.1.1 “Adelaide”

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
mlestat1131
Forum Members
Forum Members
Posts: 41
Joined: Sat Sep 15, 2012 9:12 pm
Location: Columbus, Ohio

Re: Error after updating to 2.0.1.1 “Adelaide”

Post by mlestat1131 »

Getting exact same error.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Error after updating to 2.0.1.1 “Adelaide”

Post by Rolf »

You cleared browser cache?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
mlestat1131
Forum Members
Forum Members
Posts: 41
Joined: Sat Sep 15, 2012 9:12 pm
Location: Columbus, Ohio

Re: Error after updating to 2.0.1.1 “Adelaide”

Post 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
Last edited by mlestat1131 on Tue Oct 06, 2015 9:06 pm, edited 1 time in total.
mlestat1131
Forum Members
Forum Members
Posts: 41
Joined: Sat Sep 15, 2012 9:12 pm
Location: Columbus, Ohio

Re: Error after updating to 2.0.1.1 “Adelaide”

Post by mlestat1131 »

This only happens when trying to save content.
kouala
New Member
New Member
Posts: 6
Joined: Wed Sep 09, 2015 7:51 am

Re: Error after updating to 2.0.1.1 “Adelaide”

Post by kouala »

Yes, I have cleared browser cache and CMS cache. Like mlestat1131, only happens when save content (insert or update).
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: Error after updating to 2.0.1.1 “Adelaide”

Post by Jo Morg »

"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
mlestat1131
Forum Members
Forum Members
Posts: 41
Joined: Sat Sep 15, 2012 9:12 pm
Location: Columbus, Ohio

Re: Error after updating to 2.0.1.1 “Adelaide”

Post by mlestat1131 »

Which files were changed for this fix in the SVN?
Fricke
New Member
New Member
Posts: 1
Joined: Sat Jan 02, 2016 11:14 am

Re: Error after updating to 2.0.1.1 “Adelaide”

Post 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.
Post Reply

Return to “The Lounge”