after login in I recive:
Notice: Undefined variable: getOldTokenFromMemory in **location** Fatal error: Call to a member function getRefreshToken() on null in **location**
when i comment out:
$refresh = $provider->getAccessToken('refresh_token', [ 'refresh_token' => $getOldTokenFromMemory->getRefreshToken(), ]);
then are $guilds, $connections and $user are empty
after login in I recive:
Notice: Undefined variable: getOldTokenFromMemory in **location** Fatal error: Call to a member function getRefreshToken() on null in **location**
when i comment out:
$refresh = $provider->getAccessToken('refresh_token', [ 'refresh_token' => $getOldTokenFromMemory->getRefreshToken(), ]);
then are $guilds, $connections and $user are empty
anyone knows what I do wrong or a fix?