Error: Unable to perform query: Select news.PublishingDate, news_types.Name, news.Name, news.Contents, news.Author, news.Source, news.User, news.ItemID, news.PictureID, news.GalleryLink, news.ExpiryDate from news, news_types where news.ProjectID = 1 and news_types.ProjectID = 1 and news.Status = 1 and news_types.Status = 1 and news.Lang = '2' and news_types.Lang = '2' and news.Type = news_types.ItemID AND news.Type like '%' and news.PublishingDate <= '2025-01-18 02:03:45' and news.ExpiryDate < '2025-01-18 02:03:45' and news.ExpiryDate >= news.PublishingDate order by news.PublishingDate desc limit 0, :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 '' at line 1 |