Hi Nora, not really tbh. What sort of 'solid foods' do you experience this with? I tend to eat soft foods because I woof my food down quicker than a hungry Labrador. But I'd imagine not chewing properly could cause this.
Do you get the pain eating something like pasta in a cream sauce or an omelette? If so how about lasagna (same but with addition of meat and tomatoes). Basically just look for patterns with food.
Is it an acid pain, gassy pain or cramping pain? Does taking Rennie or pepto bismol help? Does the volume of pain affect the erm... Ferocity of the out put
How long after eating do you get the pain? The stomach should empty triggering the colic reflex after about 15- 20 mins the reflex then pushed the food along the colon (in most people) towards the exit. Is the pain before or after the stomach empties
Internal organs don't tend to have pain receptors, and the digestive system is one, you can only really feel visceral pain (a stretching pain like gas). Eating something that would cause skin pain (somatic pain) is usually felt as sickness, or as both sickness and bloat pain.
Do you find it much worse of you eat fatty foods? I guess gall stones would be possible? But that would kick off much worse after a tub of Ice and not so much after a slice of bread?
Or is it acidic foods like the tomatoes, or sweet foods?, Food with fibre?
You could try drinking a lot of fluids (water) quickly to capacity test your stomach (the food you list as safe seem to be eaten in shall volumes).
Hopefully that will give you some understanding of what is causing the issue, if you can work and and resolve the issue soon though, you should really go and see a doctor, but having an understanding of what causes the pain will help the doc with his or her assessment
Hth