It is required by law that a husband have to pay the debts of his wife until formal notice is given that he no longer has to pay her.
It seems strange that the wife's debts are not paid TO her.
...until .. he no longer has to pay for her.
...until .. he no longer has to pay her debts.
But Peachey is right, I suspect, too. There is something strange with the "a husband" ... "have"
Perhaps ..." that husbands have to".... or ..."a husband has to ..."