I have this error on line 28 which is below.
private loadText() { $this->text = $wiki->getpage($this->page);}
The surrounding code can be seen below
public function parse() { $this->parser = new parser($page,$this->getText()); $this->parser->parse();}
// private functions
private loadText() { $this->text = $wiki->getpage($this->page);}
private parseNamespace(){...
I have can't see the problem and my only guess is that it is something to do with $this->