Is that happening a build or in the editor?
Both errors look like editor errors. Nothing to do with corrupted files.
The first error comes up a bunch if you google it: Failed to insert item messages in build log
What Unity version are you on? Looks like it was fixed a while ago.
The second error might also be fixed up updating editor versions.