Database Error

Query: "SELECT p.id as id, count(pe.id) as petoplam, pe.seflink as yazarseflink, pe.name as yazar FROM users as pe JOIN product as p ON p.people = pe.id WHERE p.deleted = '0' AND p.status = '0' AND (pe.name LIKE '%Merve Emine Şerbetçi%' OR pe.seflink LIKE '%Merve Emine Şerbetçi%') GROUP BY pe.id ORDER BY pe.name DESC"

Error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'daireiki_p2020.p.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by