Fatal error: Cannot pass parameter 1 by reference in Admin\classes\class.output.php on line 16 line 16 is $this->loadTemplate('global',$this->words); for more info PM me class output { var $config = array(); var $html = null; var $action = ''; var $words = array(); var $templates = array(); function __construct($config,$action) { $this->config = &$config; $this->action = $action; $this->words = stringClass::loadwords('global'); $this->loadTemplate('global',$this->words); } PHP:
Hi, One thing I notice in here is : why do you pass an internal member of the class as a parameter to a method? you don't have access to "$words" in loadTemplate(...) ?