One of those plot holes was the two-way mirror shard that appears in Harry Potter and the Deathly Hallows Part 1 and Part 2.
While the Harry Potter films do have several unnecessary discrepancies, they also enhance the narrative in several ways.