Depending on what system you are and what you might have accidentally deleted, you might get a sort of shadow next to the plank.
There is an easy fix for that in the “Window Manager Tweaks“.
Make sure that “Show shadows under dock windows” is off in the compositor tab.