Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Error message, something wrong with the code?


Go to End


2 Posts   1080 Views

Avatar
Carrie_Lang

Community Member, 24 Posts

30 May 2011 at 7:01am

I'm installing the forum module, and when visiting forum page for the first time after dev/build etc. I got this error message:

Fatal error: Call to a member function Link() on a non-object in ../forum/code/Forum.php on line 474

and the line 474 in that file looks like this
RSSFeed::linkToFeed($this->Parent->Link("rss"), _t('Forum.RSSFORUMS','Posts to all forums'));

Is there something wrong with that line?

Avatar
Willr

Forum Moderator, 5523 Posts

30 May 2011 at 8:24pm

Edited: 30/05/2011 8:25pm

I'm picking that $this->Parent-> should perhaps be $this->Parent()->..

If you're trying out the forum I recommend using the master release off github. That is stable enough for use on production.