Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Database Exceptionyii\db\Exception

SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'careworker_v_2_test.hg_order_evaluation.customer_name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
The SQL being executed was: SELECT distinct(customer_name),created_at,description,tags,LEVEL FROM `hg_order_evaluation` WHERE care_type=4 AND STATUS=0 group by order_id order by created_at desc,LEVEL desc

Error Info: Array
(
    [0] => 42000
    [1] => 1055
    [2] => Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'careworker_v_2_test.hg_order_evaluation.customer_name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
)
$_GET = [
    'type' => '4',
];

$_SESSION = [
    '__flash' => [],
    'showFuyin' => 1,
];