object(ArrayObject)#127 (1) { ["storage":"ArrayObject":private]=> array(3) { ["exception"]=> object(Zend_Db_Statement_Exception)#135 (8) { ["_previous":"Zend_Exception":private]=> NULL ["message":protected]=> string(84) "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ecs.id_event' in 'on clause'" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(42) ["file":protected]=> string(42) "/app/www/library/Zend/Db/Statement/Pdo.php" ["line":protected]=> int(234) ["trace":"Exception":private]=> array(12) { [0]=> array(6) { ["file"]=> string(38) "/app/www/library/Zend/Db/Statement.php" ["line"]=> int(320) ["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(45) "/app/www/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(49) "/app/www/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(1082) "SELECT `e`.*, `i18n_e`.`lang`, `i18n_e`.`event_id`, `i18n_e`.`title`, `i18n_e`.`excerpt`, `i18n_e`.`description`, `i18n_e`.`img`, `i18n_e`.`alt`, `i18n_e`.`list_img`, `i18n_e`.`list_alt`, `i18n_e`.`related_img`, `i18n_e`.`related_alt`, `i18n_e`.`cover_img`, `i18n_e`.`cover_alt`, `i18n_e`.`slug`, `i18n_e`.`meta_title`, `i18n_e`.`meta_desc`, `i18n_e`.`share_title`, `i18n_e`.`share_desc`, `i18n_e`.`share_img`, `i18n_e`.`twitter_text`, `ec`.`id` AS `event_category_id`, `i18n_ec`.`title` AS `category_title`, `i18n_ec`.`slug` AS `category_slug` FROM `event` AS `e` INNER JOIN `i18n_event` AS `i18n_e` ON e.id = i18n_e.event_id RIGHT JOIN `event_categories` AS `c` ON e.id = ecs.id_event INNER JOIN `event_category` AS `ec` ON ecs.id_category = ec.id INNER JOIN `i18n_event_category` AS `i18n_ec` ON ec.id = i18n_ec.event_category_id WHERE (i18n_ec.slug = 'flat-racing') AND (e.pressexclusive = 0 OR (e.pressexclusive = 1 AND e.embargo_end < NOW())) AND (i18n_e.lang = 'en-us') AND (e.published = 1) AND (i18n_ec.lang = 'en-us') AND (ec.published = 1) ORDER BY `start_date` DESC" [1]=> array(0) { } } } [3]=> array(6) { ["file"]=> string(35) "/app/www/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)#128 (4) { ["_bind":protected]=> array(0) { } ["_adapter":protected]=> object(Zend_Db_Adapter_Pdo_Mysql)#28 (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(17) "database.internal" ["username"]=> string(4) "user" ["password"]=> string(0) "" ["dbname"]=> string(4) "main" ["charset"]=> string(4) "UTF8" ["persistent"]=> bool(false) ["options"]=> array(3) { ["caseFolding"]=> int(0) ["autoQuoteIdentifiers"]=> bool(true) ["fetchMode"]=> int(2) } ["driver_options"]=> array(1) { [1002]=> string(16) "SET NAMES 'UTF8'" } } ["_fetchMode":protected]=> int(2) ["_profiler":protected]=> object(Zend_Db_Profiler)#29 (4) { ["_queryProfiles":protected]=> array(8) { [0]=> object(Zend_Db_Profiler_Query)#34 (5) { ["_query":protected]=> string(7) "connect" ["_queryType":protected]=> int(1) ["_startedMicrotime":protected]=> float(1675033978.2066) ["_endedMicrotime":protected]=> float(1675033978.2094) ["_boundParams":protected]=> array(0) { } } [1]=> object(Zend_Db_Profiler_Query)#38 (5) { ["_query":protected]=> string(55) "SELECT `u`.* FROM `url` AS `u` WHERE (u.lang = 'en-us')" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2095) ["_endedMicrotime":protected]=> float(1675033978.2099) ["_boundParams":protected]=> array(0) { } } [2]=> object(Zend_Db_Profiler_Query)#126 (5) { ["_query":protected]=> string(55) "SELECT `u`.* FROM `url` AS `u` WHERE (u.lang = 'en-us')" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.216) ["_endedMicrotime":protected]=> float(1675033978.2168) ["_boundParams":protected]=> array(0) { } } [3]=> object(Zend_Db_Profiler_Query)#129 (5) { ["_query":protected]=> string(426) "SELECT `p`.*, `i18n_p`.`lang`, `i18n_p`.`page_id`, `i18n_p`.`img`, `i18n_p`.`alt`, `i18n_p`.`title`, `i18n_p`.`description`, `i18n_p`.`meta_title`, `i18n_p`.`meta_desc`, `i18n_p`.`share_title`, `i18n_p`.`share_desc`, `i18n_p`.`share_img`, `i18n_p`.`twitter_text` FROM `page` AS `p` INNER JOIN `i18n_page` AS `i18n_p` ON p.id = i18n_p.page_id WHERE (p.slug = 'events') AND (i18n_p.lang = 'en-us') AND (p.published = 1) LIMIT 1" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2189) ["_endedMicrotime":protected]=> float(1675033978.2196) ["_boundParams":protected]=> array(0) { } } [4]=> object(Zend_Db_Profiler_Query)#130 (5) { ["_query":protected]=> string(424) "SELECT `p`.*, `i18n_p`.`lang`, `i18n_p`.`page_id`, `i18n_p`.`img`, `i18n_p`.`alt`, `i18n_p`.`title`, `i18n_p`.`description`, `i18n_p`.`meta_title`, `i18n_p`.`meta_desc`, `i18n_p`.`share_title`, `i18n_p`.`share_desc`, `i18n_p`.`share_img`, `i18n_p`.`twitter_text` FROM `page` AS `p` INNER JOIN `i18n_page` AS `i18n_p` ON p.id = i18n_p.page_id WHERE (p.slug = 'home') AND (i18n_p.lang = 'en-us') AND (p.published = 1) LIMIT 1" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2197) ["_endedMicrotime":protected]=> float(1675033978.2201) ["_boundParams":protected]=> array(0) { } } [5]=> object(Zend_Db_Profiler_Query)#131 (5) { ["_query":protected]=> string(323) "SELECT `ec`.`id`, `ec`.`id_parent`, `ec`.`position`, `ec`.`published`, `i18n_ec`.`lang`, `i18n_ec`.`event_category_id`, `i18n_ec`.`title`, `i18n_ec`.`slug` FROM `event_category` AS `ec` INNER JOIN `i18n_event_category` AS `i18n_ec` ON ec.id = i18n_ec.event_category_id WHERE (i18n_ec.lang = 'en-us') AND (ec.published = 1)" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2202) ["_endedMicrotime":protected]=> float(1675033978.2206) ["_boundParams":protected]=> array(0) { } } [6]=> object(Zend_Db_Profiler_Query)#133 (5) { ["_query":protected]=> string(323) "SELECT `ec`.`id`, `ec`.`id_parent`, `ec`.`position`, `ec`.`published`, `i18n_ec`.`lang`, `i18n_ec`.`event_category_id`, `i18n_ec`.`title`, `i18n_ec`.`slug` FROM `event_category` AS `ec` INNER JOIN `i18n_event_category` AS `i18n_ec` ON ec.id = i18n_ec.event_category_id WHERE (i18n_ec.lang = 'en-us') AND (ec.published = 1)" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2207) ["_endedMicrotime":protected]=> float(1675033978.2211) ["_boundParams":protected]=> array(0) { } } [7]=> object(Zend_Db_Profiler_Query)#132 (5) { ["_query":protected]=> string(1082) "SELECT `e`.*, `i18n_e`.`lang`, `i18n_e`.`event_id`, `i18n_e`.`title`, `i18n_e`.`excerpt`, `i18n_e`.`description`, `i18n_e`.`img`, `i18n_e`.`alt`, `i18n_e`.`list_img`, `i18n_e`.`list_alt`, `i18n_e`.`related_img`, `i18n_e`.`related_alt`, `i18n_e`.`cover_img`, `i18n_e`.`cover_alt`, `i18n_e`.`slug`, `i18n_e`.`meta_title`, `i18n_e`.`meta_desc`, `i18n_e`.`share_title`, `i18n_e`.`share_desc`, `i18n_e`.`share_img`, `i18n_e`.`twitter_text`, `ec`.`id` AS `event_category_id`, `i18n_ec`.`title` AS `category_title`, `i18n_ec`.`slug` AS `category_slug` FROM `event` AS `e` INNER JOIN `i18n_event` AS `i18n_e` ON e.id = i18n_e.event_id RIGHT JOIN `event_categories` AS `c` ON e.id = ecs.id_event INNER JOIN `event_category` AS `ec` ON ecs.id_category = ec.id INNER JOIN `i18n_event_category` AS `i18n_ec` ON ec.id = i18n_ec.event_category_id WHERE (i18n_ec.slug = 'flat-racing') AND (e.pressexclusive = 0 OR (e.pressexclusive = 1 AND e.embargo_end < NOW())) AND (i18n_e.lang = 'en-us') AND (e.published = 1) AND (i18n_ec.lang = 'en-us') AND (ec.published = 1) ORDER BY `start_date` DESC" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2213) ["_endedMicrotime":protected]=> NULL ["_boundParams":protected]=> array(0) { } } } ["_enabled":protected]=> bool(true) ["_filterElapsedSecs":protected]=> NULL ["_filterTypes":protected]=> NULL } ["_defaultProfilerClass":protected]=> string(16) "Zend_Db_Profiler" ["_connection":protected]=> object(PDO)#35 (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(24) { [0]=> array(3) { [0]=> string(1) "e" [1]=> string(1) "*" [2]=> NULL } [1]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(4) "lang" [2]=> string(4) "lang" } [2]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(8) "event_id" [2]=> string(8) "event_id" } [3]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(5) "title" [2]=> string(5) "title" } [4]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(7) "excerpt" [2]=> string(7) "excerpt" } [5]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(11) "description" [2]=> string(11) "description" } [6]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(3) "img" [2]=> string(3) "img" } [7]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(3) "alt" [2]=> string(3) "alt" } [8]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(8) "list_img" [2]=> string(8) "list_img" } [9]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(8) "list_alt" [2]=> string(8) "list_alt" } [10]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(11) "related_img" [2]=> string(11) "related_img" } [11]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(11) "related_alt" [2]=> string(11) "related_alt" } [12]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(9) "cover_img" [2]=> string(9) "cover_img" } [13]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(9) "cover_alt" [2]=> string(9) "cover_alt" } [14]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(4) "slug" [2]=> string(4) "slug" } [15]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(10) "meta_title" [2]=> string(10) "meta_title" } [16]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(9) "meta_desc" [2]=> string(9) "meta_desc" } [17]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(11) "share_title" [2]=> string(11) "share_title" } [18]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(10) "share_desc" [2]=> string(10) "share_desc" } [19]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(9) "share_img" [2]=> string(9) "share_img" } [20]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(12) "twitter_text" [2]=> string(12) "twitter_text" } [21]=> array(3) { [0]=> string(2) "ec" [1]=> string(2) "id" [2]=> string(17) "event_category_id" } [22]=> array(3) { [0]=> string(7) "i18n_ec" [1]=> string(5) "title" [2]=> string(14) "category_title" } [23]=> array(3) { [0]=> string(7) "i18n_ec" [1]=> string(4) "slug" [2]=> string(13) "category_slug" } } ["union"]=> array(0) { } ["from"]=> array(5) { ["e"]=> array(4) { ["joinType"]=> string(4) "from" ["schema"]=> NULL ["tableName"]=> string(5) "event" ["joinCondition"]=> NULL } ["i18n_e"]=> array(4) { ["joinType"]=> string(10) "inner join" ["schema"]=> NULL ["tableName"]=> string(10) "i18n_event" ["joinCondition"]=> string(22) "e.id = i18n_e.event_id" } ["c"]=> array(4) { ["joinType"]=> string(10) "right join" ["schema"]=> NULL ["tableName"]=> string(16) "event_categories" ["joinCondition"]=> string(19) "e.id = ecs.id_event" } ["ec"]=> array(4) { ["joinType"]=> string(10) "inner join" ["schema"]=> NULL ["tableName"]=> string(14) "event_category" ["joinCondition"]=> string(23) "ecs.id_category = ec.id" } ["i18n_ec"]=> array(4) { ["joinType"]=> string(10) "inner join" ["schema"]=> NULL ["tableName"]=> string(19) "i18n_event_category" ["joinCondition"]=> string(33) "ec.id = i18n_ec.event_category_id" } } ["where"]=> array(6) { [0]=> string(30) "(i18n_ec.slug = 'flat-racing')" [1]=> string(79) "AND (e.pressexclusive = 0 OR (e.pressexclusive = 1 AND e.embargo_end < NOW()))" [2]=> string(27) "AND (i18n_e.lang = 'en-us')" [3]=> string(21) "AND (e.published = 1)" [4]=> string(28) "AND (i18n_ec.lang = 'en-us')" [5]=> string(22) "AND (ec.published = 1)" } ["group"]=> array(0) { } ["having"]=> array(0) { } ["order"]=> array(1) { [0]=> array(2) { [0]=> string(10) "start_date" [1]=> string(4) "DESC" } } ["limitcount"]=> NULL ["limitoffset"]=> NULL ["forupdate"]=> bool(false) } ["_tableCols":protected]=> array(0) { } } } } [4]=> array(6) { ["file"]=> string(37) "/app/www/application/models/Event.php" ["line"]=> int(84) ["function"]=> string(5) "query" ["class"]=> string(14) "Zend_Db_Select" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(6) { ["file"]=> string(52) "/app/www/application/controllers/EventController.php" ["line"]=> int(64) ["function"]=> string(13) "selectListing" ["class"]=> string(11) "Model_Event" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(5) "en-us" [1]=> array(3) { ["category"]=> string(11) "flat-racing" ["month"]=> string(3) "all" ["year"]=> string(3) "all" } [2]=> bool(false) } } [6]=> array(6) { ["file"]=> string(43) "/app/www/library/Zend/Controller/Action.php" ["line"]=> int(516) ["function"]=> string(11) "indexAction" ["class"]=> string(15) "EventController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [7]=> array(6) { ["file"]=> string(56) "/app/www/library/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(295) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(11) "indexAction" } } [8]=> array(6) { ["file"]=> string(42) "/app/www/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)#25 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(27) "/events/flat-racing/all/all" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(27) "/events/flat-racing/all/all" ["_params":protected]=> array(10) { ["controller"]=> string(5) "event" ["action"]=> string(5) "index" ["all"]=> string(3) "all" ["module"]=> string(7) "default" ["category"]=> string(11) "flat-racing" ["month"]=> string(3) "all" ["year"]=> string(3) "all" ["lang"]=> string(5) "en-us" ["crosstrads"]=> string(6) "events" ["error_handler"]=> *RECURSION* } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(5) "error" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "error" ["_actionKey":protected]=> string(6) "action" } [1]=> object(Zend_Controller_Response_Http)#112 (8) { ["_body":protected]=> array(0) { } ["_exceptions":protected]=> array(1) { [0]=> *RECURSION* } ["_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(57) "/app/www/library/Zend/Application/Bootstrap/Bootstrap.php" ["line"]=> int(97) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [10]=> array(6) { ["file"]=> string(37) "/app/www/library/Zend/Application.php" ["line"]=> int(366) ["function"]=> string(3) "run" ["class"]=> string(36) "Zend_Application_Bootstrap_Bootstrap" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [11]=> array(6) { ["file"]=> string(22) "/app/www/www/index.php" ["line"]=> int(31) ["function"]=> string(3) "run" ["class"]=> string(16) "Zend_Application" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> object(PDOException)#134 (8) { ["message":protected]=> string(84) "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ecs.id_event' in 'on clause'" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42S22" ["file":protected]=> string(42) "/app/www/library/Zend/Db/Statement/Pdo.php" ["line":protected]=> int(228) ["trace":"Exception":private]=> array(13) { [0]=> array(6) { ["file"]=> string(42) "/app/www/library/Zend/Db/Statement/Pdo.php" ["line"]=> int(228) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [1]=> array(6) { ["file"]=> string(38) "/app/www/library/Zend/Db/Statement.php" ["line"]=> int(320) ["function"]=> string(8) "_execute" ["class"]=> string(21) "Zend_Db_Statement_Pdo" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [2]=> array(6) { ["file"]=> string(45) "/app/www/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) { } } } [3]=> array(6) { ["file"]=> string(49) "/app/www/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(1082) "SELECT `e`.*, `i18n_e`.`lang`, `i18n_e`.`event_id`, `i18n_e`.`title`, `i18n_e`.`excerpt`, `i18n_e`.`description`, `i18n_e`.`img`, `i18n_e`.`alt`, `i18n_e`.`list_img`, `i18n_e`.`list_alt`, `i18n_e`.`related_img`, `i18n_e`.`related_alt`, `i18n_e`.`cover_img`, `i18n_e`.`cover_alt`, `i18n_e`.`slug`, `i18n_e`.`meta_title`, `i18n_e`.`meta_desc`, `i18n_e`.`share_title`, `i18n_e`.`share_desc`, `i18n_e`.`share_img`, `i18n_e`.`twitter_text`, `ec`.`id` AS `event_category_id`, `i18n_ec`.`title` AS `category_title`, `i18n_ec`.`slug` AS `category_slug` FROM `event` AS `e` INNER JOIN `i18n_event` AS `i18n_e` ON e.id = i18n_e.event_id RIGHT JOIN `event_categories` AS `c` ON e.id = ecs.id_event INNER JOIN `event_category` AS `ec` ON ecs.id_category = ec.id INNER JOIN `i18n_event_category` AS `i18n_ec` ON ec.id = i18n_ec.event_category_id WHERE (i18n_ec.slug = 'flat-racing') AND (e.pressexclusive = 0 OR (e.pressexclusive = 1 AND e.embargo_end < NOW())) AND (i18n_e.lang = 'en-us') AND (e.published = 1) AND (i18n_ec.lang = 'en-us') AND (ec.published = 1) ORDER BY `start_date` DESC" [1]=> array(0) { } } } [4]=> array(6) { ["file"]=> string(35) "/app/www/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)#128 (4) { ["_bind":protected]=> array(0) { } ["_adapter":protected]=> object(Zend_Db_Adapter_Pdo_Mysql)#28 (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(17) "database.internal" ["username"]=> string(4) "user" ["password"]=> string(0) "" ["dbname"]=> string(4) "main" ["charset"]=> string(4) "UTF8" ["persistent"]=> bool(false) ["options"]=> array(3) { ["caseFolding"]=> int(0) ["autoQuoteIdentifiers"]=> bool(true) ["fetchMode"]=> int(2) } ["driver_options"]=> array(1) { [1002]=> string(16) "SET NAMES 'UTF8'" } } ["_fetchMode":protected]=> int(2) ["_profiler":protected]=> object(Zend_Db_Profiler)#29 (4) { ["_queryProfiles":protected]=> array(8) { [0]=> object(Zend_Db_Profiler_Query)#34 (5) { ["_query":protected]=> string(7) "connect" ["_queryType":protected]=> int(1) ["_startedMicrotime":protected]=> float(1675033978.2066) ["_endedMicrotime":protected]=> float(1675033978.2094) ["_boundParams":protected]=> array(0) { } } [1]=> object(Zend_Db_Profiler_Query)#38 (5) { ["_query":protected]=> string(55) "SELECT `u`.* FROM `url` AS `u` WHERE (u.lang = 'en-us')" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2095) ["_endedMicrotime":protected]=> float(1675033978.2099) ["_boundParams":protected]=> array(0) { } } [2]=> object(Zend_Db_Profiler_Query)#126 (5) { ["_query":protected]=> string(55) "SELECT `u`.* FROM `url` AS `u` WHERE (u.lang = 'en-us')" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.216) ["_endedMicrotime":protected]=> float(1675033978.2168) ["_boundParams":protected]=> array(0) { } } [3]=> object(Zend_Db_Profiler_Query)#129 (5) { ["_query":protected]=> string(426) "SELECT `p`.*, `i18n_p`.`lang`, `i18n_p`.`page_id`, `i18n_p`.`img`, `i18n_p`.`alt`, `i18n_p`.`title`, `i18n_p`.`description`, `i18n_p`.`meta_title`, `i18n_p`.`meta_desc`, `i18n_p`.`share_title`, `i18n_p`.`share_desc`, `i18n_p`.`share_img`, `i18n_p`.`twitter_text` FROM `page` AS `p` INNER JOIN `i18n_page` AS `i18n_p` ON p.id = i18n_p.page_id WHERE (p.slug = 'events') AND (i18n_p.lang = 'en-us') AND (p.published = 1) LIMIT 1" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2189) ["_endedMicrotime":protected]=> float(1675033978.2196) ["_boundParams":protected]=> array(0) { } } [4]=> object(Zend_Db_Profiler_Query)#130 (5) { ["_query":protected]=> string(424) "SELECT `p`.*, `i18n_p`.`lang`, `i18n_p`.`page_id`, `i18n_p`.`img`, `i18n_p`.`alt`, `i18n_p`.`title`, `i18n_p`.`description`, `i18n_p`.`meta_title`, `i18n_p`.`meta_desc`, `i18n_p`.`share_title`, `i18n_p`.`share_desc`, `i18n_p`.`share_img`, `i18n_p`.`twitter_text` FROM `page` AS `p` INNER JOIN `i18n_page` AS `i18n_p` ON p.id = i18n_p.page_id WHERE (p.slug = 'home') AND (i18n_p.lang = 'en-us') AND (p.published = 1) LIMIT 1" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2197) ["_endedMicrotime":protected]=> float(1675033978.2201) ["_boundParams":protected]=> array(0) { } } [5]=> object(Zend_Db_Profiler_Query)#131 (5) { ["_query":protected]=> string(323) "SELECT `ec`.`id`, `ec`.`id_parent`, `ec`.`position`, `ec`.`published`, `i18n_ec`.`lang`, `i18n_ec`.`event_category_id`, `i18n_ec`.`title`, `i18n_ec`.`slug` FROM `event_category` AS `ec` INNER JOIN `i18n_event_category` AS `i18n_ec` ON ec.id = i18n_ec.event_category_id WHERE (i18n_ec.lang = 'en-us') AND (ec.published = 1)" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2202) ["_endedMicrotime":protected]=> float(1675033978.2206) ["_boundParams":protected]=> array(0) { } } [6]=> object(Zend_Db_Profiler_Query)#133 (5) { ["_query":protected]=> string(323) "SELECT `ec`.`id`, `ec`.`id_parent`, `ec`.`position`, `ec`.`published`, `i18n_ec`.`lang`, `i18n_ec`.`event_category_id`, `i18n_ec`.`title`, `i18n_ec`.`slug` FROM `event_category` AS `ec` INNER JOIN `i18n_event_category` AS `i18n_ec` ON ec.id = i18n_ec.event_category_id WHERE (i18n_ec.lang = 'en-us') AND (ec.published = 1)" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2207) ["_endedMicrotime":protected]=> float(1675033978.2211) ["_boundParams":protected]=> array(0) { } } [7]=> object(Zend_Db_Profiler_Query)#132 (5) { ["_query":protected]=> string(1082) "SELECT `e`.*, `i18n_e`.`lang`, `i18n_e`.`event_id`, `i18n_e`.`title`, `i18n_e`.`excerpt`, `i18n_e`.`description`, `i18n_e`.`img`, `i18n_e`.`alt`, `i18n_e`.`list_img`, `i18n_e`.`list_alt`, `i18n_e`.`related_img`, `i18n_e`.`related_alt`, `i18n_e`.`cover_img`, `i18n_e`.`cover_alt`, `i18n_e`.`slug`, `i18n_e`.`meta_title`, `i18n_e`.`meta_desc`, `i18n_e`.`share_title`, `i18n_e`.`share_desc`, `i18n_e`.`share_img`, `i18n_e`.`twitter_text`, `ec`.`id` AS `event_category_id`, `i18n_ec`.`title` AS `category_title`, `i18n_ec`.`slug` AS `category_slug` FROM `event` AS `e` INNER JOIN `i18n_event` AS `i18n_e` ON e.id = i18n_e.event_id RIGHT JOIN `event_categories` AS `c` ON e.id = ecs.id_event INNER JOIN `event_category` AS `ec` ON ecs.id_category = ec.id INNER JOIN `i18n_event_category` AS `i18n_ec` ON ec.id = i18n_ec.event_category_id WHERE (i18n_ec.slug = 'flat-racing') AND (e.pressexclusive = 0 OR (e.pressexclusive = 1 AND e.embargo_end < NOW())) AND (i18n_e.lang = 'en-us') AND (e.published = 1) AND (i18n_ec.lang = 'en-us') AND (ec.published = 1) ORDER BY `start_date` DESC" ["_queryType":protected]=> int(32) ["_startedMicrotime":protected]=> float(1675033978.2213) ["_endedMicrotime":protected]=> NULL ["_boundParams":protected]=> array(0) { } } } ["_enabled":protected]=> bool(true) ["_filterElapsedSecs":protected]=> NULL ["_filterTypes":protected]=> NULL } ["_defaultProfilerClass":protected]=> string(16) "Zend_Db_Profiler" ["_connection":protected]=> object(PDO)#35 (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(24) { [0]=> array(3) { [0]=> string(1) "e" [1]=> string(1) "*" [2]=> NULL } [1]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(4) "lang" [2]=> string(4) "lang" } [2]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(8) "event_id" [2]=> string(8) "event_id" } [3]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(5) "title" [2]=> string(5) "title" } [4]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(7) "excerpt" [2]=> string(7) "excerpt" } [5]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(11) "description" [2]=> string(11) "description" } [6]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(3) "img" [2]=> string(3) "img" } [7]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(3) "alt" [2]=> string(3) "alt" } [8]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(8) "list_img" [2]=> string(8) "list_img" } [9]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(8) "list_alt" [2]=> string(8) "list_alt" } [10]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(11) "related_img" [2]=> string(11) "related_img" } [11]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(11) "related_alt" [2]=> string(11) "related_alt" } [12]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(9) "cover_img" [2]=> string(9) "cover_img" } [13]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(9) "cover_alt" [2]=> string(9) "cover_alt" } [14]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(4) "slug" [2]=> string(4) "slug" } [15]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(10) "meta_title" [2]=> string(10) "meta_title" } [16]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(9) "meta_desc" [2]=> string(9) "meta_desc" } [17]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(11) "share_title" [2]=> string(11) "share_title" } [18]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(10) "share_desc" [2]=> string(10) "share_desc" } [19]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(9) "share_img" [2]=> string(9) "share_img" } [20]=> array(3) { [0]=> string(6) "i18n_e" [1]=> string(12) "twitter_text" [2]=> string(12) "twitter_text" } [21]=> array(3) { [0]=> string(2) "ec" [1]=> string(2) "id" [2]=> string(17) "event_category_id" } [22]=> array(3) { [0]=> string(7) "i18n_ec" [1]=> string(5) "title" [2]=> string(14) "category_title" } [23]=> array(3) { [0]=> string(7) "i18n_ec" [1]=> string(4) "slug" [2]=> string(13) "category_slug" } } ["union"]=> array(0) { } ["from"]=> array(5) { ["e"]=> array(4) { ["joinType"]=> string(4) "from" ["schema"]=> NULL ["tableName"]=> string(5) "event" ["joinCondition"]=> NULL } ["i18n_e"]=> array(4) { ["joinType"]=> string(10) "inner join" ["schema"]=> NULL ["tableName"]=> string(10) "i18n_event" ["joinCondition"]=> string(22) "e.id = i18n_e.event_id" } ["c"]=> array(4) { ["joinType"]=> string(10) "right join" ["schema"]=> NULL ["tableName"]=> string(16) "event_categories" ["joinCondition"]=> string(19) "e.id = ecs.id_event" } ["ec"]=> array(4) { ["joinType"]=> string(10) "inner join" ["schema"]=> NULL ["tableName"]=> string(14) "event_category" ["joinCondition"]=> string(23) "ecs.id_category = ec.id" } ["i18n_ec"]=> array(4) { ["joinType"]=> string(10) "inner join" ["schema"]=> NULL ["tableName"]=> string(19) "i18n_event_category" ["joinCondition"]=> string(33) "ec.id = i18n_ec.event_category_id" } } ["where"]=> array(6) { [0]=> string(30) "(i18n_ec.slug = 'flat-racing')" [1]=> string(79) "AND (e.pressexclusive = 0 OR (e.pressexclusive = 1 AND e.embargo_end < NOW()))" [2]=> string(27) "AND (i18n_e.lang = 'en-us')" [3]=> string(21) "AND (e.published = 1)" [4]=> string(28) "AND (i18n_ec.lang = 'en-us')" [5]=> string(22) "AND (ec.published = 1)" } ["group"]=> array(0) { } ["having"]=> array(0) { } ["order"]=> array(1) { [0]=> array(2) { [0]=> string(10) "start_date" [1]=> string(4) "DESC" } } ["limitcount"]=> NULL ["limitoffset"]=> NULL ["forupdate"]=> bool(false) } ["_tableCols":protected]=> array(0) { } } } } [5]=> array(6) { ["file"]=> string(37) "/app/www/application/models/Event.php" ["line"]=> int(84) ["function"]=> string(5) "query" ["class"]=> string(14) "Zend_Db_Select" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [6]=> array(6) { ["file"]=> string(52) "/app/www/application/controllers/EventController.php" ["line"]=> int(64) ["function"]=> string(13) "selectListing" ["class"]=> string(11) "Model_Event" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(5) "en-us" [1]=> array(3) { ["category"]=> string(11) "flat-racing" ["month"]=> string(3) "all" ["year"]=> string(3) "all" } [2]=> bool(false) } } [7]=> array(6) { ["file"]=> string(43) "/app/www/library/Zend/Controller/Action.php" ["line"]=> int(516) ["function"]=> string(11) "indexAction" ["class"]=> string(15) "EventController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [8]=> array(6) { ["file"]=> string(56) "/app/www/library/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(295) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(11) "indexAction" } } [9]=> array(6) { ["file"]=> string(42) "/app/www/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)#25 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(27) "/events/flat-racing/all/all" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(27) "/events/flat-racing/all/all" ["_params":protected]=> array(10) { ["controller"]=> string(5) "event" ["action"]=> string(5) "index" ["all"]=> string(3) "all" ["module"]=> string(7) "default" ["category"]=> string(11) "flat-racing" ["month"]=> string(3) "all" ["year"]=> string(3) "all" ["lang"]=> string(5) "en-us" ["crosstrads"]=> string(6) "events" ["error_handler"]=> *RECURSION* } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(5) "error" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "error" ["_actionKey":protected]=> string(6) "action" } [1]=> object(Zend_Controller_Response_Http)#112 (8) { ["_body":protected]=> array(0) { } ["_exceptions":protected]=> array(1) { [0]=> *RECURSION* } ["_headers":protected]=> array(0) { } ["_headersRaw":protected]=> array(0) { } ["_httpResponseCode":protected]=> int(200) ["_isRedirect":protected]=> bool(false) ["_renderExceptions":protected]=> bool(false) ["headersSentThrowsException"]=> bool(true) } } } [10]=> array(6) { ["file"]=> string(57) "/app/www/library/Zend/Application/Bootstrap/Bootstrap.php" ["line"]=> int(97) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [11]=> array(6) { ["file"]=> string(37) "/app/www/library/Zend/Application.php" ["line"]=> int(366) ["function"]=> string(3) "run" ["class"]=> string(36) "Zend_Application_Bootstrap_Bootstrap" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [12]=> array(6) { ["file"]=> string(22) "/app/www/www/index.php" ["line"]=> int(31) ["function"]=> string(3) "run" ["class"]=> string(16) "Zend_Application" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "42S22" [1]=> int(1054) [2]=> string(44) "Unknown column 'ecs.id_event' in 'on clause'" } } } ["type"]=> string(15) "EXCEPTION_OTHER" ["request"]=> object(Zend_Controller_Request_Http)#125 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(27) "/events/flat-racing/all/all" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(27) "/events/flat-racing/all/all" ["_params":protected]=> array(9) { ["controller"]=> string(5) "event" ["action"]=> string(5) "index" ["all"]=> string(3) "all" ["module"]=> string(7) "default" ["category"]=> string(11) "flat-racing" ["month"]=> string(3) "all" ["year"]=> string(3) "all" ["lang"]=> string(5) "en-us" ["crosstrads"]=> string(6) "events" } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(5) "event" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "index" ["_actionKey":protected]=> string(6) "action" } } }