DATABASE ERROR:

SELECT i.*, c.title as cat_title
				FROM cms_shop_items i
				LEFT JOIN cms_shop_cats c ON i.category_id = c.id
				WHERE i.id IN()

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 4