Every mortgage or deed of trust securing a debt on real property in this state which mortgage or deed of trust was placed of record before January 1, 1914, or referred to or described in any instrument of record prior to said date, shall, from and after July 1, 1948, be void as against the creditors of the person making the same or against subsequent purchasers or mortgagees unless the owner and holder thereof shall, prior to such date, cause to be filed in the office of the register of deeds of the county in which the property is located, an affidavit setting forth the name and address of the owner and holder thereof, the nature of the claim, the amount due thereon, the date of the last payment thereon and a description of the property included therein: Provided, That this act shall not apply to or affect (1) mortgages, deeds of trust, or liens upon property of railroad corporations recorded after January 1, 1890, or (2) the indebtedness thereby secured: Provided further, That infancy, incompetency or nonresidence shall not affect the operation of this act.
K.S.A. 58-2332