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 'AND `gl_entry`.`entry_is_deleted` != '*' AND `gl_entry`.`entry_status` = 4 AND `' at line 1]
SELECT `entry_id`,`entry_site_id`,`entry_author_id`,`entry_title`,`entry_description`,`entry_keywords`,`entry_body`,`entry_body_extended`,`entry_text_filter`,`entry_basename`,`entry_status`,`entry_published_on`,`entry_created_by`,`entry_created_on`,`entry_updated_by`,`entry_updated_on`,`entry_deleted_by`,`entry_deleted_on`,`entry_is_deleted` FROM `gl_entry`, `gl_placement` WHERE (`gl_entry`.`entry_id` = `gl_placement`.`placement_entry_id` AND `gl_placement`.`placement_category_id` = AND `gl_entry`.`entry_is_deleted` != '*' AND `gl_entry`.`entry_status` = 4 AND `gl_entry`.`entry_published_on` < '2021-09-22 21:09:03' AND `gl_entry`.`entry_site_id` = 4 ) GROUP BY `gl_entry`.`entry_id` ORDER BY `gl_entry`.`entry_published_on` desc LIMIT 0, 5