WordPress database error: [Expression #22 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'fritzel_monochrom.swgwp_post2cat.rel_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by]
SELECT DISTINCT * FROM swgwp_posts LEFT JOIN swgwp_post2cat ON (swgwp_posts.ID = swgwp_post2cat.post_id) WHERE 1=1 AND (category_id = 1) AND post_date_gmt <= '2024-04-17 21:47:59' AND (post_status = "publish") GROUP BY swgwp_posts.ID ORDER BY post_date DESC LIMIT 0, 10
WordPress database error: [Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'fritzel_monochrom.swgwp_posts.post_date' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by]
SELECT DISTINCT YEAR(post_date) AS `year`, MONTH(post_date) AS `month`, count(ID) as posts FROM swgwp_posts WHERE post_date < '2024-04-17 23:47:33' AND post_status = 'publish' GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC