Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
I'm having this same issue!!
I can't see how this is the solution as, to be honest I can't even get a pokemon to go to sleep. it keeps giving me another error message when I click the wifi and I know its connecting to the wifi