It's strange, I can't find that error, I'm trying it and it works fine, do you have the 4 golden blocks above?
I think I know what happened, you put some and when dead or loading the game, the puzzle it resets, then you went back to put the missing ones but the door only detects the ones you put after loading, does that make sense? Sorry for all this friend, I'm already working on it, if that were the problem hahahaha