No valid database connection Duplicate entry '919' for key 'group_key' SQL=SELECT a.*, COUNT( b.id ) AS numitems, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug FROM jos_categories AS a LEFT JOIN jos_content AS b ON b.catid = a.id AND b.state = 1 AND ( b.publish_up = '0000-00-00 00:00:00' OR b.publish_up <= '2025-01-26 07:17' ) AND ( b.publish_down = '0000-00-00 00:00:00' OR b.publish_down >= '2025-01-26 07:17' ) AND b.access <= 0 WHERE a.section = 3 AND a.published = 1 AND a.access <= 0 GROUP BY a.id HAVING numitems > 0 ORDER BY a.title