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.

Archive /

Our old forums are still available as a read-only archive.

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

Multilingual Site: Problem with ArticleHolder page

Go to End



Community Member, 3 Posts

16 September 2008 at 11:13pm

When i try to do a translation for the ArticleHolder page from the tutorial i get this error:
Call to a member function getAllFields() on a non-object in wegebrot/sapphire/core/model/Translatable.php on line 588

My main language is english. The second one is german.

Can anybody help me?

Here is my ArticleHolder.php (also attached as a file to this post):


 * Defines the ArticleHolder page type
class ArticleHolder extends Page {
	static $db = array(
	static $has_one = array(
	static $allowed_children = array('ArticlePage');
	static $icon = "mysite/images/treeicons/news";
class ArticleHolder_Controller extends Page_Controller {
	function init() {
		RSSFeed::linkToFeed($this->Link() . "rss");	
	function rss() {
		$rss = new RSSFeed($this->Children(), $this->Link(), "The coolest news around");