Ошибка в 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 (4523,4735,4737,11010,11245,11244,11011,10984,11252,11251,11250,11012,10985,10986,10988,11246,10990,10989,4736,4748,4718,4717,4684,4683,4645,4577,4576,4575,4574,4548,4547,4546,4545,4544,4539) AND one_catalog.vendor=1554 AND one_tree.visible=1 ORDER BY available DESC, one_tree.num LIMIT 0,100