Fyi\Infinitum\Exceptions\InfinitumAPIException {#288
#type: "App\Exceptions\NotFound"
#body: {#270
+"message": "ContentLanguage does not exist"
+"type": "App\Exceptions\NotFound"
+"status": 401
}
#status: 401
#message: "ContentLanguage does not exist"
#code: 401
#file: "/var/www/vhosts/goporto.pt/httpdocs/vendor/fyi/infinitum/src/Http/Rest.php"
#line: 81
trace: {
/var/www/vhosts/goporto.pt/httpdocs/vendor/fyi/infinitum/src/Http/Rest.php:81 {
Fyi\Infinitum\Http\Rest->get(string $path, array $parameters = [], array $requestHeaders = []) …
› } catch (\GuzzleHttp\Exception\ClientException $exc) {
› throw new \Fyi\Infinitum\Exceptions\InfinitumAPIException(json_decode($exc->getResponse()->getBody()->getContents()));
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/fyi/infinitum/src/Modules/Cms.php:554 {
Fyi\Infinitum\Modules\Cms->parseUrl($url, $lang = null, $by = null) …
› }
› $content = $this->rest->get('cms/v4/contents/' . $page["content"] . "?" . $urlParams);
› array_push($this->exclude_contents, $content["id"]);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/fyi/infinitum/src/Modules/Cms.php:53 {
Fyi\Infinitum\Modules\Cms->getTemplate($session_user, $current_url, $device_type = 'web', $lang = null, $inbox_params) …
› $by = "alias";
› $url = $this->parseUrl($current_url, $lang, $by);
›
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/fyi/infinitum/src/Modules/Cms.php:38 {
Fyi\Infinitum\Modules\Cms->getPage($session_user, $current_url, $device_type = 'web', $params = []) …
› \t\t\t}
› return $this->getTemplate($user, $current_url, $device_type, isset($params["lang"]) ? $params["lang"] : 1, isset($params["inbox"]) ? $params["inbox"] : []);
› } catch (\Fyi\Infinitum\Exceptions\InfinitumAPIException $exc) {
}
/var/www/vhosts/goporto.pt/httpdocs/app/Http/Controllers/PageController.php:67 {
App\Http\Controllers\PageController->page(Request $request, InfinitumService $infinitum) …
› parent::init();
› $response = $this->infinitum->cms()->getPage($user, $uri, null, ["lang" => session('localeId'), "inbox" => ["roles" => $roles]]);
› Cache::put('page' . $enviment . $cache_uri, $response);
}
App\Http\Controllers\PageController->page() {}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
Illuminate\Routing\Controller->callAction($method, $parameters) …
› {
› return call_user_func_array([$this, $method], $parameters);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/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);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 {
Illuminate\Routing\Route->runController() …
› return $this->controllerDispatcher()->dispatch(
› $this, $this->getController(), $this->getControllerMethod()
› );
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 {
Illuminate\Routing\Route->run() …
› if ($this->isControllerAction()) {
› return $this->runController();
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:680 {
Illuminate\Routing\Router->Illuminate\Routing\{closure} …
› return $this->prepareResponse(
› $request, $route->run()
› );
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/app/Http/Middleware/CheckEnv.php:45 {
App\Http\Middleware\CheckEnv->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
›
› $response = $next($request);
›
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/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)));
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:682 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:657 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:623 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php:612 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/fideloper/proxy/src/TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
}
/var/www/vhosts/goporto.pt/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
}
/var/www/vhosts/goporto.pt/httpdocs/public/index.php:67 {
› $response = $kernel->handle(\r
› $request = Illuminate\Http\Request::capture()\r
› );\r
}
}
}