Warning: Attempt to read property "spotify_id" on bool in /var/www/freelabel.net/public_html/application/Model/Integrations/Spotify.php on line 317
Warning: Attempt to read property "name" on bool in /var/www/freelabel.net/public_html/application/Model/Integrations/Spotify.php on line 317
Fatal error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
in /var/www/freelabel.net/public_html/vendor/jwilsson/spotify-web-api-php/src/Request.php:59
Stack trace:
#0 /var/www/freelabel.net/public_html/vendor/jwilsson/spotify-web-api-php/src/Request.php(243): SpotifyWebAPI\Request->handleResponseError()
#1 /var/www/freelabel.net/public_html/vendor/jwilsson/spotify-web-api-php/src/Request.php(109): SpotifyWebAPI\Request->send()
#2 /var/www/freelabel.net/public_html/vendor/jwilsson/spotify-web-api-php/src/Session.php(285): SpotifyWebAPI\Request->account()
#3 /var/www/freelabel.net/public_html/application/Model/Integrations/Spotify.php(289): SpotifyWebAPI\Session->requestCredentialsToken()
#4 /var/www/freelabel.net/public_html/application/Model/Integrations/Spotify.php(126): Model\Integrations\Spotify->accessToken()
#5 /var/www/freelabel.net/public_html/application/Model/Integrations/Spotify.php(317): Model\Integrations\Spotify->getArtistByName()
#6 /var/www/freelabel.net/public_html/application/Routers/Content/ProfileController.php(30): Model\Integrations\Spotify->saveArtistIfDoesntExist()
#7 /var/www/freelabel.net/public_html/application/Routers/Content/ProfileController.php(9): Routers\Content\ProfileController->loadLayout()
#8 /var/www/freelabel.net/public_html/application/Application.php(372): Routers\Content\ProfileController->indexAction()
#9 /var/www/freelabel.net/public_html/index.php(50): Application::route()
#10 {main}
thrown in /var/www/freelabel.net/public_html/vendor/jwilsson/spotify-web-api-php/src/Request.php on line 59