Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'title_en' in where clause is ambiguous in \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement\Pdo.php:228
Stack trace:
#0 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute(Array)
#1 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#2 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Adapter\Pdo\Abstract.php(267): Zend_Db_Adapter_Abstract->query('SELECT a.id, a....', Array)
#4 C:\www\ksap\application\services\BeritaService.php(94): Zend_Db_Adapter_Pdo_Abstract->query('SELECT a.id, a....', Array)
#5 C:\www\ksap\application\modules\default\controllers\BeritaEnController.php(24): BeritaService->getEnAllDataByCategory('bksap', 8, 1)
#6 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Action.php(528): BeritaEnController->detailAction()
#7 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('detailAction')
#8 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 \\172.16.30.152\LIBRARIES\libs\Zend\Application\Bootstrap\Bootstrap.php(106): Zend_Controller_Front->dispatch()
#10 \\172.16.30.152\LIBRARIES\libs\Zend\Application.php(400): Zend_Application_Bootstrap_Bootstrap->run()
#11 C:\www\public\index.php(61): Zend_Application->run()
#12 {main}
Next Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'title_en' in where clause is ambiguous, query was: SELECT a.id, a.title_en, a.tanggal_berita, MIN(b.photo) AS src
FROM db_pemberitaan.newsind a
LEFT JOIN db_pemberitaan.photo_per_news b ON a.id = b.id_berita AND b.status = 1
WHERE a.status = 1 AND title_en IS NOT NULL AND a.category = ?
GROUP BY a.id, a.title_en, a.tanggal_berita
ORDER BY a.tanggal_berita DESC
LIMIT 1, 8; in \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement\Pdo.php:235
Stack trace:
#0 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Adapter\Pdo\Abstract.php(267): Zend_Db_Adapter_Abstract->query('SELECT a.id, a....', Array)
#3 C:\www\ksap\application\services\BeritaService.php(94): Zend_Db_Adapter_Pdo_Abstract->query('SELECT a.id, a....', Array)
#4 C:\www\ksap\application\modules\default\controllers\BeritaEnController.php(24): BeritaService->getEnAllDataByCategory('bksap', 8, 1)
#5 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Action.php(528): BeritaEnController->detailAction()
#6 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('detailAction')
#7 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 \\172.16.30.152\LIBRARIES\libs\Zend\Application\Bootstrap\Bootstrap.php(106): Zend_Controller_Front->dispatch()
#9 \\172.16.30.152\LIBRARIES\libs\Zend\Application.php(400): Zend_Application_Bootstrap_Bootstrap->run()
#10 C:\www\public\index.php(61): Zend_Application->run()
#11 {main}
thrown in \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement\Pdo.php on line 235