Plot hole

In fiction, a plot hole, plothole or plot error is a gap or inconsistency in a storyline that goes against the flow of logic established by the story's plot. Such inconsistencies include things as illogical, unlikely or impossible events, and statements or events that contradict earlier events in the storyline. 
Plot holes are usually created unintentionally, often a result of editing or the writers' simply forgetting that a new event would contradict the events and not checking. However, the term is also frequently incorrectly applied - for example, a character being intentionally written to take irrational action would not be a plot hole, nor would "loose ends" or unexplained aspects.
References.
 