WordPress database error: [Expression #1 of ORDER BY clause is not in SELECT list, references column 'wp_cypruscom.wp_posts.post_date' which is not in SELECT list; this is incompatible with DISTINCT]
SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month FROM wp_posts WHERE post_type = 'attachment' ORDER BY post_date DESC /* From [www.cyprus.com/listing/spima-ltd/] in [/nas/content/live/cypruscom/wp-content/plugins/wiloke-listgo-functionality/app/Controllers/AddListingController.php:507] */