Multiple problems since upgrading to 3.1.3 and Windows 11

That is exactly correct. If you are getting this error then your .aup project file is corrupted. To repair it see: Corrupt or Otherwise Broken Audacity Project Recovery