Arkadaşlar merhaba bir site kurdumda şöyle bir hata almaktayım


Hata veren dosyanın içeriği modeller / AutoloadModel.php
[CODE]
class AutoloadModel extends CI_Model
{
public function getCategories()
{
$sql = "SELECT id, title FROM 2d_categories WHERE id_relation = ?";
$query = $this->db->query($sql, 0);
$getCategories = '';
foreach ($query->result() as $row) {
$sql = "SELECT title, url FROM 2d_categories WHERE id_relation = ? ORDER BY title";
$query1 = $this->db->query($sql, $row->id);
$getSubCategories = '';
foreach ($query1->result() as $row1) {
$getSubCategories .= '
  • '.$row1->title.'
  • ';
    }
    $getCategories .= '';
    }
    return $getCategories;
    }

    public function getFooter()
    {
    $sql = "SELECT title, url FROM 2d_pages WHERE display_footer = 1 ORDER BY title";
    $query = $this->db->query($sql);
    $getFooter = '';
    foreach ($query->result() as $row) {
    $getFooter .= '
  • '.$row->title.'
  • ';
    }
    return $getFooter;
    }
    }
    [/CODE]