Frigidaire Front Load Washer no final spin

Frigidaire Front Load washer does not final spin cycle. Sometimes a few slow spin then shuts off. I replaced the wax motor and this did not fix it. So then I replaced the whole door assembly lock and still did not fix it. It does drain. The washer also has a loud hum. Shows Error Code E47. Any help would be appreciated.