Fatal error: Uncaught mysqli_sql_exception: 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 ')
ORDER BY `ord` desc, `pubdate_ymdh` desc, `id_topic`, `pubdate` desc' at line 4 in /data/www/kalugaru/data/kaluganew/database/drivers/mysqli/mysqli_driver.php:179
Stack trace:
#0 /data/www/kalugaru/data/kaluganew/database/drivers/mysqli/mysqli_driver.php(179): mysqli_query(Object(mysqli), 'SELECT `news`.`...')
#1 /data/www/kalugaru/data/kaluganew/database/DB_driver.php(456): CI_DB_mysqli_driver->_execute('SELECT `news`.`...')
#2 /data/www/kalugaru/data/kaluganew/database/DB_driver.php(302): CI_DB_driver->simple_query('SELECT `news`.`...')
#3 /data/www/kalugaru/data/kaluganew/database/DB_active_rec.php(966): CI_DB_driver->query('SELECT `news`.`...')
#4 /data/www/kalugaru/data/kaluganew/application/models/mnews.php(472): CI_DB_active_record->get()
#5 /data/www/kalugaru/data/kaluganew/application/controllers/news.php(77): mNews->_getNewsByTopicIdExt(0, 10, 195670)
#6 /data/www/kalugaru/data/kaluganew/application/controllers/news.php(394): News->index()
#7 /data/www/kalugaru/data/kaluganew/application/controllers/common.php(230): News->npage('195670', false)
#8 /data/www/kalugaru/data/kaluganew/core/CodeIgniter.php(325): Common->_remap('npage', Array)
#9 /data/www/kalugaru/kaluganew/index.php(203): require_once('/data/www/kalug...')
#10 {main}
thrown in /data/www/kalugaru/data/kaluganew/database/drivers/mysqli/mysqli_driver.php on line 179