MYSQL ERROR: 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 '' at line 1
Query: SELECT *, CONCAT(date_date, ' ', date_time) AS datetime,date_format(date_date, '%M %e, %Y ') AS date_show_date , time_format(date_time, '%l:%i %p') AS date_time_show,date_format(last_modified, '%M %e, %Y %l:%i %p') AS last_modified, date_format(date_expire, '%M %e, %Y ') AS date_expire_show FROM ms_calendar LEFT JOIN ms_blog_cats_connect ON ms_calendar.date_id=ms_blog_cats_connect.con_prod LEFT JOIN ms_blog_categories ON ms_calendar.date_cat=ms_blog_categories.cat_id WHERE date_public!='2' AND date_public!='4' AND ((cat_expire_hide='1' AND (date_expire='0000-00-00' OR date_expire>='2022-05-28' )) OR (cat_expire_hide='0')) AND date_type='news' AND cat_password='' AND page_under='0' AND date_cat>'0' AND ( date_cat='127' ) AND CONCAT(date_date, ' ', date_time)<='2022-05-28 20:14:32' AND private<='1' AND reg_person<='0' GROUP BY date_id ORDER BY date_date DESC,date_time DESC LIMIT 0,