So i have a notorious p0300 code, here is a list of what i have repaired and replaced.

Plugs and plug wires(plugs gapped to .042)
Coil(old one was cracked)
All vacuum lines
Tightened exhaust manifold bolts(4 were finger tight)
One wire on ckp harness was broken at engine harness
Cleaned fuel injectors
Tightened throttle body(2 upper bolts were loose)
Replaced egr valve
Changed timing belt

Now i have found a broken wire on the harness plug that goes to what i think is the knock sensor, compression is 165 across all 4, would that knock sensor wire cause my p0300? Or is it something worse?