TLJ is an objectively bad movie, politics and nostalgia aside. It’s absolutely littered with plot problems.
There are certainly plotting issues, like the entire detour to the gambling planet. But there aren't any major plot holes. (The hyperdrive kamikaze attack is brought up as a big one--but closer examination shows why it isn't a plot problem and why hyperdrive torpedoes aren't a thing in SW. The attack actually fails to destroy its target--it merely slices through it. It only succeeds in causing any sort of meaningful damage because the NR's ship is so massive, which rules it out as a weapon of general use.)
[0]https://www.quora.com/What-are-all-of-the-plot-holes-in-the-...
[1]https://uproxx.com/movies/what-was-lukes-plan-star-wars-retu...
Face it, none of the Star Wars movies are particularly well written.