[error] => Lost connection to MySQL server during query
    [sql] => SELECT id_object_params.*, id_objects.*, COUNT(1) AS rel, id_images.ext AS logoExt,
			(SELECT COUNT(*) FROM id_images WHERE id_images.type='galery' AND id_images.isThumbOf=0 AND as photos,
			(SELECT COUNT(*) FROM id_comments WHERE id_comments.module='objects' AND AND id_comments.status='approved') as comments
			FROM id_object_params
			RIGHT JOIN id_objects ON ( )
			LEFT JOIN id_images ON (
			WHERE id_objects.status<>'disabled' AND ((paramId=36 AND valueId=2826))
			GROUP BY objectId HAVING rel=1
			ORDER BY rating DESC, hits DESC
			LIMIT 0, 10