Which Hub(3/4/5) is this ?
Just iPhone have issues or does other WiFi kit work ( TV / Firestick laptop etc ) ?
Might be the Hub has corrupted the WiFi settings.
Connect to the Hub with a network cabled cabled laptop & if needed re-impose the desired WiFi SSID / Password settings.