Quote:PHP Fatal error: Cannot pass parameter 1 by reference in /home/camalotlms.com/system/application/models/mpttree.php on line 405
Heres the function that the error is in..
Code:
function get_root(){
$query = $this->db->getwhere($this->tree_table,array($this->left_col => 1),1);
$return = $query->num_rows() ? $query->row_array() : false;
if(!$return)
$this->debug_message('Root node was not found.'); // this is like 405 with the error..
return $return;
}