Fixed nextChallenge (no such file) error

WhatsAPI started throwing this error ((nextChallenge.dat) failed to open
stream: No such file or directory) when I implemented trigger_error
inside a try-catch block that init WAPI.