[#5336] Add logging to figure out why posts can't be deleted