GuzzleHttp\Exception\ServerException {#354
  -request: GuzzleHttp\Psr7\Request {#343
    -method: "POST"
    -requestTarget: null
    -uri: GuzzleHttp\Psr7\Uri {#339
      -scheme: "https"
      -userInfo: ""
      -host: "api.sandrareynolds.co.uk"
      -port: null
      -path: "/api/models/"
      -query: ""
      -fragment: ""
    }
    -headers: array:3 [
      "User-Agent" => array:1 [
        0 => "GuzzleHttp/6.5.5 curl/7.81.0 PHP/7.4.33"
      ]
      "Content-Type" => array:1 [
        0 => "application/x-www-form-urlencoded"
      ]
      "Host" => array:1 [
        0 => "api.sandrareynolds.co.uk"
      ]
    ]
    -headerNames: array:3 [
      "user-agent" => "User-Agent"
      "content-type" => "Content-Type"
      "host" => "Host"
    ]
    -protocol: "1.1"
    -stream: GuzzleHttp\Psr7\Stream {#341
      -stream: stream resource @6
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 82
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -response: GuzzleHttp\Psr7\Response {#351
    -reasonPhrase: "Internal Server Error"
    -statusCode: 500
    -headers: array:7 [
      "Server" => array:1 [
        0 => "nginx/1.18.0 (Ubuntu)"
      ]
      "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 => "Sat, 21 Dec 2024 13:43:25 GMT"
      ]
      "Vary" => array:1 [
        0 => "Origin"
      ]
    ]
    -headerNames: array:7 [
      "server" => "Server"
      "content-type" => "Content-Type"
      "transfer-encoding" => "Transfer-Encoding"
      "connection" => "Connection"
      "cache-control" => "Cache-Control"
      "date" => "date"
      "vary" => "Vary"
    ]
    -protocol: "1.1"
    -stream: GuzzleHttp\Psr7\Stream {#349
      -stream: stream resource @8
        wrapper_type: "PHP"
        stream_type: "TEMP"
        mode: "w+b"
        unread_bytes: 0
        seekable: true
        uri: "php://temp"
        options: []
      }
      -size: 1558
      -seekable: true
      -readable: true
      -writable: true
      -uri: "php://temp"
      -customMetadata: []
    }
  }
  -handlerContext: []
  #message: """
    Server error: `POST https://api.sandrareynolds.co.uk/api/models/` resulted in a `500 Internal Server Error` response:\n
    <!DOCTYPE html>\n
    <html lang="en">\n
        <head>\n
            <meta charset="utf-8">\n
            <meta name="viewport" content="width= (truncated...)\n
    """
  #code: 500
  #file: "/var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
  #line: 113
  trace: {
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 {
      GuzzleHttp\Exception\RequestException::create(RequestInterface $request, ResponseInterface $response = null, Exception $previous = null, array $ctx = []) …
      › 
      ›     return new $className($message, $request, $response, $previous, $ctx);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/guzzle/src/Middleware.php:65 {
      GuzzleHttp\Middleware::GuzzleHttp\{closure} …
      ›     }    throw RequestException::create($request, $response);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/promises/src/Promise.php:204 {
      GuzzleHttp\Promise\Promise::callHandler($index, $value, array $handler) …
      ›     unset($handler);    $promise->resolve($f($value));} elseif ($index === 1) {
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/promises/src/Promise.php:153 {
      GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure} …
      › foreach ($handlers as $handler) {    self::callHandler($id, $value, $handler);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/promises/src/TaskQueue.php:48 {
      GuzzleHttp\Promise\TaskQueue->run() …
      ›     /** @var callable $task */    $task();}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/promises/src/Promise.php:248 {
      GuzzleHttp\Promise\Promise->invokeWaitFn() …
      ›     $this->waitFn = null;    $wfn(true);} catch (\Exception $reason) {
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/promises/src/Promise.php:224 {
      GuzzleHttp\Promise\Promise->waitIfPending() …
      › } elseif ($this->waitFn) {    $this->invokeWaitFn();} elseif ($this->waitList) {
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/promises/src/Promise.php:269 {
      GuzzleHttp\Promise\Promise->invokeWaitList() …
      › do {    $result->waitIfPending();    $result = $result->result;
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/promises/src/Promise.php:226 {
      GuzzleHttp\Promise\Promise->waitIfPending() …
      › } elseif ($this->waitList) {    $this->invokeWaitList();} else {
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/promises/src/Promise.php:62 {
      GuzzleHttp\Promise\Promise->wait($unwrap = true) …
      › {    $this->waitIfPending();}
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/guzzle/src/Client.php:182 {
      GuzzleHttp\Client->request($method, $uri = '', array $options = []) …
      ›     $options[RequestOptions::SYNCHRONOUS] = true;    return $this->requestAsync($method, $uri, $options)->wait();}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/guzzlehttp/guzzle/src/Client.php:95 {
      GuzzleHttp\Client->__call($method, $args) …
      ›         ? $this->requestAsync(substr($method, 0, -5), $uri, $opts)        : $this->request($method, $uri, $opts);}
    }
    /var/www/html/sandrareynolds.co.uk/app/Http/Controllers/Models/ModelController.php:56 {
      App\Http\Controllers\Models\ModelController->index(Request $request, $slug, $param = 0) …
      ›   'lightbox_cookie' => session()->get('lightbox_cookie'),  'session_id' => $session_id,]
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
      Illuminate\Routing\Controller->callAction($method, $parameters) …
      › {    return $this->{$method}(...array_values($parameters));}
    }
    /var/www/html/sandrareynolds.co.uk/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/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 {
      Illuminate\Routing\Route->runController() …
      › return $this->controllerDispatcher()->dispatch(    $this, $this->getController(), $this->getControllerMethod());
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 {
      Illuminate\Routing\Route->run() …
      › if ($this->isControllerAction()) {    return $this->runController();}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Router.php:681 {
      Illuminate\Routing\Router->Illuminate\Routing\{closure} …
      › return $this->prepareResponse(    $request, $route->run());
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › try {    return $destination($passable);} catch (Exception $e) {
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
      Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 {
      Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
      › ) {    return tap($next($request), function ($response) use ($request) {        if ($this->shouldAddXsrfTokenCookie()) {
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
      Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:56 {
      Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
      › 
      › $response = $next($request);}
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
      Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
      › {    $response = $next($request);}
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 {
      Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
      › {    return $this->encrypt($next($this->decrypt($request)));}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
      Illuminate\Pipeline\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Router.php:683 {
      Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
      ›                         );                    });}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Router.php:658 {
      Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
      › return $this->prepareResponse($request,    $this->runRouteWithinStack($route, $request));
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Router.php:624 {
      Illuminate\Routing\Router->dispatchToRoute(Request $request) …
      › {    return $this->runRoute($request, $this->findRoute($request));}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Routing/Router.php:613 {
      Illuminate\Routing\Router->dispatch(Request $request) …
      › 
      ›     return $this->dispatchToRoute($request);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170 {
      Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
      › 
      ›     return $this->router->dispatch($request);};
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › try {    return $destination($passable);} catch (Exception $e) {
    }
    /var/www/html/sandrareynolds.co.uk/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/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/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/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/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/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63 {
      Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/fideloper/proxy/src/TrustProxies.php:57 {
      Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:171 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:105 {
      Illuminate\Pipeline\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145 {
      Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
      ›                 ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
    }
    /var/www/html/sandrareynolds.co.uk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110 {
      Illuminate\Foundation\Http\Kernel->handle($request) …
      › 
      ›     $response = $this->sendRequestThroughRouter($request);} catch (Exception $e) {
    }
    /var/www/html/sandrareynolds.co.uk/public/index.php:55 {$response = $kernel->handle(    $request = Illuminate\Http\Request::capture());
    }
  }
}