If you have access to the database, maybe figure out what is trying to use the datatype with that id
SELECT * FROM cmsPropertyType WHERE dataTypeId = 1059;
Make sure to use .NET 8 with v13, .NET 9 might work but it’s not recommended.
Not sure if you’re using uSync or something like that, you might not have all your dependencies synced properly.