Banned in Bikini Bottom/Stanley S. SquarePants - S5-E20
Continuity mistake: Banned in Bikini Bottom: After the chief of police tells his wife that he's starving he speeds off, and when it cuts to a closeup of the lock and chains, the wood plank directly behind the chains is crossed from upper right to lower left, but in the next shot it's crossed the opposite way. (00:05:40)
Banned in Bikini Bottom/Stanley S. SquarePants - S5-E20
Continuity mistake: Banned in Bikini Bottom: After the police raid the Secret Krusty Krab, Krabs and SpongeBob are both in handcuffs, but when Miss Gristlepuss trips and the Krabby Patty falls into her mouth, both pairs of handcuffs have vanished, then the handcuffs reappear again on Krabs. (00:09:45)
Banned in Bikini Bottom/Stanley S. SquarePants - S5-E20
Continuity mistake: Stanley S. SquarePants: When SpongeBob introduces Squidward to his cousin, Squidward's moai house has a doorknob at the right side of the door, but when Squidward loads the back of the moving truck the doorknob is at the left side of the door. (00:14:15)
Banned in Bikini Bottom/Stanley S. SquarePants - S5-E20
Continuity mistake: Stanley S. SquarePants: When Stanley's first customer tries to place an order Stanley pulls out a camera on a tripod, and in the next shot as Stanley hugs the customer for their first picture, the kitchen door behind them does not have the usual porthole, instead it has an anchor on it just like the door to Krabs' office. (00:19:15)
Banned in Bikini Bottom/Stanley S. SquarePants - S5-E20
Continuity mistake: In Stanley S. Squarepants, when Squidward moves out of the house with all his bags he doesn't shut the door, but when the shot zooms out, it's shut.
Banned in Bikini Bottom/Stanley S. SquarePants - S5-E20
Continuity mistake: In Stanley S. Squarepants, when SpongeBob and Stanley go see Squidward when he's getting the newspaper, both Squidward and the newspaper change position in between shots.
Answer: I believe this is the Season 6 episode "Spongicus".