If membership status is 'Cancelled' get 'Lifetime' error message when trying to renew
I wrote a patch for this bug some time ago - but I didn't find time to follow up and improve it the way my reviewers requested.  If you feel comfortable applying this though, it will solve your problem for now.