MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mybb.l.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Query:
SELECT *, COUNT(id) AS count FROM mybb_post_likes l LEFT JOIN mybb_posts p ON (l.post_id = p.pid) WHERE p.uid = 4 GROUP BY p.pid ORDER BY l.id DESC LIMIT 0, 1