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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1496 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.