An unexpected error occurred:
MySQL Error: Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'admin_ilch2_source.ilch_visits_stats.date' 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-01-01") GROUP BY WEEKDAY(`date`), `date_year`, `date_month`, `date_full`
                ORDER BY `date` DESC