ClientException {#250
  -request: Request {#238
    -method: "GET"
    -requestTarget: null
    -uri: Uri {#235
      -scheme: "http"
      -userInfo: ""
      -host: "cockpit.picstarsplus.com"
      -port: null
      -path: "/api/v2/campaign/UgZuzu"
      -query: ""
      -fragment: ""
    }
    -headers: array:2 [
      "User-Agent" => array:1 [
        0 => "GuzzleHttp/6.2.1 curl/7.29.0 PHP/7.1.15"
      ]
      "Host" => array:1 [
        0 => "cockpit.picstarsplus.com"
      ]
    ]
    -headerNames: array:2 [
      "user-agent" => "User-Agent"
      "host" => "Host"
    ]
    -protocol: "1.1"
    -stream: Stream {#237
      -stream: stream resource @5
        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 {#246
    -reasonPhrase: "Not Found"
    -statusCode: 404
    -headers: array:6 [
      "Date" => array:1 [
        0 => "Sun, 17 Feb 2019 08:22:19 GMT"
      ]
      "Server" => array:1 [
        0 => "Apache/2.4.6"
      ]
      "X-Powered-By" => array:1 [
        0 => "PHP/7.0.32"
      ]
      "Cache-Control" => array:1 [
        0 => "no-cache, private"
      ]
      "Transfer-Encoding" => array:1 [
        0 => "chunked"
      ]
      "Content-Type" => array:1 [
        0 => "text/html; charset=UTF-8"
      ]
    ]
    -headerNames: array:6 [
      "date" => "Date"
      "server" => "Server"
      "x-powered-by" => "X-Powered-By"
      "cache-control" => "Cache-Control"
      "transfer-encoding" => "Transfer-Encoding"
      "content-type" => "Content-Type"
    ]
    -protocol: "1.1"
    -stream: Stream {#244
      -stream: stream resource @7
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 5944
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -handlerContext: []
  #message: """
    Client error: `GET http://cockpit.picstarsplus.com/api/v2/campaign/UgZuzu` resulted in a `404 Not Found` response:\n
    <!doctype html>\n
    <!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->\n
    <!--[if IE 7]>         <ht (truncated...)\n
    """
  #code: 404
  #file: "/home/webapp/public_html2/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
  #line: 113
  trace: {
    /home/webapp/public_html2/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 {
      › 
      ›     return new $className($message, $request, $response, $previous, $ctx);}
    }
    /home/webapp/public_html2/vendor/guzzlehttp/guzzle/src/Middleware.php:65 {    }    throw RequestException::create($request, $response);}
      arguments: {
        $request: Request {#238}
        $response: Response {#246}
      }
    }
    /home/webapp/public_html2/vendor/guzzlehttp/promises/src/Promise.php:203 {if (isset($handler[$index])) {    $promise->resolve($handler[$index]($value));} elseif ($index === 1) {
      arguments: {
        Response {#246}
      }
    }
    /home/webapp/public_html2/vendor/guzzlehttp/promises/src/Promise.php:156 {foreach ($handlers as $handler) {    self::callHandler($id, $value, $handler);}
      arguments: {
        $index: 1
        $value: Response {#246}
        $handler: array:3 [ …3]
      }
    }
    /home/webapp/public_html2/vendor/guzzlehttp/promises/src/TaskQueue.php:47 {while ($task = array_shift($this->queue)) {    $task();}
    }
    /home/webapp/public_html2/vendor/guzzlehttp/promises/src/Promise.php:246 {    $this->waitFn = null;    $wfn(true);} catch (\Exception $reason) {
      arguments: {
        true
      }
    }
    /home/webapp/public_html2/vendor/guzzlehttp/promises/src/Promise.php:223 {} elseif ($this->waitFn) {    $this->invokeWaitFn();} elseif ($this->waitList) {
    }
    /home/webapp/public_html2/vendor/guzzlehttp/promises/src/Promise.php:267 {while (true) {    $result->waitIfPending();}
    /home/webapp/public_html2/vendor/guzzlehttp/promises/src/Promise.php:225 {} elseif ($this->waitList) {    $this->invokeWaitList();} else {
    }
    /home/webapp/public_html2/vendor/guzzlehttp/promises/src/Promise.php:62 {{    $this->waitIfPending();}
    /home/webapp/public_html2/vendor/guzzlehttp/guzzle/src/Client.php:131 {    $options[RequestOptions::SYNCHRONOUS] = true;    return $this->requestAsync($method, $uri, $options)->wait();}
    }
    /home/webapp/public_html2/app/Http/Controllers/AppController.php:61 {$client = new Client();$res = $client->request('GET', $this->api_base_url . '/campaign/' . $campaign_token);$data = json_decode($res->getBody()->getContents());
      arguments: {
        $method: "GET"
        $uri: "http://cockpit.picstarsplus.com/api/v2/campaign/UgZuzu"
      }
    }
    App\Http\Controllers\AppController->index() {}
    /home/webapp/public_html2/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/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {if (method_exists($controller, 'callAction')) {    return $controller->callAction($method, $parameters);}
      arguments: {
        $method: "index"
        $parameters: array:2 [ …2]
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Route.php:212 {return $this->controllerDispatcher()->dispatch(    $this, $this->getController(), $this->getControllerMethod());
      arguments: {
        $route: Route {#125 …}
        $controller: AppController {#201 …}
        $method: "index"
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Route.php:169 {if ($this->isControllerAction()) {    return $this->runController();}
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 {return $this->prepareResponse(    $request, $route->run());
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:67 {) {    return $this->addCookieToResponse($request, $next($request));}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {{    $response = $next($request);arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59 {{    return $this->encrypt($next($this->decrypt($request)));}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
      › 
      ›     return $pipeline($this->passable);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Router.php:660 {                        );                    });}
      arguments: {
        $destination: Closure {#186 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Router.php:635 {return $this->prepareResponse($request,    $this->runRouteWithinStack($route, $request));
      arguments: {
        $route: Route {#125 …}
        $request: Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Router.php:601 {{    return $this->runRoute($request, $this->findRoute($request));}
      arguments: {
        $request: Request {#42 …}
        $route: Route {#125 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Router.php:590 {
      › 
      ›     return $this->dispatchToRoute($request);}
      arguments: {
        $request: Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
      › 
      ›     return $this->router->dispatch($request);};
      arguments: {
        $request: Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/app/Http/Middleware/RedirectIfNotHttps.php:21 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/fideloper/proxy/src/TrustProxies.php:56 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:30 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 {
      › 
      › $response = $next($request);arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 {
      › 
      ›     return $next($request);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {return method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
      arguments: {
        $request: Request {#42 …}
        $next: Closure {#147 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
      › 
      ›     return $pipeline($this->passable);}
      arguments: {
        Request {#42 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {                ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
      arguments: {
        $destination: Closure {#22 …}
      }
    }
    /home/webapp/public_html2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
      › 
      ›     $response = $this->sendRequestThroughRouter($request);} catch (Exception $e) {
      arguments: {
        $request: Request {#42 …}
      }
    }
    /home/webapp/public_html2/public/index.php:55 {$response = $kernel->handle(    $request = Illuminate\Http\Request::capture());
      arguments: {
        $request: Request {#42 …}
      }
    }
  }
}