Replaced battery so now the solenoid clicks but wont crank on Im thinking a bad wire or connection somewhere
If you can rotate the engine by hand
Get a pair of jumper leads .
Hook one to the battery - then to a good ground on the mower, I like to use the oil drain plug
Turn the key
Engine cranks = bad ground connection
Engine does not crank then put the other lead on the power wire on the starter then touch it to the battery +
engine cranks = starter is good, solenoid or power cables are bad.
Engine does not crank, battery bad, try again with a known good battery like your car
Engine trys to crank but can not, remove the spark plug & repeat
Post they results