See How to Delete your Apple ID Account https://support.apple.com/en-us/HT208504. Did your follow these instructions?
Make sure that you sign out of all your devices to avoid issues with apps that use your Apple ID account or iCloud. After your account is deleted, you can't sign out of iCloud or turn off Find My iPhone Activation Lock on your devices. If you forget to sign out, you might not be able to use your device when your account is deleted.
Basically, you may not be able to fix problems occurring after deletion if you did not follow the instruction. And, if this is your problem, then I think you are seeing an "unfiixable. "But, you could try using: What to do before you sell, give away, or trade in your iPhone, iPad, or iPod touch https://support.apple.com/en-us/HT201351.