Pre 1999 Yoda: Spiritual guru living in harmony with nature.
Post 1999 Yoda: Deadbeat father and military leader of a child-kidnapping cult who advocates for book burning.
I don’t think it is a contradiction, rather just character development. That is, Yoda became what he was before 1999 because he learned from the mistakes he made in post-1999 media. For example: yes, in Empire Strikes Back he says that war makes no one great. But why he says that? Because he made a lot of mistakes, and by participating in the Clone Wars he learned first hand that war his shit and makes no one great.