The wardrobe needs to be clear with nothing left on top of it. Or, if the puzzle annoys you, you can also force your death a few times to skip it.