Currently when you open the Toornament tab after the filetime of the token has expired, there will be no tournaments to select from. That's because when the token is grabbed from the API (instead of a file) the body of the response is not decoded from JSON so $this->token['access_token'] is trying to index a string.
Currently when you open the Toornament tab after the filetime of the token has expired, there will be no tournaments to select from. That's because when the token is grabbed from the API (instead of a file) the body of the response is not decoded from JSON so
$this->token['access_token']
is trying to index a string.