Error: SELECT page_id,page_name FROM page_manager as t1 INNER JOIN (link_master as t2) ON (t2.show_under=t1.page_id AND t2.show_in_archive = '1') GROUP BY t1.page_id ORDER BY t1.page_name ASC

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