object(Zend_Db_Statement_Mysqli_Exception)#93 (8) { ["_previous":"Zend_Exception":private]=> NULL ["message":protected]=> string(188) "Mysqli prepare error: 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 date DESC' at line 3" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(1064) ["file":protected]=> string(62) "/var/www/html/application/library/Zend/Db/Statement/Mysqli.php" ["line":protected]=> int(77) ["trace":"Exception":private]=> array(11) { [0]=> array(6) { ["file"]=> string(55) "/var/www/html/application/library/Zend/Db/Statement.php" ["line"]=> int(115) ["function"]=> string(8) "_prepare" ["class"]=> string(24) "Zend_Db_Statement_Mysqli" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(247) "SELECT * FROM news LEFT JOIN news_translation ON news_translation.news_id = news.id AND news_translation.language_id = ? WHERE NOT hidden AND news.id = ORDER BY date DESC" } } [1]=> array(6) { ["file"]=> string(60) "/var/www/html/application/library/Zend/Db/Adapter/Mysqli.php" ["line"]=> int(388) ["function"]=> string(11) "__construct" ["class"]=> string(17) "Zend_Db_Statement" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(Zend_Db_Adapter_Mysqli)#3 (12) { ["_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) } ["_stmt":protected]=> object(Zend_Db_Statement_Mysqli)#75 (12) { ["_keys":protected]=> array(4) { [0]=> string(2) "id" [1]=> string(5) "title" [2]=> string(8) "subtitle" [3]=> string(7) "content" } ["_values":protected]=> array(4) { [0]=> NULL [1]=> NULL [2]=> NULL [3]=> NULL } ["_meta":protected]=> object(mysqli_result)#68 (5) { ["current_field"]=> int(0) ["field_count"]=> int(4) ["lengths"]=> NULL ["num_rows"]=> int(0) ["type"]=> int(1) } ["_stmt":protected]=> NULL ["_adapter":protected]=> *RECURSION* ["_fetchMode":protected]=> int(2) ["_attribute":protected]=> array(0) { } ["_bindColumn":protected]=> array(0) { } ["_bindParam":protected]=> array(0) { } ["_sqlSplit":protected]=> array(3) { [0]=> string(327) " SELECT information.id, information_translation.title, information_translation.subtitle, information_translation.content FROM information INNER JOIN information_translation ON information_translation.information_id = information.id AND information_translation.language_id = " [1]=> string(1) "?" [2]=> string(65) " WHERE NOT information.hidden ORDER BY ord " } ["_sqlParam":protected]=> array(3) { [0]=> string(327) " SELECT information.id, information_translation.title, information_translation.subtitle, information_translation.content FROM information INNER JOIN information_translation ON information_translation.information_id = information.id AND information_translation.language_id = " [1]=> string(1) "?" [2]=> string(65) " WHERE NOT information.hidden ORDER BY ord " } ["_queryId":protected]=> NULL } ["_defaultStmtClass":protected]=> string(24) "Zend_Db_Statement_Mysqli" ["_config":protected]=> array(9) { ["host"]=> string(7) "mariadb" ["username"]=> string(6) "taurus" ["password"]=> string(16) "XZ_STsWGcof2V!Ty" ["dbname"]=> string(12) "taurus-iq_si" ["port"]=> string(4) "3306" ["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)#4 (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(mysqli)#5 (19) { ["affected_rows"]=> int(-1) ["client_info"]=> string(79) "mysqlnd 5.0.12-dev - 20150407 - $Id: 241ae00989d1995ffcbbf63d579943635faf9972 $" ["client_version"]=> int(50012) ["connect_errno"]=> int(0) ["connect_error"]=> NULL ["errno"]=> int(1064) ["error"]=> string(166) "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 date DESC' at line 3" ["error_list"]=> array(0) { } ["field_count"]=> int(4) ["host_info"]=> string(18) "mariadb via TCP/IP" ["info"]=> NULL ["insert_id"]=> int(0) ["server_info"]=> string(30) "5.5.5-10.1.48-MariaDB-1~bionic" ["server_version"]=> int(50505) ["stat"]=> string(153) "Uptime: 1658397 Threads: 7 Questions: 1842930975 Slow queries: 57 Opens: 1404519 Flush tables: 1 Open tables: 400 Queries per second avg: 1111.272" ["sqlstate"]=> string(5) "00000" ["protocol_version"]=> int(10) ["thread_id"]=> int(6214832) ["warning_count"]=> int(0) } ["_caseFolding":protected]=> int(0) ["_autoQuoteIdentifiers":protected]=> bool(true) ["_allowSerialization":protected]=> bool(true) ["_autoReconnectOnUnserialize":protected]=> bool(false) } [1]=> string(247) "SELECT * FROM news LEFT JOIN news_translation ON news_translation.news_id = news.id AND news_translation.language_id = ? WHERE NOT hidden AND news.id = ORDER BY date DESC" } } [2]=> array(6) { ["file"]=> string(62) "/var/www/html/application/library/Zend/Db/Adapter/Abstract.php" ["line"]=> int(479) ["function"]=> string(7) "prepare" ["class"]=> string(22) "Zend_Db_Adapter_Mysqli" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(247) "SELECT * FROM news LEFT JOIN news_translation ON news_translation.news_id = news.id AND news_translation.language_id = ? WHERE NOT hidden AND news.id = ORDER BY date DESC" } } [3]=> array(6) { ["file"]=> string(62) "/var/www/html/application/library/Zend/Db/Adapter/Abstract.php" ["line"]=> int(756) ["function"]=> string(5) "query" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(247) "SELECT * FROM news LEFT JOIN news_translation ON news_translation.news_id = news.id AND news_translation.language_id = ? WHERE NOT hidden AND news.id = ORDER BY date DESC" [1]=> array(1) { [0]=> string(2) "sl" } } } [4]=> array(6) { ["file"]=> string(41) "/var/www/html/application/models/News.php" ["line"]=> int(37) ["function"]=> string(8) "fetchRow" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(247) "SELECT * FROM news LEFT JOIN news_translation ON news_translation.news_id = news.id AND news_translation.language_id = ? WHERE NOT hidden AND news.id = ORDER BY date DESC" [1]=> array(1) { [0]=> string(2) "sl" } } } [5]=> array(6) { ["file"]=> string(56) "/var/www/html/application/controllers/NewsController.php" ["line"]=> int(15) ["function"]=> string(9) "getSingle" ["class"]=> string(4) "News" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> NULL } } [6]=> array(6) { ["file"]=> string(60) "/var/www/html/application/library/Zend/Controller/Action.php" ["line"]=> int(516) ["function"]=> string(10) "moreAction" ["class"]=> string(14) "NewsController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [7]=> array(6) { ["file"]=> string(73) "/var/www/html/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(10) "moreAction" } } [8]=> array(6) { ["file"]=> string(59) "/var/www/html/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)#63 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(10) "/sl/Novica" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(10) "/sl/Novica" ["_params":protected]=> array(3) { ["menu"]=> array(14) { ["id"]=> int(8) ["parent_id"]=> int(0) ["type"]=> string(6) "hidden" ["icon"]=> NULL ["is_default"]=> int(0) ["layout"]=> string(6) "layout" ["picture"]=> NULL ["title"]=> string(6) "Novica" ["page_title"]=> string(0) "" ["description"]=> NULL ["keywords"]=> NULL ["external_url"]=> NULL ["route"]=> string(9) "sl/Novica" ["url"]=> string(10) "/sl/Novica" } ["position"]=> string(6) "center" ["content"]=> array(8) { ["id"]=> int(11) ["position"]=> string(6) "center" ["picture"]=> string(0) "" ["title"]=> string(6) "Novica" ["subtitle"]=> NULL ["content"]=> string(0) "" ["module.controller"]=> string(4) "news" ["module.action"]=> string(4) "more" } } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(4) "news" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(4) "more" ["_actionKey":protected]=> string(6) "action" } [1]=> object(Zend_Controller_Response_Http)#64 (8) { ["_body":protected]=> array(1) { ["default"]=> string(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(39) "/var/www/html/application/bootstrap.php" ["line"]=> int(110) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [10]=> array(6) { ["file"]=> string(23) "/var/www/html/index.php" ["line"]=> int(8) ["function"]=> string(6) "output" ["class"]=> string(9) "Bootstrap" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL }