ServerException {#1020
  -request: Request {#3490
    -method: "GET"
    -requestTarget: null
    -uri: Uri {#3492
      -scheme: "https"
      -userInfo: ""
      -host: "sanatisharif.ir"
      -port: null
      -path: "/api/v1/rt/id/content/2078"
      -query: ""
      -fragment: ""
    }
    -headers: array:3 [
      "User-Agent" => array:1 [
        0 => "GuzzleHttp/6.3.3 curl/7.58.0 PHP/7.2.10-0ubuntu0.18.04.1"
      ]
      "Content-Type" => array:1 [
        0 => "application/x-www-form-urlencoded"
      ]
      "Host" => array:1 [
        0 => "sanatisharif.ir"
      ]
    ]
    -headerNames: array:3 [
      "user-agent" => "User-Agent"
      "content-type" => "Content-Type"
      "host" => "Host"
    ]
    -protocol: "1.1"
    -stream: Stream {#3491
      -stream: stream resource @9
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 0
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -response: Response {#1018
    -reasonPhrase: "Internal Server Error"
    -statusCode: 500
    -headers: array:6 [
      "Server" => array:1 [
        0 => "nginx"
      ]
      "Content-Type" => array:1 [
        0 => "text/html; charset=UTF-8"
      ]
      "Transfer-Encoding" => array:1 [
        0 => "chunked"
      ]
      "Connection" => array:1 [
        0 => "keep-alive"
      ]
      "Cache-Control" => array:1 [
        0 => "no-cache, private"
      ]
      "date" => array:1 [
        0 => "Sun, 18 Nov 2018 04:51:33 GMT"
      ]
    ]
    -headerNames: array:6 [
      "server" => "Server"
      "content-type" => "Content-Type"
      "transfer-encoding" => "Transfer-Encoding"
      "connection" => "Connection"
      "cache-control" => "Cache-Control"
      "date" => "date"
    ]
    -protocol: "1.1"
    -stream: Stream {#1017
      -stream: stream resource @11
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 8008
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -handlerContext: []
  #message: """
    Server error: `GET https://sanatisharif.ir/api/v1/rt/id/content/2078` resulted in a `500 Internal Server Error` response:\n
    <title>Error</title>\n
    \n
    \n
    \n
    \n
    \n
    \n
    <!DOCTYPE html>\n
    <!--[if IE 8]> <html lang="fa-IR" class="ie8 no-js"> <![endif]-->\n
    <!--[if IE  (truncated...)\n
    """
  #code: 500
  #file: "/home/alaa/alaatv/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
  #line: 113
  trace: {
    /home/alaa/alaatv/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 {
      › 
      ›     return new $className($message, $request, $response, $previous, $ctx);}
    }
    /home/alaa/alaatv/vendor/guzzlehttp/guzzle/src/Middleware.php:66 {    }    throw RequestException::create($request, $response);}
      arguments: {
        $request: Request {#3490}
        $response: Response {#1018}
      }
    }
    /home/alaa/alaatv/vendor/guzzlehttp/promises/src/Promise.php:203 {if (isset($handler[$index])) {    $promise->resolve($handler[$index]($value));} elseif ($index === 1) {
      arguments: {
        Response {#1018}
      }
    }
    /home/alaa/alaatv/vendor/guzzlehttp/promises/src/Promise.php:156 {foreach ($handlers as $handler) {    self::callHandler($id, $value, $handler);}
      arguments: {
        $index: 1
        $value: Response {#1018}
        $handler: array:3 [ …3]
      }
    }
    /home/alaa/alaatv/vendor/guzzlehttp/promises/src/TaskQueue.php:47 {while ($task = array_shift($this->queue)) {    $task();}
    }
    /home/alaa/alaatv/vendor/guzzlehttp/promises/src/Promise.php:246 {    $this->waitFn = null;    $wfn(true);} catch (\Exception $reason) {
      arguments: {
        true
      }
    }
    /home/alaa/alaatv/vendor/guzzlehttp/promises/src/Promise.php:223 {} elseif ($this->waitFn) {    $this->invokeWaitFn();} elseif ($this->waitList) {
    }
    /home/alaa/alaatv/vendor/guzzlehttp/promises/src/Promise.php:267 {while (true) {    $result->waitIfPending();}
    /home/alaa/alaatv/vendor/guzzlehttp/promises/src/Promise.php:225 {} elseif ($this->waitList) {    $this->invokeWaitList();} else {
    }
    /home/alaa/alaatv/vendor/guzzlehttp/promises/src/Promise.php:62 {{    $this->waitIfPending();}
    /home/alaa/alaatv/vendor/guzzlehttp/guzzle/src/Client.php:131 {    $options[RequestOptions::SYNCHRONOUS] = true;    return $this->requestAsync($method, $uri, $options)->wait();}
    }
    /home/alaa/alaatv/app/Traits/APIRequestCommon.php:17 {try {    $res = $client->request($method, $path, ['form_params' => $request->all()]);} catch (GuzzleException $e) {
      arguments: {
        $method: "GET"
        $uri: "https://sanatisharif.ir/api/v1/rt/id/content/2078"
        $options: array:2 [ …2]
      }
    }
    /home/alaa/alaatv/app/Educationalcontent.php:425 {    config("constants.TAG_API_URL")."id/content/".$this->id,    "GET");
      arguments: {
        $path: "https://sanatisharif.ir/api/v1/rt/id/content/2078"
        $method: "GET"
      }
    }
    /home/alaa/alaatv/app/Http/Controllers/EducationalContentController.php:439 { */$tags = $educationalContent->retrievingTags();}
    App\Http\Controllers\EducationalContentController->show() {}
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {{    return call_user_func_array([$this, $method], $parameters);}
      arguments: {
        $function_name: array:2 [ …2]
        $parameters: array:2 [ …2]
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {if (method_exists($controller, 'callAction')) {    return $controller->callAction($method, $parameters);}
      arguments: {
        $method: "show"
        $parameters: array:2 [ …2]
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Route.php:212 {return $this->controllerDispatcher()->dispatch(    $this, $this->getController(), $this->getControllerMethod());
      arguments: {
        $route: Route {#3737 …}
        $controller: EducationalContentController {#3547 …}
        $method: "show"
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Route.php:169 {if ($this->isControllerAction()) {    return $this->runController();}
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Router.php:665 {return $this->prepareResponse(    $request, $route->run());
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/app/Http/Middleware/OrderCheck.php:139 {    }    return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 {
      › 
      › $response = $next($request);arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {{    $response = $next($request);arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 {{    return $this->encrypt($next($this->decrypt($request)));}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
      › 
      ›     return $pipeline($this->passable);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Router.php:667 {                        );                    });}
      arguments: {
        $destination: Closure {#3549 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Router.php:642 {return $this->prepareResponse($request,    $this->runRouteWithinStack($route, $request));
      arguments: {
        $route: Route {#3737 …}
        $request: Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Router.php:608 {{    return $this->runRoute($request, $this->findRoute($request));}
      arguments: {
        $request: Request {#42 …}
        $route: Route {#3737 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Router.php:597 {
      › 
      ›     return $this->dispatchToRoute($request);}
      arguments: {
        $request: Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
      › 
      ›     return $this->router->dispatch($request);};
      arguments: {
        $request: Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:58 {if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {    return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/fideloper/proxy/src/TrustProxies.php:57 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#3563 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
      › 
      ›     return $pipeline($this->passable);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {                ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
      arguments: {
        $destination: Closure {#28 …}
      }
    }
    /home/alaa/alaatv/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
      › 
      ›     $response = $this->sendRequestThroughRouter($request);} catch (Exception $e) {
      arguments: {
        $request: Request {#42 …}
      }
    }
    /home/alaa/alaatv/public/index.php:55 {$response = $kernel->handle(    $request = Illuminate\Http\Request::capture());
      arguments: {
        $request: Request {#42 …}
      }
    }
  }
}