what are the two errors

I'm sorry, I will need more context or information to identify the two errors you are referring to. Can you please provide more details?