kopokopo / k2-connect-php

MIT License
6 stars 26 forks source link

There is an offset issue in the sdk and also the example app when getting the access token #17

Closed michaelgatuma closed 2 years ago

michaelgatuma commented 2 years ago
$access_token = $response['data']['accessToken'];
// Fatal error: Uncaught TypeError: Cannot access offset of type string on string in C:\Users\Lectron\android_app_projects\k2-connect-php\example\index.php:185 Stack trace: #0 C:\Users\Lectron\android_app_projects\k2-connect-php\example\index.php(462): {closure}() #1 {main} thrown in C:\Users\Lectron\android_app_projects\k2-connect-php\example\index.php on line 185