sreevalsaminteriors.com
Open in
urlscan Pro
13.126.190.157
Public Scan
URL:
https://sreevalsaminteriors.com/stock/
Submission: On August 28 via api from US — Scanned from US
Submission: On August 28 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
InvalidArgumentException View [error.404] not found. * * * InvalidArgumentException thrown with message "View [error.404] not found." Stacktrace: #25 InvalidArgumentException in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137 #24 Illuminate\View\FileViewFinder:findInPaths in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:79 #23 Illuminate\View\FileViewFinder:find in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/View/Factory.php:131 #22 Illuminate\View\Factory:make in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:81 #21 Illuminate\Routing\ResponseFactory:view in /var/www/html/sreevalsam/app/Exceptions/Handler.php:56 #20 App\Exceptions\Handler:render in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:83 #19 Illuminate\Routing\Pipeline:handleException in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:32 #18 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #17 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #11 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 #8 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/sreevalsam/vendor/fideloper/proxy/src/TrustProxies.php:57 #5 Fideloper\Proxy\TrustProxies:handle in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 #2 Illuminate\Pipeline\Pipeline:then in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/html/sreevalsam/index.php:54 COPY HIDE Application frames (1) All frames (26) 25 InvalidArgumentException …/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php137 24 Illuminate\View\FileViewFinder findInPaths …/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php79 23 Illuminate\View\FileViewFinder find …/vendor/laravel/framework/src/Illuminate/View/Factory.php131 22 Illuminate\View\Factory make …/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php81 21 Illuminate\Routing\ResponseFactory view …/app/Exceptions/Handler.php56 20 App\Exceptions\Handler render …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php83 19 Illuminate\Routing\Pipeline handleException …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php32 18 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21 17 Illuminate\Foundation\Http\Middleware\TransformsRequest handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 16 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 15 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21 14 Illuminate\Foundation\Http\Middleware\TransformsRequest handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 13 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 12 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27 11 Illuminate\Foundation\Http\Middleware\ValidatePostSize handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 10 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 9 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php62 8 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 7 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 6 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/fideloper/proxy/src/TrustProxies.php57 5 Fideloper\Proxy\TrustProxies handle …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php163 4 Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure} …/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php53 3 Illuminate\Routing\Pipeline Illuminate\Routing\{closure} …/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php104 2 Illuminate\Pipeline\Pipeline then …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php151 1 Illuminate\Foundation\Http\Kernel sendRequestThroughRouter …/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116 0 Illuminate\Foundation\Http\Kernel handle …/index.php54 /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php 1. /** 2. * Find the given view in the list of paths. 3. * 4. * @param string $name 5. * @param array $paths 6. * @return string 7. * 8. * @throws \InvalidArgumentException 9. */ 10. protected function findInPaths($name, $paths) 11. { 12. foreach ((array) $paths as $path) { 13. foreach ($this->getPossibleViewFiles($name) as $file) { 14. if ($this->files->exists($viewPath = $path.'/'.$file)) { 15. return $viewPath; 16. } 17. } 18. } 19. 20. throw new InvalidArgumentException("View [{$name}] not found."); 21. } 22. 23. /** 24. * Get an array of possible view files. 25. * 26. * @param string $name 27. * @return array 28. */ 29. protected function getPossibleViewFiles($name) 30. { 31. return array_map(function ($extension) use ($name) { 32. return str_replace('.', '/', $name).'.'.$extension; 33. }, $this->extensions); 34. } 35. 36. /** 37. * Add a location to the finder. 38. * 39. * @param string $location 40. * @return void Arguments 1. "View [error.404] not found." /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php } } /** * Get the fully qualified location of the view. * * @param string $name * @return string */ public function find($name) { if (isset($this->views[$name])) { return $this->views[$name]; } if ($this->hasHintInformation($name = trim($name))) { return $this->views[$name] = $this->findNamespacedView($name); } return $this->views[$name] = $this->findInPaths($name, $this->paths); } /** * Get the path to a template with a named path. * * @param string $name * @return string */ protected function findNamespacedView($name) { [$namespace, $view] = $this->parseNamespaceSegments($name); return $this->findInPaths($view, $this->hints[$namespace]); } /** * Get the segments of a template with a named path. * * @param string $name * @return array /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/View/Factory.php { $data = array_merge($mergeData, $this->parseData($data)); return tap($this->viewInstance($path, $path, $data), function ($view) { $this->callCreator($view); }); } /** * Get the evaluated view contents for the given view. * * @param string $view * @param \Illuminate\Contracts\Support\Arrayable|array $data * @param array $mergeData * @return \Illuminate\Contracts\View\View */ public function make($view, $data = [], $mergeData = []) { $path = $this->finder->find( $view = $this->normalizeName($view) ); // Next, we will create the view instance and call the view creator for the view // which can set any data, etc. Then we will return the view instance back to // the caller for rendering or performing other view manipulations on this. $data = array_merge($mergeData, $this->parseData($data)); return tap($this->viewInstance($view, $path, $data), function ($view) { $this->callCreator($view); }); } /** * Get the first view that actually exists from the given list. * * @param array $views * @param \Illuminate\Contracts\Support\Arrayable|array $data * @param array $mergeData * @return \Illuminate\Contracts\View\View * /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php * @param array $headers * @return \Illuminate\Http\Response */ public function noContent($status = 204, array $headers = []) { return $this->make('', $status, $headers); } /** * Create a new response for a given view. * * @param string $view * @param array $data * @param int $status * @param array $headers * @return \Illuminate\Http\Response */ public function view($view, $data = [], $status = 200, array $headers = []) { return $this->make($this->view->make($view, $data), $status, $headers); } /** * Create a new JSON response instance. * * @param mixed $data * @param int $status * @param array $headers * @param int $options * @return \Illuminate\Http\JsonResponse */ public function json($data = [], $status = 200, array $headers = [], $options = 0) { return new JsonResponse($data, $status, $headers, $options); } /** * Create a new JSONP response instance. * * @param string $callback /var/www/html/sreevalsam/app/Exceptions/Handler.php */ public function report(Exception $exception) { parent::report($exception); } /** * Render an exception into an HTTP response. * * @param \Illuminate\Http\Request $request * @param \Exception $exception * @return \Illuminate\Http\Response */ public function render($request, Exception $exception) { if ($exception instanceof NotFoundHttpException) { if ($request->ajax()) { return response()->json(['error' => trans('error.page.not_found')], 404); } return response()->view('error.404', [],404); } // if ($exception instanceof UnauthorizedException) { // if ($request->ajax()) { // return response()->json(['error' => $exception->getMessage()], 403); // } // return response()->view('error.403', ['code' => 403, 'message' => $exception->getMessage()]); // } // if ($exception instanceof AuthenticationException) { // if ($request->ajax()) { // return response()->json(['error' => $exception->getMessage()], 401); // } // } return parent::render($request, $exception); // return parent::render($request, $exception); } } /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { if (! $this->container->bound(ExceptionHandler::class) || ! $passable instanceof Request) { throw $e; } $handler = $this->container->make(ExceptionHandler::class); $handler->report($e); $response = $handler->render($passable, $e); if (method_exists($response, 'withException')) { $response->withException($e); } return $response; } } /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php /** * This extended pipeline catches any exceptions that occur during each slice. * * The exceptions are converted to HTTP responses for proper middleware handling. */ class Pipeline extends BasePipeline { /** * Get the final piece of the Closure onion. * * @param \Closure $destination * @return \Closure */ protected function prepareDestination(Closure $destination) { return function ($passable) use ($destination) { try { return $destination($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php namespace Illuminate\Foundation\Http\Middleware; use Closure; use Symfony\Component\HttpFoundation\ParameterBag; class TransformsRequest { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * * @param \Illuminate\Http\Request $request * @return void */ protected function clean($request) { $this->cleanParameterBag($request->query); if ($request->isJson()) { $this->cleanParameterBag($request->json()); } elseif ($request->request !== $request->query) { $this->cleanParameterBag($request->request); } } /** /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php namespace Illuminate\Foundation\Http\Middleware; use Closure; use Symfony\Component\HttpFoundation\ParameterBag; class TransformsRequest { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { $this->clean($request); return $next($request); } /** * Clean the request's data. * * @param \Illuminate\Http\Request $request * @return void */ protected function clean($request) { $this->cleanParameterBag($request->query); if ($request->isJson()) { $this->cleanParameterBag($request->json()); } elseif ($request->request !== $request->query) { $this->cleanParameterBag($request->request); } } /** /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php class ValidatePostSize { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed * * @throws \Illuminate\Http\Exceptions\PostTooLargeException */ public function handle($request, Closure $next) { $max = $this->getPostMaxSize(); if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; } return $next($request); } /** * Determine the server 'post_max_size' as bytes. * * @return int */ protected function getPostMaxSize() { if (is_numeric($postMaxSize = ini_get('post_max_size'))) { return (int) $postMaxSize; } $metric = strtoupper(substr($postMaxSize, -1)); $postMaxSize = (int) $postMaxSize; switch ($metric) { case 'K': return $postMaxSize * 1024; case 'M': /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php * * @throws \Symfony\Component\HttpKernel\Exception\HttpException */ public function handle($request, Closure $next) { if ($this->app->isDownForMaintenance()) { $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true); if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) { return $next($request); } if ($this->inExceptArray($request)) { return $next($request); } throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']); } return $next($request); } /** * Determine if the request has a URI that should be accessible in maintenance mode. * * @param \Illuminate\Http\Request $request * @return bool */ protected function inExceptArray($request) { foreach ($this->except as $except) { if ($except !== '/') { $except = trim($except, '/'); } if ($request->fullUrlIs($except) || $request->is($except)) { return true; } } /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { /var/www/html/sreevalsam/vendor/fideloper/proxy/src/TrustProxies.php { $this->config = $config; } /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * * @throws \Symfony\Component\HttpKernel\Exception\HttpException * * @return mixed */ public function handle(Request $request, Closure $next) { $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests $this->setTrustedProxyIpAddresses($request); return $next($request); } /** * Sets the trusted proxies on the request to the value of trustedproxy.proxies * * @param \Illuminate\Http\Request $request */ protected function setTrustedProxyIpAddresses(Request $request) { $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies'); // Trust any IP address that calls us // `**` for backwards compatibility, but is deprecated if ($trustedIps === '*' || $trustedIps === '**') { return $this->setTrustedProxyIpAddressesToTheCallingIp($request); } // Support IPs addresses separated by comma $trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps; /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // the appropriate method and arguments, returning the results back out. return $pipe($passable, $stack); } elseif (! is_object($pipe)) { [$name, $parameters] = $this->parsePipeString($pipe); // If the pipe is a string we will parse the string and resolve the class out // of the dependency injection container. We can then build a callable and // execute the pipe function giving in the parameters that are required. $pipe = $this->getContainer()->make($name); $parameters = array_merge([$passable, $stack], $parameters); } else { // If the pipe is already an object we'll just make a callable and pass it to // the pipe as-is. There is no need to do any extra parsing and formatting // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $response = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $response instanceof Responsable ? $response->toResponse($this->getContainer()->make(Request::class)) : $response; }; }; } /** * Parse full pipe string to get name and parameters. * * @param string $pipe * @return array */ protected function parsePipeString($pipe) { [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []); if (is_string($parameters)) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php return $this->handleException($passable, new FatalThrowableError($e)); } }; } /** * Get a Closure that represents a slice of the application onion. * * @return \Closure */ protected function carry() { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); $callable = $slice($stack, $pipe); return $callable($passable); } catch (Exception $e) { return $this->handleException($passable, $e); } catch (Throwable $e) { return $this->handleException($passable, new FatalThrowableError($e)); } }; }; } /** * Handle the given exception. * * @param mixed $passable * @param \Exception $e * @return mixed * * @throws \Exception */ protected function handleException($passable, Exception $e) { /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php public function via($method) { $this->method = $method; return $this; } /** * Run the pipeline with a final destination callback. * * @param \Closure $destination * @return mixed */ public function then(Closure $destination) { $pipeline = array_reduce( array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * * @return mixed */ public function thenReturn() { return $this->then(function ($passable) { return $passable; }); } /** * Get the final piece of the Closure onion. * * @param \Closure $destination * @return \Closure */ /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php } /** * Send the given request through the middleware / router. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ protected function sendRequestThroughRouter($request) { $this->app->instance('request', $request); Facade::clearResolvedInstance('request'); $this->bootstrap(); return (new Pipeline($this->app)) ->send($request) ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); } /** * Bootstrap the application for HTTP requests. * * @return void */ public function bootstrap() { if (! $this->app->hasBeenBootstrapped()) { $this->app->bootstrapWith($this->bootstrappers()); } } /** * Get the route dispatcher callback. * * @return \Closure */ protected function dispatchToRouter() /var/www/html/sreevalsam/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php $router->middlewareGroup($key, $middleware); } foreach ($this->routeMiddleware as $key => $middleware) { $router->aliasMiddleware($key, $middleware); } } /** * Handle an incoming HTTP request. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function handle($request) { try { $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Exception $e) { $this->reportException($e); $response = $this->renderException($request, $e); } catch (Throwable $e) { $this->reportException($e = new FatalThrowableError($e)); $response = $this->renderException($request, $e); } $this->app['events']->dispatch( new Events\RequestHandled($request, $response) ); return $response; } /** * Send the given request through the middleware / router. * /var/www/html/sreevalsam/index.php */ $app = require_once __DIR__.'/bootstrap/app.php'; /* |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | Once we have the application, we can handle the incoming request | through the kernel, and send the associated response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have prepared for them. | */ $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); $response->send(); $kernel->terminate($request, $response); ENVIRONMENT & DETAILS: GET Data empty POST Data empty Files empty Cookies empty Session empty Server/Request Data Key Value USER "www-data" HOME "/var/www" HTTP_ACCEPT_ENCODING "gzip, deflate, br" HTTP_SEC_FETCH_DEST "document" HTTP_SEC_FETCH_USER "?1" HTTP_SEC_FETCH_MODE "navigate" HTTP_SEC_FETCH_SITE "none" HTTP_ACCEPT "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" HTTP_ACCEPT_LANGUAGE "en-US,en;q=0.9" HTTP_USER_AGENT "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.110 Safari/537.36" HTTP_UPGRADE_INSECURE_REQUESTS "1" HTTP_CACHE_CONTROL "no-cache" HTTP_PRAGMA "no-cache" HTTP_CONNECTION "keep-alive" HTTP_HOST "sreevalsaminteriors.com" REDIRECT_STATUS "200" SERVER_NAME "sreevalsaminteriors.com" SERVER_PORT "443" SERVER_ADDR "172.31.35.33" REMOTE_USER "" REMOTE_PORT "44222" REMOTE_ADDR "38.132.118.72" SERVER_SOFTWARE "nginx/1.18.0" GATEWAY_INTERFACE "CGI/1.1" HTTPS "on" REQUEST_SCHEME "https" SERVER_PROTOCOL "HTTP/1.1" DOCUMENT_ROOT "/var/www/html/sreevalsam" DOCUMENT_URI "/index.php" REQUEST_URI "/stock/" SCRIPT_NAME "/index.php" CONTENT_LENGTH "" CONTENT_TYPE "" REQUEST_METHOD "GET" QUERY_STRING "" SCRIPT_FILENAME "/var/www/html/sreevalsam/index.php" PATH_INFO "" FCGI_ROLE "RESPONDER" PHP_SELF "/index.php" REQUEST_TIME_FLOAT 1693236396.7402 REQUEST_TIME 1693236396 APP_NAME "Laravel" APP_ENV "local" APP_KEY "base64:IVhY5Sf/oC/7+1Tg4esC4t0H6jsXRcvCnCNj1LC/IA4=" APP_DEBUG "true" APP_URL "http://sreevalsaminteriors.com" DOMAIN "sreevalsaminteriors.com" ADMIN_DOMAIN "admin.sreevalsaminteriors.com" LOG_CHANNEL "stack" DB_CONNECTION "mysql" DB_HOST "127.0.0.1" DB_PORT "3306" DB_DATABASE "sreevalsam" DB_USERNAME "methree_server" DB_PASSWORD "C93VP8ly" BROADCAST_DRIVER "log" CACHE_DRIVER "file" QUEUE_CONNECTION "sync" SESSION_DRIVER "cookie" SESSION_LIFETIME "120" REDIS_HOST "127.0.0.1" REDIS_PASSWORD "null" REDIS_PORT "6379" MAIL_MAILER "smtp" MAIL_HOST "smtp-relay.sendinblue.com" MAIL_PORT "587" MAIL_USERNAME "nikhilsreevalsam@gmail.com" MAIL_PASSWORD "Tf5d96K7J1zXWRVD" MAIL_ENCRYPTION "null" MAIL_FROM_ADDRESS "enquiry@sreevalsaminteriors.com" MAIL_FROM_NAME "sreevalsam" AWS_ACCESS_KEY_ID "" AWS_SECRET_ACCESS_KEY "" AWS_DEFAULT_REGION "us-east-1" AWS_BUCKET "" PUSHER_APP_ID "" PUSHER_APP_KEY "" PUSHER_APP_SECRET "" PUSHER_APP_CLUSTER "mt1" MIX_PUSHER_APP_KEY "" MIX_PUSHER_APP_CLUSTER "mt1" NOCAPTCHA_SITEKEY "6LdyXdQZAAAAAM2CHJaTpmyXkRNcszffCcP7jXSg" NOCAPTCHA_SECRET "6LdyXdQZAAAAAOsr6-HxzODT75xOiXz3p7AgceeH" Environment Variables Key Value APP_NAME "Laravel" APP_ENV "local" APP_KEY "base64:IVhY5Sf/oC/7+1Tg4esC4t0H6jsXRcvCnCNj1LC/IA4=" APP_DEBUG "true" APP_URL "http://sreevalsaminteriors.com" DOMAIN "sreevalsaminteriors.com" ADMIN_DOMAIN "admin.sreevalsaminteriors.com" LOG_CHANNEL "stack" DB_CONNECTION "mysql" DB_HOST "127.0.0.1" DB_PORT "3306" DB_DATABASE "sreevalsam" DB_USERNAME "methree_server" DB_PASSWORD "C93VP8ly" BROADCAST_DRIVER "log" CACHE_DRIVER "file" QUEUE_CONNECTION "sync" SESSION_DRIVER "cookie" SESSION_LIFETIME "120" REDIS_HOST "127.0.0.1" REDIS_PASSWORD "null" REDIS_PORT "6379" MAIL_MAILER "smtp" MAIL_HOST "smtp-relay.sendinblue.com" MAIL_PORT "587" MAIL_USERNAME "nikhilsreevalsam@gmail.com" MAIL_PASSWORD "Tf5d96K7J1zXWRVD" MAIL_ENCRYPTION "null" MAIL_FROM_ADDRESS "enquiry@sreevalsaminteriors.com" MAIL_FROM_NAME "sreevalsam" AWS_ACCESS_KEY_ID "" AWS_SECRET_ACCESS_KEY "" AWS_DEFAULT_REGION "us-east-1" AWS_BUCKET "" PUSHER_APP_ID "" PUSHER_APP_KEY "" PUSHER_APP_SECRET "" PUSHER_APP_CLUSTER "mt1" MIX_PUSHER_APP_KEY "" MIX_PUSHER_APP_CLUSTER "mt1" NOCAPTCHA_SITEKEY "6LdyXdQZAAAAAM2CHJaTpmyXkRNcszffCcP7jXSg" NOCAPTCHA_SECRET "6LdyXdQZAAAAAOsr6-HxzODT75xOiXz3p7AgceeH" Registered Handlers 0. Whoops\Handler\PrettyPageHandler