Warning: Attempt to read property "spotify_id" on false in /var/www/freelabel.net/application/Model/Integrations/Spotify.php on line 317
Warning: Attempt to read property "name" on false in /var/www/freelabel.net/application/Model/Integrations/Spotify.php on line 317
Fatal error: Uncaught TypeError: SpotifyWebAPI\SpotifyWebAPI::search(): Argument #1 ($query) must be of type string, null given, called in /var/www/freelabel.net/application/Model/Integrations/Spotify.php on line 129 and defined in /var/www/freelabel.net/vendor/jwilsson/spotify-web-api-php/src/SpotifyWebAPI.php:2001
Stack trace:
#0 /var/www/freelabel.net/application/Model/Integrations/Spotify.php(129): SpotifyWebAPI\SpotifyWebAPI->search()
#1 /var/www/freelabel.net/application/Model/Integrations/Spotify.php(317): Model\Integrations\Spotify->getArtistByName()
#2 /var/www/freelabel.net/application/Routers/Content/ProfileController.php(30): Model\Integrations\Spotify->saveArtistIfDoesntExist()
#3 /var/www/freelabel.net/application/Routers/Content/ProfileController.php(9): Routers\Content\ProfileController->loadLayout()
#4 /var/www/freelabel.net/application/Application.php(372): Routers\Content\ProfileController->indexAction()
#5 /var/www/freelabel.net/index.php(53): Application::route()
#6 {main}
thrown in /var/www/freelabel.net/vendor/jwilsson/spotify-web-api-php/src/SpotifyWebAPI.php on line 2001