본문 바로가기

exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1140 In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column 'db_hoban.A.SEQNO'; this is incompatible with sql_mode=only_full_group_by' in /var/www/html/lib/lib.php:1328 Stack trace: #0 /var/www/html/lib/lib.php(1328): PDO->prepare('SELECT COUNT(A....') #1 /var/www/html/exhibition/detail.php(36): pdo_query(Object(PDO), 'SELECT COUNT(A....', Array) #2 {main}