Ошибка в SQL-запросе: SELECT DISTINCT one_catalog.*, one_tree.* FROM one_catalog INNER JOIN one_tree ON one_catalog.tree=one_tree.id WHERE site=1 AND one_tree.id IN (4775,4892,4886,4880,4879,4877,4874,4873,4871,4867,4809,4808) AND one_tree.visible=1 ORDER BY available DESC, one_tree.num LIMIT 0,100