一周热门
30天热门
用户访客
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'k5w.typecho_comments.authorId' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Typecho_Db_Query_Exception: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'k5w.typecho_comments.authorId' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /data/wwwroot/www.k5w.cn/var/Typecho/Db/Adapter/Pdo.php:105
Stack trace:
#0 /data/wwwroot/www.k5w.cn/var/Typecho/Db.php(353): Typecho_Db_Adapter_Pdo->query('SELECT COUNT(`a...', Object(PDO), 1, 'SELECT')
#1 /data/wwwroot/www.k5w.cn/var/Typecho/Db.php(384): Typecho_Db->query(Object(Typecho_Db_Query), 1)
#2 /data/wwwroot/www.k5w.cn/usr/themes/spimes/page-links.php(146): Typecho_Db->fetchAll(Object(Typecho_Db_Query))
#3 /data/wwwroot/www.k5w.cn/var/Widget/Archive.php(2022): require_once('/data/wwwroot/w...')
#4 /data/wwwroot/www.k5w.cn/var/Typecho/Router.php(138): Widget_Archive->render()
#5 /data/wwwroot/www.k5w.cn/index.php(23): Typecho_Router::dispatch()
#6 {main}