Sorry that I am to late to help.
But, I had the same problem with my STX38.
My problem, was the connection between the clutch and the wiring harness.
It got packed with dirt, since the connection is located under the tractor frame.
I could not clean it enough to work, so I had to replace the connectors.
later
GNN