Maybe there's no more space on your screen left?
Mojave adds an extra four icons to your dock: News in the applications section and a new section for recent applications with three more icons.
You can disable the latter in the System Settings which might help if your dock is simply too full and already spans the entire width/height of your display.