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 ca.el1_type="catalog" AND ca.el2_type="content"
ORDER BY' at line 4 SQL=SELECT a.id, jcat.title as group_title, jcat.id as group_id
FROM jos_catalog_artlinks ca JOIN jos_content a ON ca.el2_id=a.id
JOIN jos_categories jcat ON a.catid = jcat.id
WHERE a.state = 1 AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-12-13 02:07:13' ) AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-12-13 02:07:13' ) AND a.state=1 AND ca.el1_id= AND ca.el1_type="catalog" AND ca.el2_type="content"
ORDER BY jcat.id ASC, a.ordering ASCYou 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 ca.el1_type="catalog" AND ca.el2_type="catalog"
ORDER BY' at line 4 SQL=SELECT a.id, jcat.name as group_title, jcat.id as group_id
FROM jos_catalog_artlinks ca JOIN jos_catalog a ON ca.el2_id=a.id
JOIN jos_catalog_fieldset jcat ON a.set_id=jcat.id
WHERE a.published=1 AND ca.el1_id= AND ca.el1_type="catalog" AND ca.el2_type="catalog"
ORDER BY jcat.id ASC, a.ordering ASC