object(Exception)#24 (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(10) {
    [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(109) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/components/offer_list/class.ComOfferList.php"
      ["line"]=>
      int(312)
      ["function"]=>
      string(10) "getContent"
      ["class"]=>
      string(8) "ComOffer"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        string(4) "2197"
        [1]=>
        object(MOffer)#20 (12) {
          ["_cache":protected]=>
          bool(true)
          ["_settings":protected]=>
          array(2) {
            ["alias"]=>
            array(1) {
              ["modifiers"]=>
              array(2) {
                ["ifEmptyCopyFrom"]=>
                string(5) "title"
                ["toAlias"]=>
                bool(true)
              }
            }
            ["zoover"]=>
            array(3) {
              ["type"]=>
              string(6) "zoover"
              ["reg"]=>
              string(13) "#(http://|)#i"
              ["field"]=>
              string(9) "id_zoover"
            }
          }
          ["_identifier":protected]=>
          string(8) "id_offer"
          ["_table":protected]=>
          string(5) "offer"
          ["_messages":protected]=>
          array(0) {
          }
          ["_db":protected]=>
          object(DB)#6 (5) {
            ["showQuery"]=>
            bool(false)
            ["_mysqli":protected]=>
            object(mysqli)#7 (19) {
              ["affected_rows"]=>
              int(0)
              ["client_info"]=>
              string(79) "mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $"
              ["client_version"]=>
              int(50011)
              ["connect_errno"]=>
              int(0)
              ["connect_error"]=>
              NULL
              ["errno"]=>
              int(0)
              ["error"]=>
              string(0) ""
              ["error_list"]=>
              array(0) {
              }
              ["field_count"]=>
              int(0)
              ["host_info"]=>
              string(33) "mysql.gryftravel.nq.pl via TCP/IP"
              ["info"]=>
              NULL
              ["insert_id"]=>
              int(0)
              ["server_info"]=>
              string(6) "5.6.40"
              ["server_version"]=>
              int(50640)
              ["stat"]=>
              string(165) "Uptime: 15734790  Threads: 57  Questions: 106641553843  Slow queries: 151478  Opens: 1694354120  Flush tables: 1  Open tables: 2000  Queries per second avg: 6777.437"
              ["sqlstate"]=>
              string(5) "00000"
              ["protocol_version"]=>
              int(10)
              ["thread_id"]=>
              int(559183873)
              ["warning_count"]=>
              int(0)
            }
            ["_result":protected]=>
            object(mysqli_result)#19 (5) {
              ["current_field"]=>
              int(0)
              ["field_count"]=>
              int(32)
              ["lengths"]=>
              NULL
              ["num_rows"]=>
              int(0)
              ["type"]=>
              int(0)
            }
            ["_numQuery":protected]=>
            int(12)
            ["cache"]=>
            int(0)
          }
          ["_last_insert_id":protected]=>
          NULL
          ["_auto_date":protected]=>
          bool(true)
          ["_auto_date_fileds":protected]=>
          array(0) {
          }
          ["_cache_relate":protected]=>
          NULL
          ["_cache_relate_identifier":protected]=>
          NULL
          ["id_offer"]=>
          string(4) "2197"
        }
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(90) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.Controller.php"
      ["line"]=>
      int(616)
      ["function"]=>
      string(8) "generate"
      ["class"]=>
      string(12) "ComOfferList"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        object(MMenuTree)#23 (32) {
          ["_cache":protected]=>
          bool(true)
          ["_cache_relate":protected]=>
          string(5) "MMenu"
          ["_cache_relate_identifier":protected]=>
          string(7) "id_menu"
          ["_settings":protected]=>
          array(1) {
            ["alias"]=>
            array(2) {
              ["modifiers"]=>
              array(2) {
                ["ifEmptyCopyFrom"]=>
                string(4) "name"
                ["toAlias"]=>
                bool(true)
              }
              ["reg"]=>
              string(18) "#[a-z0-9-_]{1,}#iu"
            }
          }
          ["_identifier":protected]=>
          string(12) "id_menu_tree"
          ["_table":protected]=>
          string(9) "menu_tree"
          ["_messages":protected]=>
          array(0) {
          }
          ["_db":protected]=>
          object(DB)#6 (5) {
            ["showQuery"]=>
            bool(false)
            ["_mysqli":protected]=>
            object(mysqli)#7 (19) {
              ["affected_rows"]=>
              int(-1)
              ["client_info"]=>
              string(79) "mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $"
              ["client_version"]=>
              int(50011)
              ["connect_errno"]=>
              int(0)
              ["connect_error"]=>
              NULL
              ["errno"]=>
              int(0)
              ["error"]=>
              string(0) ""
              ["error_list"]=>
              array(0) {
              }
              ["field_count"]=>
              int(0)
              ["host_info"]=>
              string(33) "mysql.gryftravel.nq.pl via TCP/IP"
              ["info"]=>
              NULL
              ["insert_id"]=>
              int(0)
              ["server_info"]=>
              string(6) "5.6.40"
              ["server_version"]=>
              int(50640)
              ["stat"]=>
              string(165) "Uptime: 15734790  Threads: 57  Questions: 106641553850  Slow queries: 151478  Opens: 1694354120  Flush tables: 1  Open tables: 2000  Queries per second avg: 6777.437"
              ["sqlstate"]=>
              string(5) "00000"
              ["protocol_version"]=>
              int(10)
              ["thread_id"]=>
              int(559183873)
              ["warning_count"]=>
              int(0)
            }
            ["_result":protected]=>
            object(mysqli_result)#19 (5) {
              ["current_field"]=>
              int(0)
              ["field_count"]=>
              int(32)
              ["lengths"]=>
              NULL
              ["num_rows"]=>
              int(0)
              ["type"]=>
              int(0)
            }
            ["_numQuery":protected]=>
            int(12)
            ["cache"]=>
            int(0)
          }
          ["_last_insert_id":protected]=>
          NULL
          ["_auto_date":protected]=>
          bool(true)
          ["_auto_date_fileds":protected]=>
          array(0) {
          }
          ["id_menu_tree"]=>
          string(4) "1716"
          ["id_menu"]=>
          string(3) "232"
          ["id_parent"]=>
          string(4) "1715"
          ["lft"]=>
          string(1) "2"
          ["rgt"]=>
          string(1) "3"
          ["name"]=>
          string(4) "home"
          ["alias"]=>
          string(4) "home"
          ["target"]=>
          string(1) "0"
          ["id_component"]=>
          string(1) "7"
          ["path"]=>
          string(6) "/home/"
          ["home"]=>
          string(1) "1"
          ["active"]=>
          string(1) "1"
          ["active_parent"]=>
          string(1) "1"
          ["hide_children"]=>
          string(1) "0"
          ["hide_children_parent"]=>
          string(1) "0"
          ["meta_title"]=>
          string(72) "Wycieczki, narty, wyjazdy integracyjne i sportowe | Biuro Podróży GRYF"
          ["meta_description"]=>
          string(157) "Organizujemy wakacje, weekend do Berlina, Rzymu, Pragi, Budapesztu, Barcelony, Wiednia, wyjazdy sportowe, integracyjne, Firmowe, bilety na mecze i Formula 1."
          ["class"]=>
          string(0) ""
          ["class_li"]=>
          string(0) ""
          ["copy_from_id_menu"]=>
          string(1) "0"
          ["copy_from_id_menu_tree"]=>
          string(1) "0"
        }
      }
    }
    [6]=>
    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) {
      }
    }
    [7]=>
    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) {
      }
    }
    [8]=>
    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) {
      }
    }
    [9]=>
    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
}