if($plugin && method_exists($plugin, 'signin')) { $data = (new $plugin())->signin(); } return $this->view("auth::Admin", compact('data')); }} if($plugin && method_exists($plugin, 'signin')) { $data = (new $plugin())->signin(); } return $this->view("auth::Admin", compact('data')); }} if (static::isCallableWithAtSign($callback) || $defaultMethod) { return static::callClass($container, $callback, $parameters, $defaultMethod); } return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) { return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters))); }); } /** * Call a string reference to a class using Class@method syntax. * @param mixed $value * @return mixed */ public static function unwrapIfClosure($value) { return $value instanceof Closure ? $value() : $value; } /** * Get the class name of the given parameter's type, if possible. * if ($container->hasMethodBinding($method)) { return $container->callMethodBinding($method, $callback[0]); } return Util::unwrapIfClosure($default); } /** * Normalize the given callback into a Class@method string. * return static::callClass($container, $callback, $parameters, $defaultMethod); } return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) { return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters))); }); } /** * Call a string reference to a class using Class@method syntax. * * * @throws \InvalidArgumentException */ public function call($callback, array $parameters = [], $defaultMethod = null) { return BoundMethod::call($this, $callback, $parameters, $defaultMethod); } /** * Get a closure to resolve the given type from the container. * */ protected function callControllerCallable(callable $callable, array $parameters = []) { try { return $this->prepareResponse( $this->call($callable, $parameters) ); } catch (HttpResponseException $e) { return $e->getResponse(); } } return $this->callLumenControllerWithMiddleware( $instance, $method, $routeInfo, $middleware ); } else { return $this->callControllerCallable( [$instance, $method], $routeInfo[2] ); } } /** if (! method_exists($instance = $this->make($controller), $method)) { throw new NotFoundHttpException; } if ($instance instanceof LumenController) { return $this->callLumenController($instance, $method, $routeInfo); } else { return $this->callControllerCallable( [$instance, $method], $routeInfo[2] ); } protected function callActionOnArrayBasedRoute($routeInfo) { $action = $routeInfo[1]; if (isset($action['uses'])) { return $this->prepareResponse($this->callControllerAction($routeInfo)); } foreach ($action as $value) { if ($value instanceof Closure) { $callable = $value->bindTo(new RoutingClosure); // Pipe through route middleware... if (isset($action['middleware'])) { $middleware = $this->gatherMiddlewareClassNames($action['middleware']); return $this->prepareResponse($this->sendThroughPipeline($middleware, function () { return $this->callActionOnArrayBasedRoute($this['request']->route()); })); } return $this->prepareResponse( $this->callActionOnArrayBasedRoute($routeInfo) */ protected function prepareDestination(BaseClosure $destination) { return function ($passable) use ($destination) { try { return call_user_func($destination, $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; } ], 404); } else redirect(""); } return $next($request); }} // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $carry = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $this->handleCarry($carry); } catch (Throwable $e) { return $this->handleException($passable, $e); return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; { $locale = strtolower($locale); app()->setLocale($locale); $_SESSION['locale'] = $locale; } return $next($request); }} // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $carry = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $this->handleCarry($carry); } catch (Throwable $e) { return $this->handleException($passable, $e); return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * { if (count($middleware) > 0 && ! $this->shouldSkipMiddleware()) { return (new Pipeline($this)) ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } if (isset($action['middleware'])) { $middleware = $this->gatherMiddlewareClassNames($action['middleware']); return $this->prepareResponse($this->sendThroughPipeline($middleware, function () { return $this->callActionOnArrayBasedRoute($this['request']->route()); })); } return $this->prepareResponse( $this->callActionOnArrayBasedRoute($routeInfo) ); return $this->sendThroughPipeline($this->middleware, function ($request) use ($method, $pathInfo) { $this->instance(Request::class, $request); if (isset($this->router->getRoutes()[$method.$pathInfo])) { return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]); } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } /** * Prepare the response for sending. * } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); }); } catch (Throwable $e) { return $this->prepareResponse($this->sendExceptionToHandler($e)); } } * @param SymfonyRequest|null $request * @return void */ public function run($request = null) { $response = $this->dispatch($request); if ($response instanceof SymfonyResponse) { $response->send(); } else { echo (string) $response;| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$app->run();
|
ErrorException
|
|---|
ErrorException:
compact(): Undefined variable: data
at /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/modules/auth/src/Controllers/Admin/AuthController.php:14
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
at compact()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/modules/auth/src/Controllers/Admin/AuthController.php:14)
at Codesgit\Auth\Controllers\Admin\AuthController->signin()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/container/BoundMethod.php:36)
at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/container/Util.php:37)
at Illuminate\Container\Util::unwrapIfClosure()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/container/BoundMethod.php:93)
at Illuminate\Container\BoundMethod::callBoundMethod()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/container/BoundMethod.php:37)
at Illuminate\Container\BoundMethod::call()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/container/Container.php:596)
at Illuminate\Container\Container->call()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:386)
at Laravel\Lumen\Application->callControllerCallable()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:352)
at Laravel\Lumen\Application->callLumenController()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:326)
at Laravel\Lumen\Application->callControllerAction()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:279)
at Laravel\Lumen\Application->callActionOnArrayBasedRoute()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:259)
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:48)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/modules/auth/src/Middleware/Guest.php:60)
at Codesgit\Auth\Middleware\Guest->handle()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/modules/locales/src/Middleware/SetLocale.php:30)
at Codesgit\Locales\Middleware\SetLocale->handle()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:423)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:260)
at Laravel\Lumen\Application->handleFoundRoute()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:166)
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:426)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:172)
at Laravel\Lumen\Application->dispatch()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:109)
at Laravel\Lumen\Application->run()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/public_html/index.php:30)
|
private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** <?php } ?> <?= $this->include('views/exception.html.php', $context); ?> <script> <?= $this->include('assets/js/exception.js'); ?> </script> </body></html><!-- <?= $_message; ?> --> private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** 'exception' => $exception, 'exceptionMessage' => $exceptionMessage, 'statusText' => $statusText, 'statusCode' => $statusCode, 'logger' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null, 'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(), ]); } /** * Formats an array as a string. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine(); } $exception = FlattenException::createFromThrowable($exception, null, $headers); return $exception->setAsString($this->renderException($exception)); } /** * Gets the HTML content associated with the given exception. */ */ protected function renderExceptionWithSymfony(Throwable $e, $debug) { $renderer = new HtmlErrorRenderer($debug); return $renderer->render($e)->getAsString(); } /** * Render an exception to the console. * * @return \Illuminate\Http\Response */ protected function prepareResponse($request, Throwable $e) { $response = new Response( $this->renderExceptionWithSymfony($e, config('app.debug', false)), $this->isHttpException($e) ? $e->getStatusCode() : 500 ); $response->exception = $e; return $e->getResponse(); } return $request->expectsJson() ? $this->prepareJsonResponse($request, $e) : $this->prepareResponse($request, $e); } /** * Prepare a JSON response for the given exception. * * * @throws \Throwable */ public function render($request, Throwable $exception) { return parent::render($request, $exception); }} $handler = $this->container->make(ExceptionHandler::class); $handler->report($e); return $handler->render($passable, $e); }} { return function ($passable) use ($destination) { try { return call_user_func($destination, $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; } /** ], 404); } else redirect(""); } return $next($request); }} // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $carry = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $this->handleCarry($carry); } catch (Throwable $e) { return $this->handleException($passable, $e); return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; { $locale = strtolower($locale); app()->setLocale($locale); $_SESSION['locale'] = $locale; } return $next($request); }} // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $carry = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $this->handleCarry($carry); } catch (Throwable $e) { return $this->handleException($passable, $e); return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * { if (count($middleware) > 0 && ! $this->shouldSkipMiddleware()) { return (new Pipeline($this)) ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } if (isset($action['middleware'])) { $middleware = $this->gatherMiddlewareClassNames($action['middleware']); return $this->prepareResponse($this->sendThroughPipeline($middleware, function () { return $this->callActionOnArrayBasedRoute($this['request']->route()); })); } return $this->prepareResponse( $this->callActionOnArrayBasedRoute($routeInfo) ); return $this->sendThroughPipeline($this->middleware, function ($request) use ($method, $pathInfo) { $this->instance(Request::class, $request); if (isset($this->router->getRoutes()[$method.$pathInfo])) { return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]); } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } /** * Prepare the response for sending. * } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); }); } catch (Throwable $e) { return $this->prepareResponse($this->sendExceptionToHandler($e)); } } * @param SymfonyRequest|null $request * @return void */ public function run($request = null) { $response = $this->dispatch($request); if ($response instanceof SymfonyResponse) { $response->send(); } else { echo (string) $response;| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$app->run();
|
ErrorException
|
|---|
ErrorException:
include(assets/js/exception.js): failed to open stream: No such file or directory
at /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
at include('/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:155)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:81)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:187)
at Laravel\Lumen\Exceptions\Handler->renderExceptionWithSymfony()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:167)
at Laravel\Lumen\Exceptions\Handler->prepareResponse()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:116)
at Laravel\Lumen\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/app/Exceptions/Handler.php:52)
at App\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:72)
at Laravel\Lumen\Routing\Pipeline->handleException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:50)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/modules/auth/src/Middleware/Guest.php:60)
at Codesgit\Auth\Middleware\Guest->handle()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/modules/locales/src/Middleware/SetLocale.php:30)
at Codesgit\Locales\Middleware\SetLocale->handle()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:423)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:260)
at Laravel\Lumen\Application->handleFoundRoute()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:166)
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:426)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:172)
at Laravel\Lumen\Application->dispatch()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:109)
at Laravel\Lumen\Application->run()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/public_html/index.php:30)
|
private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** <?php } ?> <?= $this->include('views/exception.html.php', $context); ?> <script> <?= $this->include('assets/js/exception.js'); ?> </script> </body></html><!-- <?= $_message; ?> --> private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** 'exception' => $exception, 'exceptionMessage' => $exceptionMessage, 'statusText' => $statusText, 'statusCode' => $statusCode, 'logger' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null, 'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(), ]); } /** * Formats an array as a string. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine(); } $exception = FlattenException::createFromThrowable($exception, null, $headers); return $exception->setAsString($this->renderException($exception)); } /** * Gets the HTML content associated with the given exception. */ */ protected function renderExceptionWithSymfony(Throwable $e, $debug) { $renderer = new HtmlErrorRenderer($debug); return $renderer->render($e)->getAsString(); } /** * Render an exception to the console. * * @return \Illuminate\Http\Response */ protected function prepareResponse($request, Throwable $e) { $response = new Response( $this->renderExceptionWithSymfony($e, config('app.debug', false)), $this->isHttpException($e) ? $e->getStatusCode() : 500 ); $response->exception = $e; return $e->getResponse(); } return $request->expectsJson() ? $this->prepareJsonResponse($request, $e) : $this->prepareResponse($request, $e); } /** * Prepare a JSON response for the given exception. * * * @throws \Throwable */ public function render($request, Throwable $exception) { return parent::render($request, $exception); }} $handler = $this->container->make(ExceptionHandler::class); $handler->report($e); return $handler->render($passable, $e); }} ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $this->handleCarry($carry); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; } return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; { $locale = strtolower($locale); app()->setLocale($locale); $_SESSION['locale'] = $locale; } return $next($request); }} // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $carry = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $this->handleCarry($carry); } catch (Throwable $e) { return $this->handleException($passable, $e); return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * { if (count($middleware) > 0 && ! $this->shouldSkipMiddleware()) { return (new Pipeline($this)) ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } if (isset($action['middleware'])) { $middleware = $this->gatherMiddlewareClassNames($action['middleware']); return $this->prepareResponse($this->sendThroughPipeline($middleware, function () { return $this->callActionOnArrayBasedRoute($this['request']->route()); })); } return $this->prepareResponse( $this->callActionOnArrayBasedRoute($routeInfo) ); return $this->sendThroughPipeline($this->middleware, function ($request) use ($method, $pathInfo) { $this->instance(Request::class, $request); if (isset($this->router->getRoutes()[$method.$pathInfo])) { return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]); } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } /** * Prepare the response for sending. * } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); }); } catch (Throwable $e) { return $this->prepareResponse($this->sendExceptionToHandler($e)); } } * @param SymfonyRequest|null $request * @return void */ public function run($request = null) { $response = $this->dispatch($request); if ($response instanceof SymfonyResponse) { $response->send(); } else { echo (string) $response;| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$app->run();
|
ErrorException
|
|---|
ErrorException:
include(assets/js/exception.js): failed to open stream: No such file or directory
at /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
at include('/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:155)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:81)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:187)
at Laravel\Lumen\Exceptions\Handler->renderExceptionWithSymfony()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:167)
at Laravel\Lumen\Exceptions\Handler->prepareResponse()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:116)
at Laravel\Lumen\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/app/Exceptions/Handler.php:52)
at App\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:72)
at Laravel\Lumen\Routing\Pipeline->handleException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:172)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/modules/locales/src/Middleware/SetLocale.php:30)
at Codesgit\Locales\Middleware\SetLocale->handle()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:423)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:260)
at Laravel\Lumen\Application->handleFoundRoute()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:166)
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:426)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:172)
at Laravel\Lumen\Application->dispatch()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:109)
at Laravel\Lumen\Application->run()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/public_html/index.php:30)
|
private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** <?php } ?> <?= $this->include('views/exception.html.php', $context); ?> <script> <?= $this->include('assets/js/exception.js'); ?> </script> </body></html><!-- <?= $_message; ?> --> private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** 'exception' => $exception, 'exceptionMessage' => $exceptionMessage, 'statusText' => $statusText, 'statusCode' => $statusCode, 'logger' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null, 'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(), ]); } /** * Formats an array as a string. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine(); } $exception = FlattenException::createFromThrowable($exception, null, $headers); return $exception->setAsString($this->renderException($exception)); } /** * Gets the HTML content associated with the given exception. */ */ protected function renderExceptionWithSymfony(Throwable $e, $debug) { $renderer = new HtmlErrorRenderer($debug); return $renderer->render($e)->getAsString(); } /** * Render an exception to the console. * * @return \Illuminate\Http\Response */ protected function prepareResponse($request, Throwable $e) { $response = new Response( $this->renderExceptionWithSymfony($e, config('app.debug', false)), $this->isHttpException($e) ? $e->getStatusCode() : 500 ); $response->exception = $e; return $e->getResponse(); } return $request->expectsJson() ? $this->prepareJsonResponse($request, $e) : $this->prepareResponse($request, $e); } /** * Prepare a JSON response for the given exception. * * * @throws \Throwable */ public function render($request, Throwable $exception) { return parent::render($request, $exception); }} $handler = $this->container->make(ExceptionHandler::class); $handler->report($e); return $handler->render($passable, $e); }} try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; } { $locale = strtolower($locale); app()->setLocale($locale); $_SESSION['locale'] = $locale; } return $next($request); }} // since the object we're given was already a fully instantiated object. $parameters = [$passable, $stack]; } $carry = method_exists($pipe, $this->method) ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $this->handleCarry($carry); } catch (Throwable $e) { return $this->handleException($passable, $e); return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * { if (count($middleware) > 0 && ! $this->shouldSkipMiddleware()) { return (new Pipeline($this)) ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } if (isset($action['middleware'])) { $middleware = $this->gatherMiddlewareClassNames($action['middleware']); return $this->prepareResponse($this->sendThroughPipeline($middleware, function () { return $this->callActionOnArrayBasedRoute($this['request']->route()); })); } return $this->prepareResponse( $this->callActionOnArrayBasedRoute($routeInfo) ); return $this->sendThroughPipeline($this->middleware, function ($request) use ($method, $pathInfo) { $this->instance(Request::class, $request); if (isset($this->router->getRoutes()[$method.$pathInfo])) { return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]); } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } /** * Prepare the response for sending. * } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); }); } catch (Throwable $e) { return $this->prepareResponse($this->sendExceptionToHandler($e)); } } * @param SymfonyRequest|null $request * @return void */ public function run($request = null) { $response = $this->dispatch($request); if ($response instanceof SymfonyResponse) { $response->send(); } else { echo (string) $response;| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$app->run();
|
ErrorException
|
|---|
ErrorException:
include(assets/js/exception.js): failed to open stream: No such file or directory
at /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
at include('/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:155)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:81)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:187)
at Laravel\Lumen\Exceptions\Handler->renderExceptionWithSymfony()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:167)
at Laravel\Lumen\Exceptions\Handler->prepareResponse()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:116)
at Laravel\Lumen\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/app/Exceptions/Handler.php:52)
at App\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:72)
at Laravel\Lumen\Routing\Pipeline->handleException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:32)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/modules/locales/src/Middleware/SetLocale.php:30)
at Codesgit\Locales\Middleware\SetLocale->handle()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:167)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:423)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:260)
at Laravel\Lumen\Application->handleFoundRoute()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:166)
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:426)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:172)
at Laravel\Lumen\Application->dispatch()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:109)
at Laravel\Lumen\Application->run()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/public_html/index.php:30)
|
private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** <?php } ?> <?= $this->include('views/exception.html.php', $context); ?> <script> <?= $this->include('assets/js/exception.js'); ?> </script> </body></html><!-- <?= $_message; ?> --> private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** 'exception' => $exception, 'exceptionMessage' => $exceptionMessage, 'statusText' => $statusText, 'statusCode' => $statusCode, 'logger' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null, 'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(), ]); } /** * Formats an array as a string. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine(); } $exception = FlattenException::createFromThrowable($exception, null, $headers); return $exception->setAsString($this->renderException($exception)); } /** * Gets the HTML content associated with the given exception. */ */ protected function renderExceptionWithSymfony(Throwable $e, $debug) { $renderer = new HtmlErrorRenderer($debug); return $renderer->render($e)->getAsString(); } /** * Render an exception to the console. * * @return \Illuminate\Http\Response */ protected function prepareResponse($request, Throwable $e) { $response = new Response( $this->renderExceptionWithSymfony($e, config('app.debug', false)), $this->isHttpException($e) ? $e->getStatusCode() : 500 ); $response->exception = $e; return $e->getResponse(); } return $request->expectsJson() ? $this->prepareJsonResponse($request, $e) : $this->prepareResponse($request, $e); } /** * Prepare a JSON response for the given exception. * * * @throws \Throwable */ public function render($request, Throwable $exception) { return parent::render($request, $exception); }} $handler = $this->container->make(ExceptionHandler::class); $handler->report($e); return $handler->render($passable, $e); }} ? $pipe->{$this->method}(...$parameters) : $pipe(...$parameters); return $this->handleCarry($carry); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; } return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * { if (count($middleware) > 0 && ! $this->shouldSkipMiddleware()) { return (new Pipeline($this)) ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } if (isset($action['middleware'])) { $middleware = $this->gatherMiddlewareClassNames($action['middleware']); return $this->prepareResponse($this->sendThroughPipeline($middleware, function () { return $this->callActionOnArrayBasedRoute($this['request']->route()); })); } return $this->prepareResponse( $this->callActionOnArrayBasedRoute($routeInfo) ); return $this->sendThroughPipeline($this->middleware, function ($request) use ($method, $pathInfo) { $this->instance(Request::class, $request); if (isset($this->router->getRoutes()[$method.$pathInfo])) { return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]); } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } /** * Prepare the response for sending. * } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); }); } catch (Throwable $e) { return $this->prepareResponse($this->sendExceptionToHandler($e)); } } * @param SymfonyRequest|null $request * @return void */ public function run($request = null) { $response = $this->dispatch($request); if ($response instanceof SymfonyResponse) { $response->send(); } else { echo (string) $response;| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$app->run();
|
ErrorException
|
|---|
ErrorException:
include(assets/js/exception.js): failed to open stream: No such file or directory
at /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
at include('/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:155)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:81)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:187)
at Laravel\Lumen\Exceptions\Handler->renderExceptionWithSymfony()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:167)
at Laravel\Lumen\Exceptions\Handler->prepareResponse()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:116)
at Laravel\Lumen\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/app/Exceptions/Handler.php:52)
at App\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:72)
at Laravel\Lumen\Routing\Pipeline->handleException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:172)
at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
at call_user_func()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:30)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:423)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:260)
at Laravel\Lumen\Application->handleFoundRoute()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:166)
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:426)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:172)
at Laravel\Lumen\Application->dispatch()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:109)
at Laravel\Lumen\Application->run()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/public_html/index.php:30)
|
private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** <?php } ?> <?= $this->include('views/exception.html.php', $context); ?> <script> <?= $this->include('assets/js/exception.js'); ?> </script> </body></html><!-- <?= $_message; ?> --> private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** 'exception' => $exception, 'exceptionMessage' => $exceptionMessage, 'statusText' => $statusText, 'statusCode' => $statusCode, 'logger' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null, 'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(), ]); } /** * Formats an array as a string. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine(); } $exception = FlattenException::createFromThrowable($exception, null, $headers); return $exception->setAsString($this->renderException($exception)); } /** * Gets the HTML content associated with the given exception. */ */ protected function renderExceptionWithSymfony(Throwable $e, $debug) { $renderer = new HtmlErrorRenderer($debug); return $renderer->render($e)->getAsString(); } /** * Render an exception to the console. * * @return \Illuminate\Http\Response */ protected function prepareResponse($request, Throwable $e) { $response = new Response( $this->renderExceptionWithSymfony($e, config('app.debug', false)), $this->isHttpException($e) ? $e->getStatusCode() : 500 ); $response->exception = $e; return $e->getResponse(); } return $request->expectsJson() ? $this->prepareJsonResponse($request, $e) : $this->prepareResponse($request, $e); } /** * Prepare a JSON response for the given exception. * * * @throws \Throwable */ public function render($request, Throwable $exception) { return parent::render($request, $exception); }} $handler = $this->container->make(ExceptionHandler::class); $handler->report($e); return $handler->render($passable, $e); }} try { $slice = parent::carry(); return call_user_func($slice($stack, $pipe), $passable); } catch (Throwable $e) { return $this->handleException($passable, $e); } }; }; } { $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) ); return $pipeline($this->passable); } /** * Run the pipeline and return the result. * { if (count($middleware) > 0 && ! $this->shouldSkipMiddleware()) { return (new Pipeline($this)) ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } if (isset($action['middleware'])) { $middleware = $this->gatherMiddlewareClassNames($action['middleware']); return $this->prepareResponse($this->sendThroughPipeline($middleware, function () { return $this->callActionOnArrayBasedRoute($this['request']->route()); })); } return $this->prepareResponse( $this->callActionOnArrayBasedRoute($routeInfo) ); return $this->sendThroughPipeline($this->middleware, function ($request) use ($method, $pathInfo) { $this->instance(Request::class, $request); if (isset($this->router->getRoutes()[$method.$pathInfo])) { return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]); } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); ->send($this->make('request')) ->through($middleware) ->then($then); } return $then($this->make('request')); } /** * Prepare the response for sending. * } return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); }); } catch (Throwable $e) { return $this->prepareResponse($this->sendExceptionToHandler($e)); } } * @param SymfonyRequest|null $request * @return void */ public function run($request = null) { $response = $this->dispatch($request); if ($response instanceof SymfonyResponse) { $response->send(); } else { echo (string) $response;| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$app->run();
|
ErrorException
|
|---|
ErrorException:
include(assets/js/exception.js): failed to open stream: No such file or directory
at /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
at include('/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:155)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:81)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:187)
at Laravel\Lumen\Exceptions\Handler->renderExceptionWithSymfony()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:167)
at Laravel\Lumen\Exceptions\Handler->prepareResponse()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:116)
at Laravel\Lumen\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/app/Exceptions/Handler.php:52)
at App\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:72)
at Laravel\Lumen\Routing\Pipeline->handleException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Routing/Pipeline.php:32)
at Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/illuminate/pipeline/Pipeline.php:103)
at Illuminate\Pipeline\Pipeline->then()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:423)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:260)
at Laravel\Lumen\Application->handleFoundRoute()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:166)
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:426)
at Laravel\Lumen\Application->sendThroughPipeline()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:172)
at Laravel\Lumen\Application->dispatch()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:109)
at Laravel\Lumen\Application->run()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/public_html/index.php:30)
|
private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** <?php } ?> <?= $this->include('views/exception.html.php', $context); ?> <script> <?= $this->include('assets/js/exception.js'); ?> </script> </body></html><!-- <?= $_message; ?> --> private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /** 'exception' => $exception, 'exceptionMessage' => $exceptionMessage, 'statusText' => $statusText, 'statusCode' => $statusCode, 'logger' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null, 'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(), ]); } /** * Formats an array as a string. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine(); } $exception = FlattenException::createFromThrowable($exception, null, $headers); return $exception->setAsString($this->renderException($exception)); } /** * Gets the HTML content associated with the given exception. */ */ protected function renderExceptionWithSymfony(Throwable $e, $debug) { $renderer = new HtmlErrorRenderer($debug); return $renderer->render($e)->getAsString(); } /** * Render an exception to the console. * * @return \Illuminate\Http\Response */ protected function prepareResponse($request, Throwable $e) { $response = new Response( $this->renderExceptionWithSymfony($e, config('app.debug', false)), $this->isHttpException($e) ? $e->getStatusCode() : 500 ); $response->exception = $e; return $e->getResponse(); } return $request->expectsJson() ? $this->prepareJsonResponse($request, $e) : $this->prepareResponse($request, $e); } /** * Prepare a JSON response for the given exception. * * * @throws \Throwable */ public function render($request, Throwable $exception) { return parent::render($request, $exception); }} { $handler = $this->resolveExceptionHandler(); $handler->report($e); return $handler->render($this->make('request'), $e); } /** * Handle an uncaught exception instance. * return $this->handleDispatcherResponse( $this->createDispatcher()->dispatch($method, $pathInfo) ); }); } catch (Throwable $e) { return $this->prepareResponse($this->sendExceptionToHandler($e)); } } /** * Parse the incoming request and return the method and path info. * @param SymfonyRequest|null $request * @return void */ public function run($request = null) { $response = $this->dispatch($request); if ($response instanceof SymfonyResponse) { $response->send(); } else { echo (string) $response;| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$app->run();
|
ErrorException
|
|---|
ErrorException:
include(assets/js/exception.js): failed to open stream: No such file or directory
at /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353
at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
at include('/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:155)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:81)
at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:187)
at Laravel\Lumen\Exceptions\Handler->renderExceptionWithSymfony()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:167)
at Laravel\Lumen\Exceptions\Handler->prepareResponse()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Exceptions/Handler.php:116)
at Laravel\Lumen\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/app/Exceptions/Handler.php:52)
at App\Exceptions\Handler->render()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php:106)
at Laravel\Lumen\Application->sendExceptionToHandler()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:174)
at Laravel\Lumen\Application->dispatch()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:109)
at Laravel\Lumen\Application->run()
(/var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/public_html/index.php:30)
|
private function include(string $name, array $context = []): string { extract($context, \EXTR_SKIP); ob_start(); include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name; return trim(ob_get_clean()); } /**|
FatalError
|
|---|
Symfony\Component\ErrorHandler\Error\FatalError:
Uncaught ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353
Stack trace:
#0 /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(353): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#1 /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(353): include()
#2 /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include()
#3 /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(353): include('/var/www/vhosts...')
#4 /var/www/vhost
at /var/www/vhosts/mawaredlimited.com/beauty.mawaredlimited.com/system/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:353
|