Cannot Run the Query:

select * from tbl_shop_basket where shop_session_id='j2997cn29mc5ivda4iiql4ck24' group by site_id
as following error is encountered...

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'smgl_eow_com.tbl_shop_basket.shop_product_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by