So, I was using a debug stick on a polished blackstone wall, and the wall was by itself, and when you use a debug stick on it to make the "up" false. It turns the wall invisible, and you can't place anything, it acts as a block that nothing can placed on (and is invisible), but if you attach a wall to it, it appears back.
Duplicate of MC-195313 which was marked as Won't Fix.