Ошибка (databaseException): MySQL server has gone away in query: SELECT DISTINCT o.id as id, o.name as name, o.type_id as type_id, o.is_locked as is_locked, o.owner_id as owner_id, o.guid as guid, t.guid as type_guid, o.updatetime as updatetime, o.ord as ord FROM cms3_object_types t, cms3_objects o LEFT JOIN cms3_object_content oc_338_lj ON oc_338_lj.obj_id=o.id AND oc_338_lj.field_id = '338' LEFT JOIN cms3_object_content oc_331_lj ON oc_331_lj.obj_id=o.id AND oc_331_lj.field_id = '331' LEFT JOIN cms3_object_content oc_342_lj ON oc_342_lj.obj_id=o.id AND oc_342_lj.field_id = '342' LEFT JOIN cms3_object_content oc_341_lj ON oc_341_lj.obj_id=o.id AND oc_341_lj.field_id = '341' WHERE t.hierarchy_type_id IN (58) AND t.id = o.type_id AND (oc_338_lj.int_val < '1664904421' AND oc_331_lj.int_val = '1' AND oc_342_lj.rel_val = '472' AND (oc_341_lj.tree_val = '4729' OR oc_341_lj.tree_val IN('0', '1640') OR oc_341_lj.tree_val IS NULL)) ORDER BY RAND() ASC

Показать отладочную информацию