An unexpected error occurred:
MySQL Error: Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column '' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
in Query: SELECT
                DATE (`date`) `date_full`,
                WEEKDAY(`date`) `date_week`,
                YEAR(`date`) `date_year`,
                MONTH(`date`) `date_month`,
                COUNT(`id`) AS `visits`
                FROM `ilch_visits_stats` WHERE YEAR(`date`) = YEAR("2019-04-01") AND MONTH(`date`) = MONTH("2019-04-01") GROUP BY WEEKDAY(`date`), `date_year`, `date_month`, `date_full`
                ORDER BY `date` DESC