Ошибка в запросе БД: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'desc LIMIT 0, 50' at line 8 SELECT i.*, COUNT(e.id) as `replies_count`, u.nickname as `user_nickname`, u.is_deleted as `user_is_deleted`, u.avatar as `user_avatar`, IF(online.date_created IS NOT NULL AND TIMESTAMPDIFF(SECOND, online.date_created, NOW()) <= 180, 1, 0) as `is_online` FROM gor_wall_entries i WHERE (i.profile_id = '1') AND (i.parent_id = '0') AND (i.profile_type = 'user') GROUP BY i.id ORDER BY i. desc LIMIT 0, 50 Последние вызовы: cmsCore->runController() @ /index.php : 44
Кто сталкивался? Подскажите что это за ошибка и как ее исправить!