Pancakes that are undercooked in the middle but overcooked on the edges are a result of a pan that’s too hot. The edges burn while the middle remains mushy and raw. Getting the temperature just right is key. Set your stove to medium heat and give your pan enough time to heat evenly. You may have to have a few sacrificial pancakes to ensure the heat is just right.  Then adjust along the way to ensure the pan doesn't get too hot or too cool as you go through the rest of your pancake batter.