The batter may have been too loose. The batter should be thick so it can hold up to the weight of the pears. Your measurement of flour may have been off by a bit. Also, make sure the pear slices are not cut too thickly.