I had exactly the same thing happen to me a couple of years ago, and it turned out to be the bottom heating element that had lost power! The oven would heat the top just fine but the bottom would come out practically raw, especially things like bread or pizza that need that base heat. Before calling a technician, I first checked that the selector was in the right position (some ovens have options like "bottom only," "top and bottom," etc.) and that there wasn't any food stuck on it blocking air circulation, but in my case none of that worked. In the end I had to replace that heating element and voilà, problem solved! It's a part that wears out over time, especially if you use the oven a lot.