4 flashes indicates a drain error. As your machine isn't draining, most likely a blockage. If the drain hose is onto a spigot under the sink, check there first. Failing that, drain hose, pump blocked , faulty pump or broken wire(s).
If all of the above are ok, can only be the main electronic...