Режим отладки:
Ошибка в запросе БД:
Повторяющаяся таблица/псевдоним 'r'
SELECT COUNT(i.id) as count FROM cms_con_placesnews i
INNER JOIN cms_content_relations_bind as r ON r.parent_ctype_id = 11 AND r.parent_item_id = 14 AND r.child_ctype_id = 14 AND r.child_item_id = i.id
INNER JOIN cms_content_relations_bind as r ON r.parent_ctype_id = 11 AND r.parent_item_id = 14 AND r.child_ctype_id = 17 AND r.child_item_id = i.id WHERE (i.is_private = '0') AND (i.is_approved = '1') AND (i.is_deleted IS NULL) AND (i.is_pub = '1')
В чём тут проблема?