Message: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'dharamsi_cabgurgaon.B.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
#0 /home/dharamsinghmeena/public_html/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/dharamsinghmeena/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home/dharamsinghmeena/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT A. * , B...', Array) #3 /home/dharamsinghmeena/public_html/application/models/DbTable/Viewcars.php(68): Zend_Db_Adapter_Pdo_Abstract->query('SELECT A. * , B...') #4 /home/dharamsinghmeena/public_html/application/controllers/IndexController.php(5568): Application_Model_DbTable_Viewcars->getallViewcarsDiffNew('1 and running_r...', 'per_km_charge') #5 /home/dharamsinghmeena/public_html/library/Zend/Controller/Action.php(513): IndexController->pagesAction() #6 /home/dharamsinghmeena/public_html/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('pagesAction') #7 /home/dharamsinghmeena/public_html/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #8 /home/dharamsinghmeena/public_html/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #9 /home/dharamsinghmeena/public_html/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #10 /home/dharamsinghmeena/public_html/index.php(26): Zend_Application->run() #11 {main}
array ( 'controller' => 'index', 'action' => 'pages', 'id' => '137752', 'source' => 'gurgaon', 'destination' => 'rishikesh', 'cab' => '0', 'page_name' => 'gurgaon-to-rishikesh-taxi', 'page_type' => '1', )