In the Fantastic Beasts: The Crimes of Grindelwald movie, there is a scene between Newt & Leta in their Hogwarts years. There we can see the famous whoomping willow.
But according to Remus Lupin the willow was planted to guard the entrance to the shrieking shack. According to Harry Potter wikia, it was planted in 1971. Doesn't that create a continuity error in the wizarding universe?