Bootstrap trace array(11) {
  [0] => array(6) {
    ["file"] => string(83) "/home/u738212232/domains/belarushotels.by/application/library/Zend/Db/Statement.php"
    ["line"] => int(303)
    ["function"] => string(8) "_execute"
    ["class"] => string(21) "Zend_Db_Statement_Pdo"
    ["type"] => string(2) "->"
    ["args"] => array(1) {
      [0] => array(0) {
      }
    }
  }
  [1] => array(6) {
    ["file"] => string(90) "/home/u738212232/domains/belarushotels.by/application/library/Zend/Db/Adapter/Abstract.php"
    ["line"] => int(479)
    ["function"] => string(7) "execute"
    ["class"] => string(17) "Zend_Db_Statement"
    ["type"] => string(2) "->"
    ["args"] => array(1) {
      [0] => array(0) {
      }
    }
  }
  [2] => array(6) {
    ["file"] => string(94) "/home/u738212232/domains/belarushotels.by/application/library/Zend/Db/Adapter/Pdo/Abstract.php"
    ["line"] => int(238)
    ["function"] => string(5) "query"
    ["class"] => string(24) "Zend_Db_Adapter_Abstract"
    ["type"] => string(2) "->"
    ["args"] => array(2) {
      [0] => string(527) "SELECT `o`.*, `u`.*, `s`.*, `h`.`hotelName`, `c`.`cityName`, `os`.*, `bs`.* FROM `hotels_user_order` AS `o`
 LEFT JOIN `site_users` AS `u` ON o.userId = u.userId
 LEFT JOIN `hotels_suites` AS `s` ON o.suitesId = s.suitesId
 LEFT JOIN `hotels_hotels` AS `h` ON h.hotelId = s.hotelId
 LEFT JOIN `hotels_cities` AS `c` ON c.cityId = h.cityId
 LEFT JOIN `hotels_order_status` AS `os` ON o.statusId = os.statusId
 LEFT JOIN `hotels_billing_status` AS `bs` ON o.billingId = bs.billingId WHERE (o.userId = ?) ORDER BY `dateOrder` DESC"
      [1] => array(0) {
      }
    }
  }
  [3] => array(6) {
    ["file"] => string(80) "/home/u738212232/domains/belarushotels.by/application/library/Zend/Db/Select.php"
    ["line"] => int(686)
    ["function"] => string(5) "query"
    ["class"] => string(28) "Zend_Db_Adapter_Pdo_Abstract"
    ["type"] => string(2) "->"
    ["args"] => array(1) {
      [0] => object(Zend_Db_Select)#91 (4) {
        ["_bind":protected] => array(0) {
        }
        ["_adapter":protected] => object(Zend_Db_Adapter_Pdo_Mysql)#19 (12) {
          ["_pdoType":protected] => string(5) "mysql"
          ["_numericDataTypes":protected] => array(16) {
            [0] => int(0)
            [1] => int(1)
            [2] => int(2)
            ["INT"] => int(0)
            ["INTEGER"] => int(0)
            ["MEDIUMINT"] => int(0)
            ["SMALLINT"] => int(0)
            ["TINYINT"] => int(0)
            ["BIGINT"] => int(1)
            ["SERIAL"] => int(1)
            ["DEC"] => int(2)
            ["DECIMAL"] => int(2)
            ["DOUBLE"] => int(2)
            ["DOUBLE PRECISION"] => int(2)
            ["FIXED"] => int(2)
            ["FLOAT"] => int(2)
          }
          ["_defaultStmtClass":protected] => string(21) "Zend_Db_Statement_Pdo"
          ["_config":protected] => array(8) {
            ["host"] => string(9) "localhost"
            ["username"] => string(17) "u738212232_hotels"
            ["password"] => string(11) ",jkmijq1963"
            ["dbname"] => string(17) "u738212232_hotels"
            ["charset"] => NULL
            ["persistent"] => bool(false)
            ["options"] => array(3) {
              ["caseFolding"] => int(0)
              ["autoQuoteIdentifiers"] => bool(true)
              ["fetchMode"] => int(2)
            }
            ["driver_options"] => array(0) {
            }
          }
          ["_fetchMode":protected] => int(2)
          ["_profiler":protected] => object(Zend_Db_Profiler)#20 (4) {
            ["_queryProfiles":protected] => array(0) {
            }
            ["_enabled":protected] => bool(false)
            ["_filterElapsedSecs":protected] => NULL
            ["_filterTypes":protected] => NULL
          }
          ["_defaultProfilerClass":protected] => string(16) "Zend_Db_Profiler"
          ["_connection":protected] => object(PDO)#21 (0) {
          }
          ["_caseFolding":protected] => int(0)
          ["_autoQuoteIdentifiers":protected] => bool(true)
          ["_allowSerialization":protected] => bool(true)
          ["_autoReconnectOnUnserialize":protected] => bool(false)
        }
        ["_parts":protected] => array(11) {
          ["distinct"] => bool(false)
          ["columns"] => array(7) {
            [0] => array(3) {
              [0] => string(1) "o"
              [1] => string(1) "*"
              [2] => NULL
            }
            [1] => array(3) {
              [0] => string(1) "u"
              [1] => string(1) "*"
              [2] => NULL
            }
            [2] => array(3) {
              [0] => string(1) "s"
              [1] => string(1) "*"
              [2] => NULL
            }
            [3] => array(3) {
              [0] => string(1) "h"
              [1] => string(9) "hotelName"
              [2] => NULL
            }
            [4] => array(3) {
              [0] => string(1) "c"
              [1] => string(8) "cityName"
              [2] => NULL
            }
            [5] => array(3) {
              [0] => string(2) "os"
              [1] => string(1) "*"
              [2] => NULL
            }
            [6] => array(3) {
              [0] => string(2) "bs"
              [1] => string(1) "*"
              [2] => NULL
            }
          }
          ["union"] => array(0) {
          }
          ["from"] => array(7) {
            ["o"] => array(4) {
              ["joinType"] => string(4) "from"
              ["schema"] => NULL
              ["tableName"] => string(17) "hotels_user_order"
              ["joinCondition"] => NULL
            }
            ["u"] => array(4) {
              ["joinType"] => string(9) "left join"
              ["schema"] => NULL
              ["tableName"] => string(10) "site_users"
              ["joinCondition"] => string(19) "o.userId = u.userId"
            }
            ["s"] => array(4) {
              ["joinType"] => string(9) "left join"
              ["schema"] => NULL
              ["tableName"] => string(13) "hotels_suites"
              ["joinCondition"] => string(23) "o.suitesId = s.suitesId"
            }
            ["h"] => array(4) {
              ["joinType"] => string(9) "left join"
              ["schema"] => NULL
              ["tableName"] => string(13) "hotels_hotels"
              ["joinCondition"] => string(21) "h.hotelId = s.hotelId"
            }
            ["c"] => array(4) {
              ["joinType"] => string(9) "left join"
              ["schema"] => NULL
              ["tableName"] => string(13) "hotels_cities"
              ["joinCondition"] => string(19) "c.cityId = h.cityId"
            }
            ["os"] => array(4) {
              ["joinType"] => string(9) "left join"
              ["schema"] => NULL
              ["tableName"] => string(19) "hotels_order_status"
              ["joinCondition"] => string(24) "o.statusId = os.statusId"
            }
            ["bs"] => array(4) {
              ["joinType"] => string(9) "left join"
              ["schema"] => NULL
              ["tableName"] => string(21) "hotels_billing_status"
              ["joinCondition"] => string(26) "o.billingId = bs.billingId"
            }
          }
          ["where"] => array(1) {
            [0] => string(14) "(o.userId = ?)"
          }
          ["group"] => array(0) {
          }
          ["having"] => array(0) {
          }
          ["order"] => array(1) {
            [0] => array(2) {
              [0] => string(9) "dateOrder"
              [1] => string(4) "DESC"
            }
          }
          ["limitcount"] => NULL
          ["limitoffset"] => NULL
          ["forupdate"] => bool(false)
        }
        ["_tableCols":protected] => array(0) {
        }
      }
    }
  }
  [4] => array(6) {
    ["file"] => string(74) "/home/u738212232/domains/belarushotels.by/application/models/UserOrder.php"
    ["line"] => int(226)
    ["function"] => string(5) "query"
    ["class"] => string(14) "Zend_Db_Select"
    ["type"] => string(2) "->"
    ["args"] => array(0) {
    }
  }
  [5] => array(6) {
    ["file"] => string(97) "/home/u738212232/domains/belarushotels.by/application/modules/main/controllers/UserController.php"
    ["line"] => int(205)
    ["function"] => string(16) "getDataOrderUser"
    ["class"] => string(9) "UserOrder"
    ["type"] => string(2) "->"
    ["args"] => array(1) {
      [0] => NULL
    }
  }
  [6] => array(6) {
    ["file"] => string(88) "/home/u738212232/domains/belarushotels.by/application/library/Zend/Controller/Action.php"
    ["line"] => int(516)
    ["function"] => string(18) "orderHistoryAction"
    ["class"] => string(14) "UserController"
    ["type"] => string(2) "->"
    ["args"] => array(0) {
    }
  }
  [7] => array(6) {
    ["file"] => string(101) "/home/u738212232/domains/belarushotels.by/application/library/Zend/Controller/Dispatcher/Standard.php"
    ["line"] => int(308)
    ["function"] => string(8) "dispatch"
    ["class"] => string(22) "Zend_Controller_Action"
    ["type"] => string(2) "->"
    ["args"] => array(1) {
      [0] => string(18) "orderHistoryAction"
    }
  }
  [8] => array(6) {
    ["file"] => string(87) "/home/u738212232/domains/belarushotels.by/application/library/Zend/Controller/Front.php"
    ["line"] => int(954)
    ["function"] => string(8) "dispatch"
    ["class"] => string(35) "Zend_Controller_Dispatcher_Standard"
    ["type"] => string(2) "->"
    ["args"] => array(2) {
      [0] => object(Zend_Controller_Request_Http)#122 (15) {
        ["_paramSources":protected] => array(2) {
          [0] => string(4) "_GET"
          [1] => string(5) "_POST"
        }
        ["_requestUri":protected] => string(22) "/ru/user/order-history"
        ["_baseUrl":protected] => string(0) ""
        ["_basePath":protected] => NULL
        ["_pathInfo":protected] => string(22) "/ru/user/order-history"
        ["_params":protected] => array(4) {
          ["lang"] => string(2) "ru"
          ["action"] => string(13) "order-history"
          ["module"] => string(4) "main"
          ["controller"] => string(4) "user"
        }
        ["_rawBody":protected] => NULL
        ["_aliases":protected] => array(0) {
        }
        ["_dispatched":protected] => bool(true)
        ["_module":protected] => string(4) "main"
        ["_moduleKey":protected] => string(6) "module"
        ["_controller":protected] => string(4) "user"
        ["_controllerKey":protected] => string(10) "controller"
        ["_action":protected] => string(13) "order-history"
        ["_actionKey":protected] => string(6) "action"
      }
      [1] => object(Zend_Controller_Response_Http)#123 (8) {
        ["_body":protected] => array(0) {
        }
        ["_exceptions":protected] => array(0) {
        }
        ["_headers":protected] => array(0) {
        }
        ["_headersRaw":protected] => array(0) {
        }
        ["_httpResponseCode":protected] => int(200)
        ["_isRedirect":protected] => bool(false)
        ["_renderExceptions":protected] => bool(false)
        ["headersSentThrowsException"] => bool(true)
      }
    }
  }
  [9] => array(6) {
    ["file"] => string(74) "/home/u738212232/domains/belarushotels.by/application/system/Bootstrap.php"
    ["line"] => int(146)
    ["function"] => string(8) "dispatch"
    ["class"] => string(21) "Zend_Controller_Front"
    ["type"] => string(2) "->"
    ["args"] => array(0) {
    }
  }
  [10] => array(6) {
    ["file"] => string(63) "/home/u738212232/domains/belarushotels.by/public_html/index.php"
    ["line"] => int(8)
    ["function"] => string(5) "start"
    ["class"] => string(9) "Bootstrap"
    ["type"] => string(2) "::"
    ["args"] => array(0) {
    }
  }
}
URL: /ru/user/order-history

File: /home/u738212232/domains/belarushotels.by/application/library/Zend/Db/Statement/Pdo.php
Line: 234
Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?) ORDER BY `dateOrder` DESC' at line 7