WordPress veritabanı hatası: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY year(post_date), month(post_date), dayofmonth(post_date)' at line 1]
SELECT DISTINCT post_date FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) WHERE 1=1 AND category_id IN (23) AND (post_type = 'post' AND (post_status = 'publish' OR post_status = 'private')) GROUP BY wp_posts.ID GROUP BY year(post_date), month(post_date), dayofmonth(post_date)
Bu hataı bir türlü kaldırmadım eklentileri uyumlu hala getirmeme rağmen.Bir arkadaş aşağıdaki koddan sondaki ikinci parantesi kaldır dedi ancak aşağıdaki kodunda yerini bulamadım.Acaba bunu nasıl çözebilirim fikri olan varmı ?
AND (post_type = 'post' AND (post_status = 'publish'))
çözülmüş