object(ArrayObject)#114 (1) { ["storage":"ArrayObject":private]=> array(3) { ["exception"]=> object(Zend_Db_Statement_Exception)#115 (8) { ["_previous":"Zend_Exception":private]=> NULL ["message":protected]=> string(251) "SQLSTATE[42000]: Syntax error or access violation: 1064 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 tbl.group_by = "gallery" ORDER BY tbl.ord ASC' at line 1" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(42000) ["file":protected]=> string(58) "/var/www/www.haliotis.pt/library/Zend/Db/Statement/Pdo.php" ["line":protected]=> int(234) ["trace":"Exception":private]=> array(12) { [0]=> array(5) { ["file"]=> string(54) "/var/www/www.haliotis.pt/library/Zend/Db/Statement.php" ["line"]=> int(300) ["function"]=> string(8) "_execute" ["class"]=> string(21) "Zend_Db_Statement_Pdo" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(61) "/var/www/www.haliotis.pt/library/Zend/Db/Adapter/Abstract.php" ["line"]=> int(479) ["function"]=> string(7) "execute" ["class"]=> string(17) "Zend_Db_Statement" ["type"]=> string(2) "->" } [2]=> array(5) { ["file"]=> string(65) "/var/www/www.haliotis.pt/library/Zend/Db/Adapter/Pdo/Abstract.php" ["line"]=> int(238) ["function"]=> string(5) "query" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" } [3]=> array(5) { ["file"]=> string(61) "/var/www/www.haliotis.pt/library/Zend/Db/Adapter/Abstract.php" ["line"]=> int(734) ["function"]=> string(5) "query" ["class"]=> string(28) "Zend_Db_Adapter_Pdo_Abstract" ["type"]=> string(2) "->" } [4]=> array(5) { ["file"]=> string(52) "/var/www/www.haliotis.pt/application/models/Base.php" ["line"]=> int(217) ["function"]=> string(8) "fetchAll" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" } [5]=> array(5) { ["file"]=> string(84) "/var/www/www.haliotis.pt/application/modules/default/controllers/PagesController.php" ["line"]=> int(77) ["function"]=> string(15) "getTranslations" ["class"]=> string(23) "Application_Models_Base" ["type"]=> string(2) "->" } [6]=> array(5) { ["file"]=> string(59) "/var/www/www.haliotis.pt/library/Zend/Controller/Action.php" ["line"]=> int(513) ["function"]=> string(11) "indexAction" ["class"]=> string(15) "PagesController" ["type"]=> string(2) "->" } [7]=> array(5) { ["file"]=> string(72) "/var/www/www.haliotis.pt/library/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(295) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" } [8]=> array(5) { ["file"]=> string(58) "/var/www/www.haliotis.pt/library/Zend/Controller/Front.php" ["line"]=> int(954) ["function"]=> string(8) "dispatch" ["class"]=> string(35) "Zend_Controller_Dispatcher_Standard" ["type"]=> string(2) "->" } [9]=> array(5) { ["file"]=> string(73) "/var/www/www.haliotis.pt/library/Zend/Application/Bootstrap/Bootstrap.php" ["line"]=> int(97) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" } [10]=> array(5) { ["file"]=> string(53) "/var/www/www.haliotis.pt/library/Zend/Application.php" ["line"]=> int(366) ["function"]=> string(3) "run" ["class"]=> string(36) "Zend_Application_Bootstrap_Bootstrap" ["type"]=> string(2) "->" } [11]=> array(5) { ["file"]=> string(38) "/var/www/www.haliotis.pt/www/index.php" ["line"]=> int(125) ["function"]=> string(3) "run" ["class"]=> string(16) "Zend_Application" ["type"]=> string(2) "->" } } ["previous":"Exception":private]=> object(PDOException)#112 (8) { ["message":protected]=> string(251) "SQLSTATE[42000]: Syntax error or access violation: 1064 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 tbl.group_by = "gallery" ORDER BY tbl.ord ASC' at line 1" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(58) "/var/www/www.haliotis.pt/library/Zend/Db/Statement/Pdo.php" ["line":protected]=> int(228) ["trace":"Exception":private]=> array(13) { [0]=> array(5) { ["file"]=> string(58) "/var/www/www.haliotis.pt/library/Zend/Db/Statement/Pdo.php" ["line"]=> int(228) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(54) "/var/www/www.haliotis.pt/library/Zend/Db/Statement.php" ["line"]=> int(300) ["function"]=> string(8) "_execute" ["class"]=> string(21) "Zend_Db_Statement_Pdo" ["type"]=> string(2) "->" } [2]=> array(5) { ["file"]=> string(61) "/var/www/www.haliotis.pt/library/Zend/Db/Adapter/Abstract.php" ["line"]=> int(479) ["function"]=> string(7) "execute" ["class"]=> string(17) "Zend_Db_Statement" ["type"]=> string(2) "->" } [3]=> array(5) { ["file"]=> string(65) "/var/www/www.haliotis.pt/library/Zend/Db/Adapter/Pdo/Abstract.php" ["line"]=> int(238) ["function"]=> string(5) "query" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" } [4]=> array(5) { ["file"]=> string(61) "/var/www/www.haliotis.pt/library/Zend/Db/Adapter/Abstract.php" ["line"]=> int(734) ["function"]=> string(5) "query" ["class"]=> string(28) "Zend_Db_Adapter_Pdo_Abstract" ["type"]=> string(2) "->" } [5]=> array(5) { ["file"]=> string(52) "/var/www/www.haliotis.pt/application/models/Base.php" ["line"]=> int(217) ["function"]=> string(8) "fetchAll" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" } [6]=> array(5) { ["file"]=> string(84) "/var/www/www.haliotis.pt/application/modules/default/controllers/PagesController.php" ["line"]=> int(77) ["function"]=> string(15) "getTranslations" ["class"]=> string(23) "Application_Models_Base" ["type"]=> string(2) "->" } [7]=> array(5) { ["file"]=> string(59) "/var/www/www.haliotis.pt/library/Zend/Controller/Action.php" ["line"]=> int(513) ["function"]=> string(11) "indexAction" ["class"]=> string(15) "PagesController" ["type"]=> string(2) "->" } [8]=> array(5) { ["file"]=> string(72) "/var/www/www.haliotis.pt/library/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(295) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" } [9]=> array(5) { ["file"]=> string(58) "/var/www/www.haliotis.pt/library/Zend/Controller/Front.php" ["line"]=> int(954) ["function"]=> string(8) "dispatch" ["class"]=> string(35) "Zend_Controller_Dispatcher_Standard" ["type"]=> string(2) "->" } [10]=> array(5) { ["file"]=> string(73) "/var/www/www.haliotis.pt/library/Zend/Application/Bootstrap/Bootstrap.php" ["line"]=> int(97) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" } [11]=> array(5) { ["file"]=> string(53) "/var/www/www.haliotis.pt/library/Zend/Application.php" ["line"]=> int(366) ["function"]=> string(3) "run" ["class"]=> string(36) "Zend_Application_Bootstrap_Bootstrap" ["type"]=> string(2) "->" } [12]=> array(5) { ["file"]=> string(38) "/var/www/www.haliotis.pt/www/index.php" ["line"]=> int(125) ["function"]=> string(3) "run" ["class"]=> string(16) "Zend_Application" ["type"]=> string(2) "->" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "42000" [1]=> int(1064) [2]=> string(195) "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 tbl.group_by = "gallery" ORDER BY tbl.ord ASC' at line 1" } } } ["type"]=> string(15) "EXCEPTION_OTHER" ["request"]=> object(Zend_Controller_Request_Http)#111 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(13) "/es/contacts/" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(13) "/es/contacts/" ["_params":protected]=> array(3) { ["page"]=> string(8) "contacts" ["controller"]=> string(5) "pages" ["action"]=> string(5) "index" } ["_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) "pages" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "index" ["_actionKey":protected]=> string(6) "action" } } }