object(mysqli_sql_exception)#27 (8) {
  ["message":protected]=>
  string(180) "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(1064)
  ["file":protected]=>
  string(82) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.DB.php"
  ["line":protected]=>
  int(101)
  ["trace":"Exception":private]=>
  array(11) {
    [0]=>
    array(6) {
      ["file"]=>
      string(82) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.DB.php"
      ["line"]=>
      int(101)
      ["function"]=>
      string(5) "query"
      ["class"]=>
      string(6) "mysqli"
      ["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(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`"
      }
    }
    [2]=>
    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`"
      }
    }
    [3]=>
    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
      }
    }
    [4]=>
    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) {
      }
    }
    [5]=>
    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(3) "619"
        [1]=>
        object(MOffer)#21 (12) {
          ["_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)#7 (5) {
            ["showQuery"]=>
            bool(false)
            ["_mysqli":protected]=>
            object(mysqli)#8 (18) {
              ["affected_rows"]=>
              int(0)
              ["client_info"]=>
              string(14) "mysqlnd 8.4.22"
              ["client_version"]=>
              int(80422)
              ["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) "8.0.45"
              ["server_version"]=>
              int(80045)
              ["sqlstate"]=>
              string(5) "00000"
              ["protocol_version"]=>
              int(10)
              ["thread_id"]=>
              int(299813837)
              ["warning_count"]=>
              int(0)
            }
            ["_result":protected]=>
            object(mysqli_result)#23 (5) {
              ["current_field"]=>
              int(0)
              ["field_count"]=>
              int(32)
              ["lengths"]=>
              NULL
              ["num_rows"]=>
              int(0)
              ["type"]=>
              int(0)
            }
            ["_numQuery":protected]=>
            int(14)
            ["cache"]=>
            int(0)
          }
          ["_last_insert_id":protected]=>
          NULL
          ["_auto_date":protected]=>
          bool(true)
          ["_auto_date_fileds":protected]=>
          array(0) {
          }
          ["_cache":protected]=>
          bool(true)
          ["_cache_relate":protected]=>
          NULL
          ["_cache_relate_identifier":protected]=>
          NULL
          ["id_offer"]=>
          string(3) "619"
        }
      }
    }
    [6]=>
    array(6) {
      ["file"]=>
      string(90) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.Controller.php"
      ["line"]=>
      int(614)
      ["function"]=>
      string(8) "generate"
      ["class"]=>
      string(12) "ComOfferList"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        object(MMenuTree)#25 (32) {
          ["_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)#7 (5) {
            ["showQuery"]=>
            bool(false)
            ["_mysqli":protected]=>
            object(mysqli)#8 (18) {
              ["affected_rows"]=>
              int(0)
              ["client_info"]=>
              string(14) "mysqlnd 8.4.22"
              ["client_version"]=>
              int(80422)
              ["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) "8.0.45"
              ["server_version"]=>
              int(80045)
              ["sqlstate"]=>
              string(5) "00000"
              ["protocol_version"]=>
              int(10)
              ["thread_id"]=>
              int(299813837)
              ["warning_count"]=>
              int(0)
            }
            ["_result":protected]=>
            object(mysqli_result)#23 (5) {
              ["current_field"]=>
              int(0)
              ["field_count"]=>
              int(32)
              ["lengths"]=>
              NULL
              ["num_rows"]=>
              int(0)
              ["type"]=>
              int(0)
            }
            ["_numQuery":protected]=>
            int(14)
            ["cache"]=>
            int(0)
          }
          ["_last_insert_id":protected]=>
          NULL
          ["_auto_date":protected]=>
          bool(true)
          ["_auto_date_fileds":protected]=>
          array(0) {
          }
          ["_cache":protected]=>
          bool(true)
          ["_cache_relate":protected]=>
          string(5) "MMenu"
          ["_cache_relate_identifier":protected]=>
          string(7) "id_menu"
          ["id_menu_tree"]=>
          string(4) "2892"
          ["id_menu"]=>
          string(3) "378"
          ["id_parent"]=>
          string(4) "2890"
          ["lft"]=>
          string(1) "4"
          ["rgt"]=>
          string(1) "5"
          ["name"]=>
          string(16) "Praga na weekend"
          ["alias"]=>
          string(5) "praga"
          ["target"]=>
          string(1) "0"
          ["id_component"]=>
          string(1) "7"
          ["path"]=>
          string(7) "/praga/"
          ["home"]=>
          string(1) "0"
          ["active"]=>
          string(1) "1"
          ["active_parent"]=>
          string(1) "1"
          ["hide_children"]=>
          string(1) "0"
          ["hide_children_parent"]=>
          string(1) "0"
          ["meta_title"]=>
          string(62) "Wycieczka do Pragi na weekend autokarem | Biuro Podróży GRYF"
          ["meta_description"]=>
          string(163) "propozycje dla grup i osób indywidualnych, można kupić bilety do wielu atrakcji Pragi. Ciekawe propozycje na udany wyjazdy Firmowe, dobre kolacje, browary Pragi"
          ["class"]=>
          string(0) ""
          ["class_li"]=>
          string(0) ""
          ["copy_from_id_menu"]=>
          string(1) "0"
          ["copy_from_id_menu_tree"]=>
          string(1) "0"
        }
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(90) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.Controller.php"
      ["line"]=>
      int(811)
      ["function"]=>
      string(15) "assignComponent"
      ["class"]=>
      string(10) "Controller"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [8]=>
    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) {
      }
    }
    [9]=>
    array(6) {
      ["file"]=>
      string(84) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/application/core/class.Boot.php"
      ["line"]=>
      int(104)
      ["function"]=>
      string(11) "postProcess"
      ["class"]=>
      string(5) "CBlog"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [10]=>
    array(6) {
      ["file"]=>
      string(62) "/alt/home/webmaster.gryftravel/www/www.gryftravel.pl/index.php"
      ["line"]=>
      int(31)
      ["function"]=>
      string(5) "start"
      ["class"]=>
      string(4) "Boot"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["sqlstate":protected]=>
  string(5) "42000"
}