@donavabdear , if it is both subs I doubt they are both defective. Here is a trouble shooting sequence that might help:
1) Take one sub to a different room, on a different breaker. Turn the volume down to 0, then plug it in WITHOUT any interconnects plugged in. Turn it up from 0 to max and notice if hum engages. If it does then do same with other sub. If they both hum without any components plugged in it might be an issue on the powerline and I would try the DC Blocker from Audiolab. Amazon has a 30 day return.
2) If you don’t get a hum take it back to your room and try a different cable (XLR/RCA). Repeat as before and if it hums switch cables. If it still hums it might be the connection with your preamp. Try different ports, look at your settings. It might be the sub gain is set too high in your preamp.
3) If all of that fails to find the issue call JL Audio Tech support or maybe another member has some other suggestions.