Ukraine passed laws banning the Russian language, which was one of the excuses made by Russia to begin this conflict.
This is totally false.
Ukranian is Ukraine's official language. But Russian was allowed in "courts, schools and other government institutions in areas of Ukraine where the national minorities exceed 10% of the population" when Crimea was invaded [1]. That law was repealed, of course. But Russian was never banned.
Most recently, Ukranian was given primacy in "media, education and business." But again, not even talk of banning Russian in any meaningful sense.
[1] https://en.wikipedia.org/wiki/Language_policy_in_Ukraine