Ошибка в 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 (5239,8338,8337,8336,8335,6261,6111,5309,5308,5307,5306,5305,5304,5303,5302,5301,5300,5299,5297,5294,5293) AND one_catalog.vendor=2256 AND one_tree.visible=1 ORDER BY available DESC, one_tree.num LIMIT 0,100