• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Wed Feb 15, 2012 10:13 pm 
Offline
Forum Members
Forum Members

Joined: Mon Mar 14, 2011 1:16 am
Posts: 182
Location: Brisbane, Australia
calguy1000 wrote:
Check your UDT's and 3rd party modules/plugins to make sure that they are not messing with the cache.

Good advice and I really appreciate your reply, but for those of us that have no idea how to do this, is there a simple series of steps? Or is it a matter of reviewing the code of every module we have installed? Is there a variable or other word we should be searching for?


Top
 Profile  
 
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Wed Feb 15, 2012 11:20 pm 
Offline
Power Poster
Power Poster

Joined: Mon Jan 29, 2007 4:47 pm
Posts: 426
gocreative wrote:
calguy1000 wrote:
Check your UDT's and 3rd party modules/plugins to make sure that they are not messing with the cache.
(...) Or is it a matter of reviewing the code of every module we have installed? (...)

In the case of UDT's yes, I believe it's the only way. As for modules you can deactivate suspect modules, one at the time, and do some testing. May not be the best way. But I'm not aware of any other....

_________________
"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...).

My developer Page on the Forge.


Top
 Profile  
 
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Wed Feb 15, 2012 11:35 pm 
Offline
Forum Members
Forum Members

Joined: Mon Mar 14, 2011 1:16 am
Posts: 182
Location: Brisbane, Australia
Jo Morg wrote:
As for modules you can deactivate suspect modules, one at the time, and do some testing.

The problem is that this error is so intermittent and random that it would be hard to reproduce without hitting Refresh 1000 times in a row. But even that might not work. I guess I'll just have to give that a shot.

Would any kind of debugging/logging help capture the reason for the error, if it was noticed one day and the log immediately checked?


Top
 Profile  
 
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Wed Feb 15, 2012 11:47 pm 
Offline
Power Poster
Power Poster

Joined: Mon Jan 29, 2007 4:47 pm
Posts: 426
gocreative wrote:
Jo Morg wrote:
As for modules you can deactivate suspect modules, one at the time, and do some testing.
The problem is that this error is so intermittent and random that it would be hard to reproduce without hitting Refresh 1000 times in a row.
I'm aware of that... specially because it seems this error only happens on hi traffic sites. :-[
As for a debug setting, it's not a nice thing to have on, if the site is a production site with a thousand hits per hour or so... anyway I'm not sure if it will have anything on it, but you should check both the Admin Log and a file located at (siteroot)\tmp\cache\debug.log. Someone else may have a better advise... :-\

_________________
"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...).

My developer Page on the Forge.


Top
 Profile  
 
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Thu Feb 16, 2012 12:12 am 
Offline
Forum Members
Forum Members

Joined: Mon Mar 14, 2011 1:16 am
Posts: 182
Location: Brisbane, Australia
Jo Morg wrote:
... it seems this error only happens on hi traffic sites.

That's not the case for me -- all of the sites I've had it with are extremely low traffic, even those that I've literally just launched and no one has visited yet.

Anyway, thanks for your suggestions. I'll see if I can get to the bottom of it but I'm really hoping someone can identify the source of the problem as soon as possible.


Top
 Profile  
 
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Fri Feb 17, 2012 12:43 pm 
Offline
Power Poster
Power Poster

Joined: Sat Jan 22, 2005 11:19 am
Posts: 305
Thanks for suggesting places to check. However there are no UDT's, plugins or 3rd Party Modules in my template that clear the cache. The only plugin that goes close is 'MenuManager' (after I deleted the suspect {cms_selflin rel=..} tag, rewrote SEOTools to SEOTools2 and removed any reference to HierarchyManager() or cache.

That just left the core software and a bunch of 3rd party modules beginning 'CG' and MenuManager

Calguy, please define
Quote:
High traffic sites
- are you saying that CMSMS is not an option for sites that expect more than 2 concurrent visitors?


Top
 Profile  
 
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Wed Mar 28, 2012 3:53 am 
Offline
Forum Members
Forum Members

Joined: Wed Jul 11, 2007 5:56 am
Posts: 12
Has anyone had this error if they've had automatic cache clearing enabled? I've just set mine to clear after 5 days, to see if that makes any difference.


Top
 Profile  
 
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Fri May 18, 2012 10:40 am 
Offline
Power Poster
Power Poster

Joined: Fri Mar 03, 2006 1:32 pm
Posts: 488
websupportguy wrote:
Has anyone had this error if they've had automatic cache clearing enabled? I've just set mine to clear after 5 days, to see if that makes any difference.


Yes, I had that right now :-(
Cache clearing interval is 2 days.

Maybe this is the cause:
http://dev.cmsmadesimple.org/bug/view/7259

Anyway, this should be resolved.

Cheers,
Alex


Top
 Profile  
 
 Post subject: Re: Fatal error: Call to a member function getContent()
PostPosted: Fri Sep 07, 2012 9:10 pm 
Offline
New Member

Joined: Mon Dec 15, 2008 2:10 am
Posts: 5
The ticket associated with this problem is now closed, but there was no closing comment to indicate how it was closed.

I have just had another site suffer this problem.

Can anyone comment on the final solution to this?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 54 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
A2 Hosting