Zend Framework Default Application

An error occurred

Application error

Exception information:

Message: SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s)

Stack trace:

#0 /usr/local/lib/php/libraryGovernment/Zend/Db/Statement.php(284): Zend_Db_Statement_Pdo->_execute(Array)
#1 /usr/local/lib/php/libraryGovernment/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /usr/local/lib/php/libraryGovernment/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)
#3 /usr/local/lib/php/libraryGovernment/Zend/Db/Adapter/Abstract.php(799): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select), Array)
#4 /usr/local/lib/php/libraryGovernment/govlib/govfunc.php(1790): Zend_Db_Adapter_Abstract->fetchOne(Object(Zend_Db_Select))
#5 /home/saothal/domains/sao-thaluang.go.th/public_html/application/modules/publicwork/controllers/DataController.php(38): govfunc->getTextEditorTitle(1, Array)
#6 /usr/local/lib/php/libraryGovernment/Zend/Controller/Action.php(133): Publicwork_DataController->init()
#7 /usr/local/lib/php/libraryGovernment/Zend/Controller/Dispatcher/Standard.php(262): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array)
#8 /usr/local/lib/php/libraryGovernment/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /usr/local/lib/php/libraryGovernment/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#10 /usr/local/lib/php/libraryGovernment/Zend/Application.php(346): Zend_Application_Bootstrap_Bootstrap->run()
#11 /home/saothal/domains/sao-thaluang.go.th/public_html/public/index.php(30): Zend_Application->run()
#12 {main}  

Request Parameters:

array(7) {
  ["module"]=>
  string(10) "publicwork"
  ["controller"]=>
  string(4) "data"
  ["action"]=>
  string(5) "index"
  ["menu"]=>
  array(2) {
    [0]=>
    string(2) "55"
    [1]=>
    string(2) "44"
  }
  ["public"]=>
  string(6) "person"
  ["data"]=>
  string(5) "chart"
  ["structure_id"]=>
  string(2) "10"
}