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