WordPress database error: [Expression #25 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'hkkhjkaba3iwxal3_WEBSTANDARDS.wsblog_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 wsblog_posts LEFT JOIN wsblog_post2cat ON (wsblog_posts.ID = wsblog_post2cat.post_id) LEFT JOIN wsblog_categories ON (wsblog_post2cat.category_id = wsblog_categories.cat_ID) WHERE 1=1 AND (category_id = '10') AND post_date_gmt <= '2024-07-27 15:10:59' AND (post_status = 'publish') AND post_status != 'attachment' GROUP BY wsblog_posts.ID ORDER BY post_date DESC LIMIT 0, 2