The gamerule doMobSpawning set to false, however, zombies will still spawn near a villager. The gamerule doDaylightCycle was set to false as well, and the issue occurred when changing the time manually from noon (and day) to midnight. The problem happened more than once when changing the time, however, once the zombie cap was reached and they were killed, no more spawned. Only a new night would make more zombies spawn. The world is a redstone ready superflat preset with only 1 villager present.
Thank you for your report!
We're actually already tracking this issue at MC-113968, so we will resolve and link this ticket as a Duplicate.
:info: This issue is fixed starting from 1.14.4 pre-release 1.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki