SELECT * FROM nodes WHERE id= and lang="pl" ORDER BY id desc LIMIT 1
Something is wrong in your syntax obok 'and lang="pl" ORDER BY id desc LIMIT 1' w linii 1
array(6) {
  [0]=>
  array(2) {
    ["file"]=>
    string(50) "/investinwielkopolska/application/lib/db.class.php"
    ["line"]=>
    int(473)
  }
  [1]=>
  array(2) {
    ["file"]=>
    string(50) "/investinwielkopolska/application/lib/db.class.php"
    ["line"]=>
    int(188)
  }
  [2]=>
  array(2) {
    ["file"]=>
    string(53) "/investinwielkopolska/application/models/contents.php"
    ["line"]=>
    int(36)
  }
  [3]=>
  array(2) {
    ["file"]=>
    string(68) "/investinwielkopolska/application/controllers/front_strony.class.php"
    ["line"]=>
    int(21)
  }
  [4]=>
  array(2) {
    ["file"]=>
    string(51) "/investinwielkopolska/application/lib/cms.class.php"
    ["line"]=>
    int(223)
  }
  [5]=>
  array(2) {
    ["file"]=>
    string(31) "/investinwielkopolska/index.php"
    ["line"]=>
    int(71)
  }
}

JEST!