object(Exception)#20 (7) {
  ["message":protected]=>
  string(313) "Błąd podczas odpytywania bazy danych (SELECT * FROM mod_gallery_image WHERE id_mod_gallery =  AND active = 1 ORDER BY `position`): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND active = 1 ORDER BY `position`' at line 1"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  int(0)
  ["file":protected]=>
  string(82) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.DB.php"
  ["line":protected]=>
  int(106)
  ["trace":"Exception":private]=>
  array(9) {
    [0]=>
    array(6) {
      ["file"]=>
      string(82) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.DB.php"
      ["line"]=>
      int(265)
      ["function"]=>
      string(5) "query"
      ["class"]=>
      string(2) "DB"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(90) "SELECT * FROM mod_gallery_image WHERE id_mod_gallery =  AND active = 1 ORDER BY `position`"
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(101) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/modules/gallery/class.ModGallery.php"
      ["line"]=>
      int(250)
      ["function"]=>
      string(6) "select"
      ["class"]=>
      string(2) "DB"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(90) "SELECT * FROM mod_gallery_image WHERE id_mod_gallery =  AND active = 1 ORDER BY `position`"
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(88) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/models/class.MOffer.php"
      ["line"]=>
      int(115)
      ["function"]=>
      string(9) "getImages"
      ["class"]=>
      string(10) "ModGallery"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        NULL
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(100) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/components/offer/class.ComOffer.php"
      ["line"]=>
      int(102)
      ["function"]=>
      string(9) "getImages"
      ["class"]=>
      string(6) "MOffer"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(90) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.Controller.php"
      ["line"]=>
      int(600)
      ["function"]=>
      string(10) "getContent"
      ["class"]=>
      string(8) "ComOffer"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(4) "1931"
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(90) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.Controller.php"
      ["line"]=>
      int(813)
      ["function"]=>
      string(15) "assignComponent"
      ["class"]=>
      string(10) "Controller"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [6]=>
    array(6) {
      ["file"]=>
      string(92) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/controllers/class.CBlog.php"
      ["line"]=>
      int(29)
      ["function"]=>
      string(11) "postProcess"
      ["class"]=>
      string(10) "Controller"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(84) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.Boot.php"
      ["line"]=>
      int(100)
      ["function"]=>
      string(11) "postProcess"
      ["class"]=>
      string(5) "CBlog"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [8]=>
    array(6) {
      ["file"]=>
      string(62) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/index.php"
      ["line"]=>
      int(32)
      ["function"]=>
      string(5) "start"
      ["class"]=>
      string(4) "Boot"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
}