Well there's certainly nothing jumping out at me, but the board could be absolutely fine so we need to find out if that switch is faulty or if you have a dodgy joint which isn't making the required connection. We know for a fact that something must be wrong with the switch or else you would get a bypass signal.
In this pic is really looks like the "4" wire is going to the "4" lug, and the "5" wire is going to the "5" lug.
If that definitely not the case? If it isn't then you must have a problem with your stomp switch, either as far as the internal contacts are concerned, or with a bad joint that isn't performing as intended. If I were doing this then I'd reflow all the solder on the switch (and sockets) to make sure you have good joints, and if that didn't work I'd cut out the switch so I could prove that the circuit is working and test the switch with a multimeter to confirm a broken contact.