Having trouble getting my daughter to eat solids.

For about 3 weeks now I can’t get my daughter to eat anything. She will take 2 bites or so and she won’t take no more. She starts crying every time I try to feed her. She was doing great at eating now she just won’t take anything but her cup. She still drinks so much cause she won’t eat anything. I’ve tried about every kind of baby food & yogurt that’s out there and even tried mashed potatoes and nothing. She drinks about 6oz of formula every 2 hours. Anyone else in the same situation or is it just me?