Washer will not spin on spin cycle

Washer does not spin when it gets to the spin cycle. I could put it on drain and spin and it would work, but now it will not work that way either. We had a repair man out today. He replaced the lid switch and the main control board. It’s still not working.

I’ve been working on the washer some more today. I found out that the washer will spin fine when it is empty. Any suggestions?