Sour cream: Plain Greek yogurt makes a good substitute.
Flour: To properly measure the flour either weigh it or sift or stir to break it up, lightly spoon into a measuring cup, and level. Avoid packing the flour as that will give you heavy, dry cake.