-> Entering step init, name 'idempotency_auto_fill' --------------------------------------------------- command was set to array(3) { ["instance"]=> string(32) "00000000000003a40000000000000000" ["name"]=> string(9) "GetObject" ["params"]=> array(4) { ["Bucket"]=> string(6) "zaahib" ["Key"]=> string(47) "Photos/listing_pictures/6700580/15647889179.jpg" ["@http"]=> array(1) { ["debug"]=> resource(3) of type (stream) } ["@context"]=> array(0) { } } } request was set to array(0) { } -> Entering step init, name 's3.ssec' ------------------------------------- no changes -> Entering step init, name 's3.source_file' -------------------------------------------- no changes -> Entering step init, name 's3.save_as' ---------------------------------------- no changes -> Entering step init, name 's3.location' ----------------------------------------- no changes -> Entering step init, name 's3.auto_encode' -------------------------------------------- no changes -> Entering step init, name 's3.head_object' -------------------------------------------- no changes -> Entering step validate, name 'validation' -------------------------------------------- no changes -> Entering step validate, name 'input_validation_middleware' ------------------------------------------------------------- no changes -> Entering step build, name 'auth-selection' --------------------------------------------- command.params.@context.signature_version was set to v4 -> Entering step build, name 'endpoint-resolution' -------------------------------------------------- command.params.@context.signature_version changed from v4 to s3v4 command.params.@context.signing_service was set to s3 command.params.@context.signing_region was set to eu2 -> Entering step build, name 'builder' -------------------------------------- request.instance was set to 000000000000043f0000000000000000 request.method was set to GET request.headers was set to array(2) { ["X-Amz-Security-Token"]=> string(7) "[TOKEN]" ["Host"]=> array(1) { [0]=> string(22) "eu2.contabostorage.com" } } request.scheme was set to https request.path was set to /zaahib/Photos/listing_pictures/6700580/15647889179.jpg -> Entering step build, name 's3.check_empty_path_with_query' ------------------------------------------------------------- no changes -> Entering step build, name 'ApiCallMonitoringMiddleware' ---------------------------------------------------------- no changes -> Entering step build, name '' ------------------------------- request.instance changed from 000000000000043f0000000000000000 to 00000000000004440000000000000000 request.headers.X-Amz-User-Agent was set to array(1) { [0]=> string(0) "" } -> Entering step build, name 'endpoint_parameter' ------------------------------------------------- no changes -> Entering step build, name 'request-compression' -------------------------------------------------- no changes -> Entering step build, name 'recursion-detection' -------------------------------------------------- no changes -> Entering step build, name 's3.checksum' ------------------------------------------ no changes -> Entering step build, name 's3.content_type' ---------------------------------------------- no changes -> Entering step build, name 's3.bucket_endpoint_arn' ----------------------------------------------------- no changes -> Entering step sign, name 'StreamRequestPayloadMiddleware' ------------------------------------------------------------ no changes -> Entering step sign, name 'invocation-id' ------------------------------------------- request.instance changed from 00000000000004440000000000000000 to 00000000000004500000000000000000 request.headers.aws-sdk-invocation-id was set to array(1) { [0]=> string(32) "31a3ab6ed0acea6811e710021b970e3b" } -> Entering step sign, name 'retry' ----------------------------------- request.instance changed from 00000000000004500000000000000000 to 00000000000004460000000000000000 request.headers.aws-sdk-retry was set to array(1) { [0]=> string(3) "0/0" } -> Entering step sign, name 'signer' ------------------------------------ request.instance changed from 00000000000004460000000000000000 to 00000000000004080000000000000000 request.headers.x-amz-content-sha256 was set to array(1) { [0]=> string(64) "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" } request.headers.X-Amz-Date was set to array(1) { [0]=> string(16) "20251203T112134Z" } request.headers.Authorization was set to array(1) { [0]=> string(234) "AWS4-HMAC-SHA256 Credential=cc6cfe094e947fb3ebf4a99e9492a803/20251203/eu2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=[SIGNATURE] } -> Entering step sign, name 'user-agent' ---------------------------------------- request.instance changed from 00000000000004080000000000000000 to 00000000000004090000000000000000 request.headers.User-Agent was set to array(1) { [0]=> string(80) "aws-sdk-php/3.356.8 ua/2.1 OS/Linux#6.8.0-85-generic lang/php#8.2.29 m/P,Z,e,N,b" } -> Entering step sign, name 's3.expires_parsing' ------------------------------------------------ no changes -> Entering step sign, name 's3.put_object_url' ----------------------------------------------- no changes -> Entering step sign, name 's3.permanent_redirect' --------------------------------------------------- no changes -> Entering step attempt, name 'ApiCallAttemptMonitoringMiddleware' ------------------------------------------------------------------- no changes * Host eu2.contabostorage.com:443 was resolved. * IPv6: (none) * IPv4: 185.219.143.85, 185.219.143.84 * Trying 185.219.143.85:443... * Connected to eu2.contabostorage.com (185.219.143.85) port 443 * ALPN: curl offers http/1.1 * CAfile: /etc/ssl/certs/ca-certificates.crt * CApath: /etc/ssl/certs * SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / X25519 / RSASSA-PSS * ALPN: server did not agree on a protocol. Uses default. * Server certificate: * subject: CN=contabostorage.com * start date: Nov 24 00:00:00 2025 GMT * expire date: Feb 22 23:59:59 2026 GMT * subjectAltName: host "eu2.contabostorage.com" matched cert's "*.contabostorage.com" * issuer: C=AT; O=ZeroSSL; CN=ZeroSSL RSA Domain Secure Site CA * SSL certificate verify ok. * Certificate level 0: Public key type RSA (4096/152 Bits/secBits), signed using sha384WithRSAEncryption * Certificate level 1: Public key type RSA (4096/152 Bits/secBits), signed using sha384WithRSAEncryption * Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha384WithRSAEncryption * using HTTP/1.x > GET /zaahib/Photos/listing_pictures/6700580/15647889179.jpg HTTP/1.1 Host: eu2.contabostorage.com X-Amz-User-Agent: aws-sdk-invocation-id: 31a3ab6ed0acea6811e710021b970e3b aws-sdk-retry: 0/0 x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 X-Amz-Date: 20251203T112134Z Authorization: AWS4-HMAC-SHA256 Credential=cc6cfe094e947fb3ebf4a99e9492a803/20251203/eu2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-user-agent, Signature=[SIGNATURE] User-Agent: aws-sdk-php/3.356.8 ua/2.1 OS/Linux#6.8.0-85-generic lang/php#8.2.29 m/P,Z,e,N,b GuzzleHttp/7 * old SSL session ID is stale, removing < HTTP/1.1 200 OK < content-type: image/jpeg < content-length: 179605 < x-ratelimit-limit-second: 250 < ratelimit-limit: 250 < ratelimit-remaining: 247 < ratelimit-reset: 1 < x-ratelimit-remaining-second: 247 < accept-ranges: bytes < last-modified: Sun, 09 Nov 2025 08:38:34 GMT < x-rgw-object-type: Normal < etag: "6f97614d3fa5adf52e543cd0b08590a7" < x-amz-request-id: tx00000dbae409eab737cc9-0069301d3e-431733534-eu5 < server: Ceph Object Gateway (squid) < date: Wed, 03 Dec 2025 11:21:34 GMT < access-control-allow-origin: * < access-control-expose-headers: * < strict-transport-security: max-age=16000000; includeSubDomains; preload; < * Connection #0 to host eu2.contabostorage.com left intact <- Leaving step attempt, name 'ApiCallAttemptMonitoringMiddleware' ------------------------------------------------------------------ result was set to array(2) { ["instance"]=> string(32) "00000000000004ca0000000000000000" ["data"]=> array(8) { ["Body"]=> object(GuzzleHttp\Psr7\Stream)#1023 (7) { ["stream":"GuzzleHttp\Psr7\Stream":private]=> resource(7) of type (stream) ["size":"GuzzleHttp\Psr7\Stream":private]=> NULL ["seekable":"GuzzleHttp\Psr7\Stream":private]=> bool(true) ["readable":"GuzzleHttp\Psr7\Stream":private]=> bool(true) ["writable":"GuzzleHttp\Psr7\Stream":private]=> bool(true) ["uri":"GuzzleHttp\Psr7\Stream":private]=> string(10) "php://temp" ["customMetadata":"GuzzleHttp\Psr7\Stream":private]=> array(0) { } } ["AcceptRanges"]=> string(5) "bytes" ["LastModified"]=> object(Aws\Api\DateTimeResult)#1032 (3) { ["date"]=> string(26) "2025-11-09 08:38:34.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(3) "GMT" } ["ContentLength"]=> int(179605) ["ETag"]=> string(34) ""6f97614d3fa5adf52e543cd0b08590a7"" ["ContentType"]=> string(10) "image/jpeg" ["Metadata"]=> array(0) { } ["@metadata"]=> array(4) { ["statusCode"]=> int(200) ["effectiveUri"]=> string(85) "https://eu2.contabostorage.com/zaahib/Photos/listing_pictures/6700580/15647889179.jpg" ["headers"]=> array(17) { ["content-type"]=> string(10) "image/jpeg" ["content-length"]=> string(6) "179605" ["x-ratelimit-limit-second"]=> string(3) "250" ["ratelimit-limit"]=> string(3) "250" ["ratelimit-remaining"]=> string(3) "247" ["ratelimit-reset"]=> string(1) "1" ["x-ratelimit-remaining-second"]=> string(3) "247" ["accept-ranges"]=> string(5) "bytes" ["last-modified"]=> string(29) "Sun, 09 Nov 2025 08:38:34 GMT" ["x-rgw-object-type"]=> string(6) "Normal" ["etag"]=> string(34) ""6f97614d3fa5adf52e543cd0b08590a7"" ["x-amz-request-id"]=> string(48) "tx00000dbae409eab737cc9-0069301d3e-431733534-eu5" ["server"]=> string(27) "Ceph Object Gateway (squid)" ["date"]=> string(29) "Wed, 03 Dec 2025 11:21:34 GMT" ["access-control-allow-origin"]=> string(1) "*" ["access-control-expose-headers"]=> string(1) "*" ["strict-transport-security"]=> string(45) "max-age=16000000; includeSubDomains; preload;" } ["transferStats"]=> array(0) { } } } } Inclusive step time: 0.066808938980103 <- Leaving step sign, name 's3.permanent_redirect' -------------------------------------------------- no changes Inclusive step time: 0.066864013671875 <- Leaving step sign, name 's3.put_object_url' ---------------------------------------------- no changes Inclusive step time: 0.06690502166748 <- Leaving step sign, name 's3.expires_parsing' ----------------------------------------------- no changes Inclusive step time: 0.066962003707886 <- Leaving step sign, name 'user-agent' --------------------------------------- no changes Inclusive step time: 0.067034959793091 <- Leaving step sign, name 'signer' ----------------------------------- no changes Inclusive step time: 0.067190885543823 <- Leaving step sign, name 'retry' ---------------------------------- no changes Inclusive step time: 0.067579984664917 <- Leaving step sign, name 'invocation-id' ------------------------------------------ result.data.@metadata.transferStats.http was set to array(1) { [0]=> array(0) { } } Inclusive step time: 0.067831993103027 <- Leaving step sign, name 'StreamRequestPayloadMiddleware' ----------------------------------------------------------- no changes Inclusive step time: 0.067902088165283 <- Leaving step build, name 's3.bucket_endpoint_arn' ---------------------------------------------------- no changes Inclusive step time: 0.067947864532471 <- Leaving step build, name 's3.content_type' --------------------------------------------- no changes Inclusive step time: 0.067994117736816 <- Leaving step build, name 's3.checksum' ----------------------------------------- no changes Inclusive step time: 0.068235874176025 <- Leaving step build, name 'recursion-detection' ------------------------------------------------- no changes Inclusive step time: 0.068298101425171 <- Leaving step build, name 'request-compression' ------------------------------------------------- no changes Inclusive step time: 0.068337917327881 <- Leaving step build, name 'endpoint_parameter' ------------------------------------------------ no changes Inclusive step time: 0.068384170532227 <- Leaving step build, name '' ------------------------------ no changes Inclusive step time: 0.068547964096069 <- Leaving step build, name 'ApiCallMonitoringMiddleware' --------------------------------------------------------- no changes Inclusive step time: 0.068617105484009 <- Leaving step build, name 's3.check_empty_path_with_query' ------------------------------------------------------------ no changes Inclusive step time: 0.068846940994263 <- Leaving step build, name 'builder' ------------------------------------- no changes Inclusive step time: 0.068999052047729 <- Leaving step build, name 'endpoint-resolution' ------------------------------------------------- no changes Inclusive step time: 0.0691978931427 <- Leaving step build, name 'auth-selection' -------------------------------------------- no changes Inclusive step time: 0.069591045379639 <- Leaving step validate, name 'input_validation_middleware' ------------------------------------------------------------ no changes Inclusive step time: 0.069647073745728 <- Leaving step validate, name 'validation' ------------------------------------------- no changes Inclusive step time: 0.069742918014526 <- Leaving step init, name 's3.head_object' ------------------------------------------- no changes Inclusive step time: 0.069839000701904 <- Leaving step init, name 's3.auto_encode' ------------------------------------------- no changes Inclusive step time: 0.069865226745605 <- Leaving step init, name 's3.location' ---------------------------------------- no changes Inclusive step time: 0.069897890090942 <- Leaving step init, name 's3.save_as' --------------------------------------- no changes Inclusive step time: 0.069921016693115 <- Leaving step init, name 's3.source_file' ------------------------------------------- no changes Inclusive step time: 0.069973945617676 <- Leaving step init, name 's3.ssec' ------------------------------------ no changes Inclusive step time: 0.070012092590332 <- Leaving step init, name 'idempotency_auto_fill' -------------------------------------------------- no changes Inclusive step time: 0.070113897323608 file_put_contents(/var/www/html/zaahib_lumen_v2/storage/framework/cache/data/c8/ed/c8ed0b4cccd36f7dae465d8352fa72402f7c5722): Failed to open stream: No such file or directory (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

file_put_contents(/var/www/html/zaahib_lumen_v2/storage/framework/cache/data/c8/ed/c8ed0b4cccd36f7dae465d8352fa72402f7c5722): Failed to open stream: No such file or directory

Exception

ErrorException

Show exception properties
ErrorException {#1226
  #severity: E_WARNING
}
  1.      * @param  bool  $lock
  2.      * @return int|bool
  3.      */
  4.     public function put($path$contents$lock false)
  5.     {
  6.         return file_put_contents($path$contents$lock LOCK_EX 0);
  7.     }
  8.     /**
  9.      * Write the contents of a file, replacing it atomically if it already exists.
  10.      *
  1.     protected function registerErrorHandling()
  2.     {
  3.         error_reporting(-1);
  4.         set_error_handler(function ($level$message$file ''$line 0) {
  5.             $this->handleError($level$message$file$line);
  6.         });
  7.         set_exception_handler(function ($e) {
  8.             $this->handleException($e);
  9.         });
Application->Laravel\Lumen\Concerns\{closure}()
  1.      * @param  bool  $lock
  2.      * @return int|bool
  3.      */
  4.     public function put($path$contents$lock false)
  5.     {
  6.         return file_put_contents($path$contents$lock LOCK_EX 0);
  7.     }
  8.     /**
  9.      * Write the contents of a file, replacing it atomically if it already exists.
  10.      *
  1.      */
  2.     public function put($key$value$seconds)
  3.     {
  4.         $this->ensureCacheDirectoryExists($path $this->path($key));
  5.         $result $this->files->put(
  6.             $path$this->expiration($seconds).serialize($value), true
  7.         );
  8.         if ($result !== false && $result 0) {
  9.             $this->ensurePermissionsAreCorrect($path);
  1.         if ($seconds <= 0) {
  2.             return $this->forget($key);
  3.         }
  4.         $result $this->store->put($this->itemKey($key), $value$seconds);
  5.         if ($result) {
  6.             $this->event(new KeyWritten($key$value$seconds));
  7.         }
  1.             return $value;
  2.         }
  3.         $value $callback();
  4.         $this->put($key$valuevalue($ttl$value));
  5.         return $value;
  6.     }
  7.     /**
  1.      * @param  array  $parameters
  2.      * @return mixed
  3.      */
  4.     public function __call($method$parameters)
  5.     {
  6.         return $this->store()->$method(...$parameters);
  7.     }
  8. }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.     private function getPictureFromDisk($listingId$imageName$disk 'gcloud')
  2.     {
  3.         $fileManager FileStorageManager::create("listing"$disk);
  4.         $fileManager->setListingId($listingId);
  5.         $contents Cache::remember('listings_' $listingId '_' $imageName ".jpg"Carbon::now()->addHours(2), fn() => $fileManager->get($imageName ".jpg"));
  6.         return $contents;
  7.     }
  8.     private function generateThumbnail($fileStorageint $pictureIdint $listingId)
ListingPictureService->getPictureFromDisk() in /var/www/html/zaahib_lumen_v2/app/Library/Services/ListingPictureService.php (line 471)
  1.             return $this->imageService->resolvePictureToBrowser($imagesPath DIRECTORY_SEPARATOR $imageName ".jpg");
  2.         }
  3.         // Else find image from other provider
  4.         $storageMethod $this->globalHelpers->getFileStorageDisk('local', fn() => $this->listingPictureRepository->find($pictureName)?->storage_method);
  5.         $imageContents $this->getPictureFromDisk(listingId$listingIdimageName$imageNamedisk$storageMethod);
  6.         if($imageContents) {
  7.             return $this->imageService->resolvePictureFromContents($imageContents);
  8.         }
  1.      *
  2.      * @hideFromAPIDocumentation
  3.      */
  4.     public function show($path)
  5.     {
  6.         return $this->listingPictureService->serveImage(path$path);
  7.     }
  8. }
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
in /var/www/html/zaahib_lumen_v2/vendor/illuminate/container/Util.php :: Illuminate\Container\{closure} (line 41)
  1.      * @param  mixed  ...$args
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value, ...$args)
  5.     {
  6.         return $value instanceof Closure $value(...$args) : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  1.             $this->buildStack[] = $className;
  2.             $pushedToBuildStack true;
  3.         }
  4.         $result BoundMethod::call($this$callback$parameters$defaultMethod);
  5.         if ($pushedToBuildStack) {
  6.             array_pop($this->buildStack);
  7.         }
  1.      */
  2.     protected function callControllerCallable(callable $callable, array $parameters = [])
  3.     {
  4.         try {
  5.             return $this->prepareResponse(
  6.                 $this->call($callable$parameters)
  7.             );
  8.         } catch (HttpResponseException $e) {
  9.             return $e->getResponse();
  10.         }
  11.     }
  1.         if (count($middleware) > 0) {
  2.             return $this->callLumenControllerWithMiddleware(
  3.                 $instance$method$routeInfo$middleware
  4.             );
  5.         } else {
  6.             return $this->callControllerCallable(
  7.                 [$instance$method], $routeInfo[2]
  8.             );
  9.         }
  10.     }
  1.         if (! method_exists($instance $this->make($controller), $method)) {
  2.             throw new NotFoundHttpException;
  3.         }
  4.         if ($instance instanceof LumenController) {
  5.             return $this->callLumenController($instance$method$routeInfo);
  6.         } else {
  7.             return $this->callControllerCallable(
  8.                 [$instance$method], $routeInfo[2]
  9.             );
  10.         }
  1.     protected function callActionOnArrayBasedRoute($routeInfo)
  2.     {
  3.         $action $routeInfo[1];
  4.         if (isset($action['uses'])) {
  5.             return $this->prepareResponse($this->callControllerAction($routeInfo));
  6.         }
  7.         foreach ($action as $value) {
  8.             if ($value instanceof Closure) {
  9.                 $callable $value->bindTo(new RoutingClosure);
  1.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  2.             }));
  3.         }
  4.         return $this->prepareResponse(
  5.             $this->callActionOnArrayBasedRoute($routeInfo)
  6.         );
  7.     }
  8.     /**
  9.      * Call the Closure or invokable on the array based route.
  1.             case Dispatcher::NOT_FOUND:
  2.                 throw new NotFoundHttpException;
  3.             case Dispatcher::METHOD_NOT_ALLOWED:
  4.                 throw new MethodNotAllowedHttpException($routeInfo[1]);
  5.             case Dispatcher::FOUND:
  6.                 return $this->handleFoundRoute($routeInfo);
  7.         }
  8.     }
  9.     /**
  10.      * Handle a route found by the dispatcher.
  1.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  2.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  3.                 }
  4.                 return $this->handleDispatcherResponse(
  5.                     $this->createDispatcher()->dispatch($method$pathInfo)
  6.                 );
  7.             });
  8.         } catch (Throwable $e) {
  9.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  1.      */
  2.     protected function prepareDestination(BaseClosure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
Pipeline->Laravel\Lumen\Routing\{closure}() in /var/www/html/zaahib_lumen_v2/app/Http/Middleware/RouteLog.php (line 14)
  1. class RouteLog
  2. {
  3.     public function handle(Request $requestClosure $next)
  4.     {
  5.         $response $next($request);
  6.         $log = [
  7.             'URI' => $request->getUri(),
  8.             'METHOD' => $request->getMethod(),
  9.             'REQUEST_BODY' => $request->all(),
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return ($slice($stack$pipe))($passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
Pipeline->Laravel\Lumen\Routing\{closure}() in /var/www/html/zaahib_lumen_v2/app/Http/Middleware/Language.php (line 26)
  1.             Config::set('app.locale'$lang);
  2.             app('translator')->setLocale($lang);
  3.         }
  4.         return $next($request);
  5.     }
  6. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return ($slice($stack$pipe))($passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
Pipeline->Laravel\Lumen\Routing\{closure}() in /var/www/html/zaahib_lumen_v2/app/Http/Middleware/CountryMiddleware.php (line 48)
  1.                     Config::set('zaahib.country''sa');
  2.                 }
  3.             }
  4.         }
  5.         return $next($request);
  6.     }
  7. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return ($slice($stack$pipe))($passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
Pipeline->Laravel\Lumen\Routing\{closure}() in /var/www/html/zaahib_lumen_v2/app/Http/Middleware/BuildTypeVersionMiddleware.php (line 21)
  1.            /* if(!in_array($request->version, $validVersions)) {
  2.                 return response()->json(['updateVersion' => true]);
  3.             }*/
  4.         }
  5.         return $next($request);
  6.     }
  7. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return ($slice($stack$pipe))($passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
Pipeline->Laravel\Lumen\Routing\{closure}() in /var/www/html/zaahib_lumen_v2/app/Http/Middleware/CorsMiddleware.php (line 48)
  1.         if ($request->isMethod('OPTIONS'))
  2.         {
  3.             return response()->json('{"method":"OPTIONS"}'200$headers);
  4.         }
  5.         $response $next($request);
  6.         foreach($headers as $key => $value)
  7.         {
  8.             $response->header($key$value);
  9.         }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return ($slice($stack$pipe))($passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
in /var/www/html/zaahib_lumen_v2/vendor/illuminate/pipeline/Pipeline.php -> Laravel\Lumen\Routing\{closure} (line 119)
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.     {
  2.         if (count($middleware) > && ! $this->shouldSkipMiddleware()) {
  3.             return (new Pipeline($this))
  4.                 ->send($this->make('request'))
  5.                 ->through($middleware)
  6.                 ->then($then);
  7.         }
  8.         return $then($this->make('request'));
  9.     }
  1.         [$method$pathInfo] = $this->parseIncomingRequest($request);
  2.         try {
  3.             $this->boot();
  4.             return $this->sendThroughPipeline($this->middleware, function ($request) use ($method$pathInfo) {
  5.                 $this->instance(Request::class, $request);
  6.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  7.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  8.                 }
  1.      * @param  \Symfony\Component\HttpFoundation\Request|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
Application->run() in /var/www/html/zaahib_lumen_v2/public/index.php (line 28)
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

ErrorException
ErrorException:
file_put_contents(/var/www/html/zaahib_lumen_v2/storage/framework/cache/data/c8/ed/c8ed0b4cccd36f7dae465d8352fa72402f7c5722): Failed to open stream: No such file or directory

  at /var/www/html/zaahib_lumen_v2/vendor/illuminate/filesystem/Filesystem.php:205
  at Laravel\Lumen\Application->handleError()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php:47)
  at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
  at file_put_contents()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/filesystem/Filesystem.php:205)
  at Illuminate\Filesystem\Filesystem->put()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/cache/FileStore.php:83)
  at Illuminate\Cache\FileStore->put()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/cache/Repository.php:217)
  at Illuminate\Cache\Repository->put()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/cache/Repository.php:399)
  at Illuminate\Cache\Repository->remember()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/cache/CacheManager.php:429)
  at Illuminate\Cache\CacheManager->__call()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/support/Facades/Facade.php:355)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/var/www/html/zaahib_lumen_v2/app/Library/Services/ListingPictureService.php:515)
  at App\Library\Services\ListingPictureService->getPictureFromDisk()
     (/var/www/html/zaahib_lumen_v2/app/Library/Services/ListingPictureService.php:471)
  at App\Library\Services\ListingPictureService->serveImage()
     (/var/www/html/zaahib_lumen_v2/app/Http/Controllers/V1/ListingPictureController.php:137)
  at App\Http\Controllers\V1\ListingPictureController->show()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/container/Container.php:662)
  at Illuminate\Container\Container->call()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:391)
  at Laravel\Lumen\Application->callControllerCallable()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:356)
  at Laravel\Lumen\Application->callLumenController()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:331)
  at Laravel\Lumen\Application->callControllerAction()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:284)
  at Laravel\Lumen\Application->callActionOnArrayBasedRoute()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:269)
  at Laravel\Lumen\Application->handleFoundRoute()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:239)
  at Laravel\Lumen\Application->handleDispatcherResponse()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:174)
  at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:48)
  at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
     (/var/www/html/zaahib_lumen_v2/app/Http/Middleware/RouteLog.php:14)
  at App\Http\Middleware\RouteLog->handle()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
  at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
     (/var/www/html/zaahib_lumen_v2/app/Http/Middleware/Language.php:26)
  at App\Http\Middleware\Language->handle()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
  at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
     (/var/www/html/zaahib_lumen_v2/app/Http/Middleware/CountryMiddleware.php:48)
  at App\Http\Middleware\CountryMiddleware->handle()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
  at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
     (/var/www/html/zaahib_lumen_v2/app/Http/Middleware/BuildTypeVersionMiddleware.php:21)
  at App\Http\Middleware\BuildTypeVersionMiddleware->handle()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
  at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
     (/var/www/html/zaahib_lumen_v2/app/Http/Middleware/CorsMiddleware.php:48)
  at App\Http\Middleware\CorsMiddleware->handle()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
  at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
     (/var/www/html/zaahib_lumen_v2/vendor/illuminate/pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:428)
  at Laravel\Lumen\Application->sendThroughPipeline()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:167)
  at Laravel\Lumen\Application->dispatch()
     (/var/www/html/zaahib_lumen_v2/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:112)
  at Laravel\Lumen\Application->run()
     (/var/www/html/zaahib_lumen_v2/public/index.php:28)