Had the same thing happen to our washer. After taking the top and back off there is a vent hose the comes out the top of the washer drum to the back of the washer. If you use to much soap it will produce quite a bit of suds. During the spin cycle the drum will spin very fast and force the suds out the vent hose bringing quite a bit of water with it onto the floor. Used less soap and did not have the issue any longer.