You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just setup the latest version of this API using composer on my CentOS System running PHP 7.2. It works fine on my Windows machine but my Linux machine posts the following errors when I try loading any page with the autoload required.
Notice: Undefined offset: 1 in /var/www/html/vendor/jwilsson/spotify-web-api-php/src/Request.php on line 237
I just setup the latest version of this API using composer on my CentOS System running PHP 7.2. It works fine on my Windows machine but my Linux machine posts the following errors when I try loading any page with the autoload required.
Notice: Undefined offset: 1 in /var/www/html/vendor/jwilsson/spotify-web-api-php/src/Request.php on line 237
Fatal error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: An unknown error occurred. in /var/www/html/vendor/jwilsson/spotify-web-api-php/src/Request.php:57 Stack trace: #0 /var/www/html/vendor/jwilsson/spotify-web-api-php/src/Request.php(254): SpotifyWebAPI\Request->parseBody(NULL, 0) #1 /var/www/html/vendor/jwilsson/spotify-web-api-php/src/Request.php(104): SpotifyWebAPI\Request->send('POST', 'https://account...', 'grant_type=clie...', Array) ....
Any help?
Update: Doing some more investigation it looks like my curl_exec is returning with a false Boolean value.
The text was updated successfully, but these errors were encountered: