HARD TRUTHS
DBERR 2024-03-28 05:37:39
Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'pn13-production.p.ID' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
select date_format (p.post_date, '%Y') as post_year, date_format (p.post_date, '%m') as post_month, count(p.ID) as post_count from wp_posts p left join wp_term_relationships r on (p.ID = r.object_id) left join wp_term_taxonomy xc on (r.term_taxonomy_id = xc.term_taxonomy_id) and (xc.taxonomy = 'category') left join wp_terms tc on (tc.term_id = xc.term_id) where p.post_status = 'publish' and p.post_date >= '2014-02-01' and tc.slug = 'hard-truths' group by post_year,post_month order by p.ID desc
/var/www/html/pn13-production/archives.php:169 newcache()
/var/www/html/pn13-production/wpbase.php:4134 list_monthly_post_links()
/var/www/html/pn13-production/archives.php:63 mquery()
/var/www/html/pn13-production/wpbase.php:584 query_db()