ErrorException {#1484
#message: "Undefined property: stdClass::$scope"
#code: 0
#file: "/home/u6476243/public_html/vendor/aerni/laravel-spotify/src/SpotifyAuth.php"
#line: 59
#severity: E_NOTICE
trace: {
/home/u6476243/public_html/vendor/aerni/laravel-spotify/src/SpotifyAuth.php:59 {
Aerni\Spotify\SpotifyAuth->generateAccessToken(): void …
› $this->expirationDate = Carbon::now()->addSeconds($body->expires_in);
› $this->scope = $body->scope;
› }
arguments: {
$level: 8
$message: "Undefined property: stdClass::$scope"
$file: "/home/u6476243/public_html/vendor/aerni/laravel-spotify/src/SpotifyAuth.php"
$line: 59
$context: array:2 [ …2]
}
}
/home/u6476243/public_html/vendor/aerni/laravel-spotify/src/SpotifyAuth.php:71 {
Aerni\Spotify\SpotifyAuth->getAccessToken(): string …
› if (! $this->accessTokenIsSet()) {
› $this->generateAccessToken();
› }
}
/home/u6476243/public_html/vendor/aerni/laravel-spotify/src/Providers/SpotifyServiceProvider.php:32 {
Aerni\Spotify\Providers\SpotifyServiceProvider->Aerni\Spotify\Providers\{closure} …
› $this->app->bind(SpotifyRequest::class, function () {
› $accessToken = $this->app->make(SpotifyAuth::class)->getAccessToken();
›
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:801 {
Illuminate\Container\Container->build($concrete) …
› if ($concrete instanceof Closure) {
› return $concrete($this, $this->getLastParameterOverride());
› }
arguments: {
Illuminate\Foundation\Application {#2 …}
[]
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:687 {
Illuminate\Container\Container->resolve($abstract, $parameters = [], $raiseEvents = true) …
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: Closure() {#103 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:796 {
Illuminate\Foundation\Application->resolve($abstract, $parameters = [], $raiseEvents = true) …
›
› return parent::resolve($abstract, $parameters, $raiseEvents);
› }
arguments: {
$abstract: "Aerni\Spotify\SpotifyRequest"
$parameters: []
$raiseEvents: true
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:633 {
Illuminate\Container\Container->make($abstract, array $parameters = []) …
› {
› return $this->resolve($abstract, $parameters);
› }
arguments: {
$abstract: "Aerni\Spotify\SpotifyRequest"
$parameters: []
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:781 {
Illuminate\Foundation\Application->make($abstract, array $parameters = []) …
›
› return parent::make($abstract, $parameters);
› }
arguments: {
$abstract: "Aerni\Spotify\SpotifyRequest"
$parameters: []
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:119 {
app($abstract = null, array $parameters = []) …
›
› return Container::getInstance()->make($abstract, $parameters);
› }
arguments: {
$abstract: "Aerni\Spotify\SpotifyRequest"
$parameters: []
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:719 {
resolve($name, array $parameters = []) …
› {
› return app($name, $parameters);
› }
arguments: {
$abstract: "Aerni\Spotify\SpotifyRequest"
$parameters: []
}
}
/home/u6476243/public_html/vendor/aerni/laravel-spotify/src/CreateRequestAction.php:26 {
Aerni\Spotify\CreateRequestAction->execute(PendingRequest $pendingRequest): array …
›
› $response = resolve(SpotifyRequest::class)->get($endpoint, $finalParams);
›
arguments: {
$name: "Aerni\Spotify\SpotifyRequest"
}
}
/home/u6476243/public_html/vendor/aerni/laravel-spotify/src/PendingRequest.php:170 {
Aerni\Spotify\PendingRequest->get(string $responseArrayKey = null): array …
›
› return resolve(CreateRequestAction::class)->execute($this);
› }
arguments: {
$pendingRequest: Aerni\Spotify\PendingRequest {#1459 …}
}
}
/home/u6476243/public_html/app/Http/Controllers/HomeController.php:196 {
App\Http\Controllers\HomeController->elearningPodcast() …
› try {
› $spotify = Spotify::showEpisodes(config('services.spotify.show_id'))->get();
› $podcasts = $spotify['items'];
}
App\Http\Controllers\HomeController->elearningPodcast() {}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
Illuminate\Routing\Controller->callAction($method, $parameters) …
› {
› return call_user_func_array([$this, $method], $parameters);
› }
arguments: {
$function_name: array:2 [ …2]
$parameters: []
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {
Illuminate\Routing\ControllerDispatcher->dispatch(Route $route, $controller, $method) …
› if (method_exists($controller, 'callAction')) {
› return $controller->callAction($method, $parameters);
› }
arguments: {
$method: "elearningPodcast"
$parameters: []
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:239 {
Illuminate\Routing\Route->runController() …
› return $this->controllerDispatcher()->dispatch(
› $this, $this->getController(), $this->getControllerMethod()
› );
arguments: {
$route: Illuminate\Routing\Route {#268 …}
$controller: App\Http\Controllers\HomeController {#1407 …}
$method: "elearningPodcast"
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:196 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {
› return $this->runController();
› }
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:685 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(
› $request, $route->run()
› );
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/app/Http/Middleware/Localization.php:22 {
App\Http\Middleware\Localization->handle($request, Closure $next) …
› }
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:76 {
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
› ) {
› return tap($next($request), function ($response) use ($request) {
› if ($this->shouldAddXsrfTokenCookie()) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116 {
Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Request $request, $session, Closure $next) …
›
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:62 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
› } else {
› return $this->handleStatefulRequest($request, $session, $next);
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
$session: Illuminate\Session\Store {#1458 …}
$next: Closure($passable) {#1447 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {
› return $this->encrypt($next($this->decrypt($request)));
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
arguments: {
$destination: Closure($request) {#1442 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
arguments: {
$route: Illuminate\Routing\Route {#268 …}
$request: Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
$route: Illuminate\Routing\Route {#268 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› try {
› return $destination($passable);
› } catch (Throwable $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:37 {
Fruitcake\Cors\HandleCors->handle($request, Closure $next) …
› if (! $this->shouldRun($request)) {
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $carry = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#1395 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#36 …}
}
}
/home/u6476243/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Throwable $e) {
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/home/u6476243/public_html/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
}
}