No conveyance, devise, dedication, gift, grant or bequest hereafter made for any of the uses set forth in the preceding section shall fail or be declared void for insufficient designation of the beneficiaries in, or the objects of, any trust annexed to such conveyance, devise, dedication, gift, grant, or bequest, or for any failure to name or appoint a trustee for the execution of the trust; but such conveyance, devise, dedication, gift, grant, or bequest shall be valid; and whenever the objects of any such trust shall be undefined, or be so uncertain as not to admit of specific enforcement, or literal execution, or no trustee shall have been named or appointed to execute the trust, or there is no trustee or trustees in existence having authority to take the property, a suit in chancery may be instituted, by any party interested, in the circuit court of the county where the trust subject, or any part thereof is, in the case of a conveyance, dedication, gift or grant, or in which the will was probated, in the case of a devise or bequest, for the appointment or designation of a trustee or trustees to execute the trust, or for the designation of the beneficiaries in, or the objects of, any such trust, or, where such trust does not admit of specific enforcement or literal execution, for the carrying into effect as near as may be the intent and purposes of the person creating such trust; and thereupon such court shall have full power to appoint or designate a trustee or trustees to execute the trust, or to designate the beneficiaries in, or the objects of, any such trust, or where such trust does not admit of specific enforcement or literal execution, to carry into effect as near as may be the intent and purposes of the person creating such trust.