ServerException {#117
-request: Request {#105
-method: "GET"
-requestTarget: null
-uri: Uri {#102
-scheme: "http"
-userInfo: ""
-host: "admin.mexicoluxuryrentals.com"
-port: null
-path: "/api/v1/destinations"
-query: ""
-fragment: ""
}
-headers: array:3 [
"Accept" => array:1 [
0 => "application/json"
]
"User-Agent" => array:1 [
0 => "GuzzleHttp/6.2.1 curl/8.12.1 PHP/7.1.33"
]
"Host" => array:1 [
0 => "admin.mexicoluxuryrentals.com"
]
]
-headerNames: array:3 [
"accept" => "Accept"
"user-agent" => "User-Agent"
"host" => "Host"
]
-protocol: "1.1"
-stream: Stream {#104
-stream: stream resource @164
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 {#113
-reasonPhrase: "Internal Server Error"
-statusCode: 500
-headers: array:7 [
"Date" => array:1 [
0 => "Fri, 30 May 2025 00:35:26 GMT"
]
"Server" => array:1 [
0 => "Apache"
]
"Cache-Control" => array:1 [
0 => "no-cache, private"
]
"Upgrade" => array:1 [
0 => "h2,h2c"
]
"Connection" => array:1 [
0 => "Upgrade, close"
]
"Transfer-Encoding" => array:1 [
0 => "chunked"
]
"Content-Type" => array:1 [
0 => "text/html; charset=UTF-8"
]
]
-headerNames: array:7 [
"date" => "Date"
"server" => "Server"
"cache-control" => "Cache-Control"
"upgrade" => "Upgrade"
"connection" => "Connection"
"transfer-encoding" => "Transfer-Encoding"
"content-type" => "Content-Type"
]
-protocol: "1.1"
-stream: Stream {#111
-stream: stream resource @170
wrapper_type: "PHP"
stream_type: "TEMP"
mode: "w+b"
unread_bytes: 0
seekable: true
uri: "php://temp"
options: []
}
-size: 14434
-seekable: true
-readable: true
-writable: true
-uri: "php://temp"
-customMetadata: []
}
}
-handlerContext: []
#message: """
Server error: `GET http://admin.mexicoluxuryrentals.com/api/v1/destinations` resulted in a `500 Internal Server Error` response:\n
<!DOCTYPE html>\n
<html>\n
<head>\n
<meta charset="UTF-8" />\n
<meta name="robots" content="noindex,nofollow (truncated...)\n
"""
#code: 500
#file: "/home/gafa/public_html/front/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
#line: 111
trace: {
/home/gafa/public_html/front/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111: {
:
: return new $className($message, $request, $response, $previous, $ctx);
: }
}
/home/gafa/public_html/front/vendor/guzzlehttp/guzzle/src/Middleware.php:65: {
: }
: throw RequestException::create($request, $response);
: }
arguments: {
$request: Request {#105}
$response: Response {#113}
}
}
/home/gafa/public_html/front/vendor/guzzlehttp/promises/src/Promise.php:203: {
: if (isset($handler[$index])) {
: $promise->resolve($handler[$index]($value));
: } elseif ($index === 1) {
arguments: {
Response {#113}
}
}
/home/gafa/public_html/front/vendor/guzzlehttp/promises/src/Promise.php:156: {
: foreach ($handlers as $handler) {
: self::callHandler($id, $value, $handler);
: }
arguments: {
$index: 1
$value: Response {#113}
$handler: array:3 [ …3]
}
}
/home/gafa/public_html/front/vendor/guzzlehttp/promises/src/TaskQueue.php:47: {
: while ($task = array_shift($this->queue)) {
: $task();
: }
}
/home/gafa/public_html/front/vendor/guzzlehttp/promises/src/Promise.php:246: {
: $this->waitFn = null;
: $wfn(true);
: } catch (\Exception $reason) {
arguments: {
true
}
}
/home/gafa/public_html/front/vendor/guzzlehttp/promises/src/Promise.php:223: {
: } elseif ($this->waitFn) {
: $this->invokeWaitFn();
: } elseif ($this->waitList) {
}
/home/gafa/public_html/front/vendor/guzzlehttp/promises/src/Promise.php:267: {
: while (true) {
: $result->waitIfPending();
:
}
/home/gafa/public_html/front/vendor/guzzlehttp/promises/src/Promise.php:225: {
: } elseif ($this->waitList) {
: $this->invokeWaitList();
: } else {
}
/home/gafa/public_html/front/vendor/guzzlehttp/promises/src/Promise.php:62: {
: {
: $this->waitIfPending();
:
}
/home/gafa/public_html/front/vendor/guzzlehttp/guzzle/src/Client.php:129: {
: $options[RequestOptions::SYNCHRONOUS] = true;
: return $this->requestAsync($method, $uri, $options)->wait();
: }
}
/home/gafa/public_html/front/app/Libraries/MexicoLuxuryApi.php:61: {
: try {\r
: \t$response = $object_api->request($method, env("API_BASE_URL") . $endpoint);\r
: \t$respuesta = json_decode($response->getBody());\r
arguments: {
$method: "GET"
$uri: "http://admin.mexicoluxuryrentals.com/api/v1/destinations"
}
}
/home/gafa/public_html/front/app/Libraries/MexicoLuxuryApi.php:27: {
: \r
: \treturn self::httpEndPoint("GET", $endpoint, $request_options, $object_api, $onError);\r
: }\r
arguments: {
$method: "GET"
$endpoint: "/destinations"
$request_options: array:3 [ …3]
$object_api: Client {#91 …}
$onError: null
}
}
/home/gafa/public_html/front/app/Http/Controllers/Dao/DestinationsDao.php:29: {
: //\t\tif (!\Cache::has('destinations')) {\r
: $destinations = self::getEndpoint(self::URL, $this->options, null);\r
: //\Cache::put('destinations', $result->data, 30);\r
arguments: {
$endpoint: "/destinations"
$request_options: array:1 [ …1]
$onError: null
}
}
/home/gafa/public_html/front/app/Providers/AppServiceProvider.php:18: {
: $destinationDao = new DestinationsDao;\r
: $destinations = $destinationDao->getAll();\r
: \r
}
App\Providers\AppServiceProvider->boot(): {}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29: {
: return call_user_func_array(
: $callback, static::getMethodDependencies($container, $callback, $parameters)
: );
arguments: {
$function_name: array:2 [ …2]
$parameters: []
}
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87: {
:
: return $default instanceof Closure ? $default() : $default;
: }
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31: {
: );
: });
: }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$default: Closure {#17 …}
}
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Container/Container.php:539: {
: {
: return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
: }
arguments: {
$container: Application {#3 …}
$callback: array:2 [ …2]
$parameters: []
$defaultMethod: null
}
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:788: {
: if (method_exists($provider, 'boot')) {
: return $this->call([$provider, 'boot']);
: }
arguments: {
$callback: array:2 [ …2]
}
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:771: {
: array_walk($this->serviceProviders, function ($p) {
: $this->bootProvider($p);
: });
arguments: {
$provider: AppServiceProvider {#74 …}
}
}
Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(): {}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:772: {
: $this->bootProvider($p);
: });
:
arguments: {
&$input: array:18 [ …18]
$funcname: Closure {#37 …}
}
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17: {
: {
: $app->boot();
: }
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:208: {
:
: $this->make($bootstrapper)->bootstrap($this);
:
arguments: {
$app: Application {#3 …}
}
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:160: {
: if (! $this->app->hasBeenBootstrapped()) {
: $this->app->bootstrapWith($this->bootstrappers());
: }
arguments: {
$bootstrappers: array:6 [ …6]
}
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144: {
:
: $this->bootstrap();
:
}
/home/gafa/public_html/front/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116: {
:
: $response = $this->sendRequestThroughRouter($request);
: } catch (Exception $e) {
arguments: {
$request: Request {#38 …}
}
}
/home/gafa/public_html/front/public/index.php:53: {
: $response = $kernel->handle(\r
: $request = Illuminate\Http\Request::capture()\r
: );\r
arguments: {
$request: Request {#38 …}
}
}
}
}