If you add cold yogurt to the mixture, then the mixture will look grainy and curdled after whisking it with the creamed butter+sugar mixture. This is perfectly normal. Please don't panic.