Symfony Exception

ErrorException

HTTP 500 Internal Server Error

compact(): Undefined variable: data

Exception

ErrorException

  1.         
  2.         if($plugin && method_exists($plugin'signin'))
  3.         {
  4.             $data = (new $plugin())->signin();
  5.         }
  6.         return $this->view("auth::Admin"compact('data'));
  7.     }
  8. }
Application->Laravel\Lumen\Concerns\{closure}()
  1.         
  2.         if($plugin && method_exists($plugin'signin'))
  3.         {
  4.             $data = (new $plugin())->signin();
  5.         }
  6.         return $this->view("auth::Admin"compact('data'));
  7.     }
  8. }
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
  1.      * @param  mixed  $value
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value)
  5.     {
  6.         return $value instanceof Closure $value() : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
  1.             return static::callClass($container$callback$parameters$defaultMethod);
  2.         }
  3.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  4.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  5.         });
  6.     }
  7.     /**
  8.      * Call a string reference to a class using Class@method syntax.
  9.      *
  1.      *
  2.      * @throws \InvalidArgumentException
  3.      */
  4.     public function call($callback, array $parameters = [], $defaultMethod null)
  5.     {
  6.         return BoundMethod::call($this$callback$parameters$defaultMethod);
  7.     }
  8.     /**
  9.      * Get a closure to resolve the given type from the container.
  10.      *
  1.      */
  2.     protected function callControllerCallable(callable $callable, array $parameters = [])
  3.     {
  4.         try {
  5.             return $this->prepareResponse(
  6.                 $this->call($callable$parameters)
  7.             );
  8.         } catch (HttpResponseException $e) {
  9.             return $e->getResponse();
  10.         }
  11.     }
  1.             return $this->callLumenControllerWithMiddleware(
  2.                 $instance$method$routeInfo$middleware
  3.             );
  4.         } else {
  5.             return $this->callControllerCallable(
  6.                 [$instance$method], $routeInfo[2]
  7.             );
  8.         }
  9.     }
  10.     /**
  1.         if (! method_exists($instance $this->make($controller), $method)) {
  2.             throw new NotFoundHttpException;
  3.         }
  4.         if ($instance instanceof LumenController) {
  5.             return $this->callLumenController($instance$method$routeInfo);
  6.         } else {
  7.             return $this->callControllerCallable(
  8.                 [$instance$method], $routeInfo[2]
  9.             );
  10.         }
  1.     protected function callActionOnArrayBasedRoute($routeInfo)
  2.     {
  3.         $action $routeInfo[1];
  4.         if (isset($action['uses'])) {
  5.             return $this->prepareResponse($this->callControllerAction($routeInfo));
  6.         }
  7.         foreach ($action as $value) {
  8.             if ($value instanceof Closure) {
  9.                 $callable $value->bindTo(new RoutingClosure);
  1.         // Pipe through route middleware...
  2.         if (isset($action['middleware'])) {
  3.             $middleware $this->gatherMiddlewareClassNames($action['middleware']);
  4.             return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
  5.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  6.             }));
  7.         }
  8.         return $this->prepareResponse(
  9.             $this->callActionOnArrayBasedRoute($routeInfo)
Application->Laravel\Lumen\Concerns\{closure}()
  1.      */
  2.     protected function prepareDestination(BaseClosure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return call_user_func($destination$passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  1.                 ], 404);
  2.             }
  3.             else redirect("");
  4.         }
  5.         
  6.         return $next($request);
  7.     }
  8. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
Pipeline->Illuminate\Pipeline\{closure}()
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return call_user_func($slice($stack$pipe), $passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
  1.         {
  2.             $locale strtolower($locale);
  3.             app()->setLocale($locale);
  4.             $_SESSION['locale'] = $locale;
  5.         }
  6.         return $next($request);
  7.     }
  8. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
Pipeline->Illuminate\Pipeline\{closure}()
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return call_user_func($slice($stack$pipe), $passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.     {
  2.         if (count($middleware) > && ! $this->shouldSkipMiddleware()) {
  3.             return (new Pipeline($this))
  4.                 ->send($this->make('request'))
  5.                 ->through($middleware)
  6.                 ->then($then);
  7.         }
  8.         return $then($this->make('request'));
  9.     }
  1.         if (isset($action['middleware'])) {
  2.             $middleware $this->gatherMiddlewareClassNames($action['middleware']);
  3.             return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
  4.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  5.             }));
  6.         }
  7.         return $this->prepareResponse(
  8.             $this->callActionOnArrayBasedRoute($routeInfo)
  9.         );
  1.             return $this->sendThroughPipeline($this->middleware, function ($request) use ($method$pathInfo) {
  2.                 $this->instance(Request::class, $request);
  3.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  4.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  5.                 }
  6.                 return $this->handleDispatcherResponse(
  7.                     $this->createDispatcher()->dispatch($method$pathInfo)
  8.                 );
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

ErrorException
ErrorException:
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)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): failed to open stream: No such file or directory

Exception

ErrorException

  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.         <?php ?>
  2.         <?= $this->include('views/exception.html.php'$context); ?>
  3.         <script>
  4.             <?= $this->include('assets/js/exception.js'); ?>
  5.         </script>
  6.     </body>
  7. </html>
  8. <!-- <?= $_message?> -->
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.             'exception' => $exception,
  2.             'exceptionMessage' => $exceptionMessage,
  3.             'statusText' => $statusText,
  4.             'statusCode' => $statusCode,
  5.             'logger' => $this->logger instanceof DebugLoggerInterface $this->logger null,
  6.             'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),
  7.         ]);
  8.     }
  9.     /**
  10.      * Formats an array as a string.
  1.             $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2.         }
  3.         $exception FlattenException::createFromThrowable($exceptionnull$headers);
  4.         return $exception->setAsString($this->renderException($exception));
  5.     }
  6.     /**
  7.      * Gets the HTML content associated with the given exception.
  8.      */
  1.      */
  2.     protected function renderExceptionWithSymfony(Throwable $e$debug)
  3.     {
  4.         $renderer = new HtmlErrorRenderer($debug);
  5.         return $renderer->render($e)->getAsString();
  6.     }
  7.     /**
  8.      * Render an exception to the console.
  9.      *
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         $response = new Response(
  6.             $this->renderExceptionWithSymfony($econfig('app.debug'false)),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500
  8.         );
  9.         $response->exception $e;
  1.             return $e->getResponse();
  2.         }
  3.         return $request->expectsJson()
  4.                         ? $this->prepareJsonResponse($request$e)
  5.                         : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Prepare a JSON response for the given exception.
  9.      *
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function render($requestThrowable $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8. }
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         return $handler->render($passable$e);
  4.     }
  5. }
  1.     {
  2.         return function ($passable) use ($destination) {
  3.             try {
  4.                 return call_user_func($destination$passable);
  5.             } catch (Throwable $e) {
  6.                 return $this->handleException($passable$e);
  7.             }
  8.         };
  9.     }
  10.     /**
  1.                 ], 404);
  2.             }
  3.             else redirect("");
  4.         }
  5.         
  6.         return $next($request);
  7.     }
  8. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
Pipeline->Illuminate\Pipeline\{closure}()
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return call_user_func($slice($stack$pipe), $passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
  1.         {
  2.             $locale strtolower($locale);
  3.             app()->setLocale($locale);
  4.             $_SESSION['locale'] = $locale;
  5.         }
  6.         return $next($request);
  7.     }
  8. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
Pipeline->Illuminate\Pipeline\{closure}()
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return call_user_func($slice($stack$pipe), $passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.     {
  2.         if (count($middleware) > && ! $this->shouldSkipMiddleware()) {
  3.             return (new Pipeline($this))
  4.                 ->send($this->make('request'))
  5.                 ->through($middleware)
  6.                 ->then($then);
  7.         }
  8.         return $then($this->make('request'));
  9.     }
  1.         if (isset($action['middleware'])) {
  2.             $middleware $this->gatherMiddlewareClassNames($action['middleware']);
  3.             return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
  4.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  5.             }));
  6.         }
  7.         return $this->prepareResponse(
  8.             $this->callActionOnArrayBasedRoute($routeInfo)
  9.         );
  1.             return $this->sendThroughPipeline($this->middleware, function ($request) use ($method$pathInfo) {
  2.                 $this->instance(Request::class, $request);
  3.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  4.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  5.                 }
  6.                 return $this->handleDispatcherResponse(
  7.                     $this->createDispatcher()->dispatch($method$pathInfo)
  8.                 );
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

ErrorException
ErrorException:
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)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): failed to open stream: No such file or directory

Exception

ErrorException

  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.         <?php ?>
  2.         <?= $this->include('views/exception.html.php'$context); ?>
  3.         <script>
  4.             <?= $this->include('assets/js/exception.js'); ?>
  5.         </script>
  6.     </body>
  7. </html>
  8. <!-- <?= $_message?> -->
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.             'exception' => $exception,
  2.             'exceptionMessage' => $exceptionMessage,
  3.             'statusText' => $statusText,
  4.             'statusCode' => $statusCode,
  5.             'logger' => $this->logger instanceof DebugLoggerInterface $this->logger null,
  6.             'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),
  7.         ]);
  8.     }
  9.     /**
  10.      * Formats an array as a string.
  1.             $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2.         }
  3.         $exception FlattenException::createFromThrowable($exceptionnull$headers);
  4.         return $exception->setAsString($this->renderException($exception));
  5.     }
  6.     /**
  7.      * Gets the HTML content associated with the given exception.
  8.      */
  1.      */
  2.     protected function renderExceptionWithSymfony(Throwable $e$debug)
  3.     {
  4.         $renderer = new HtmlErrorRenderer($debug);
  5.         return $renderer->render($e)->getAsString();
  6.     }
  7.     /**
  8.      * Render an exception to the console.
  9.      *
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         $response = new Response(
  6.             $this->renderExceptionWithSymfony($econfig('app.debug'false)),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500
  8.         );
  9.         $response->exception $e;
  1.             return $e->getResponse();
  2.         }
  3.         return $request->expectsJson()
  4.                         ? $this->prepareJsonResponse($request$e)
  5.                         : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Prepare a JSON response for the given exception.
  9.      *
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function render($requestThrowable $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8. }
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         return $handler->render($passable$e);
  4.     }
  5. }
  1.                                     ? $pipe->{$this->method}(...$parameters)
  2.                                     : $pipe(...$parameters);
  3.                     return $this->handleCarry($carry);
  4.                 } catch (Throwable $e) {
  5.                     return $this->handleException($passable$e);
  6.                 }
  7.             };
  8.         };
  9.     }
Pipeline->Illuminate\Pipeline\{closure}()
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return call_user_func($slice($stack$pipe), $passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
  1.         {
  2.             $locale strtolower($locale);
  3.             app()->setLocale($locale);
  4.             $_SESSION['locale'] = $locale;
  5.         }
  6.         return $next($request);
  7.     }
  8. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
Pipeline->Illuminate\Pipeline\{closure}()
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return call_user_func($slice($stack$pipe), $passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.     {
  2.         if (count($middleware) > && ! $this->shouldSkipMiddleware()) {
  3.             return (new Pipeline($this))
  4.                 ->send($this->make('request'))
  5.                 ->through($middleware)
  6.                 ->then($then);
  7.         }
  8.         return $then($this->make('request'));
  9.     }
  1.         if (isset($action['middleware'])) {
  2.             $middleware $this->gatherMiddlewareClassNames($action['middleware']);
  3.             return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
  4.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  5.             }));
  6.         }
  7.         return $this->prepareResponse(
  8.             $this->callActionOnArrayBasedRoute($routeInfo)
  9.         );
  1.             return $this->sendThroughPipeline($this->middleware, function ($request) use ($method$pathInfo) {
  2.                 $this->instance(Request::class, $request);
  3.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  4.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  5.                 }
  6.                 return $this->handleDispatcherResponse(
  7.                     $this->createDispatcher()->dispatch($method$pathInfo)
  8.                 );
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

ErrorException
ErrorException:
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)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): failed to open stream: No such file or directory

Exception

ErrorException

  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.         <?php ?>
  2.         <?= $this->include('views/exception.html.php'$context); ?>
  3.         <script>
  4.             <?= $this->include('assets/js/exception.js'); ?>
  5.         </script>
  6.     </body>
  7. </html>
  8. <!-- <?= $_message?> -->
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.             'exception' => $exception,
  2.             'exceptionMessage' => $exceptionMessage,
  3.             'statusText' => $statusText,
  4.             'statusCode' => $statusCode,
  5.             'logger' => $this->logger instanceof DebugLoggerInterface $this->logger null,
  6.             'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),
  7.         ]);
  8.     }
  9.     /**
  10.      * Formats an array as a string.
  1.             $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2.         }
  3.         $exception FlattenException::createFromThrowable($exceptionnull$headers);
  4.         return $exception->setAsString($this->renderException($exception));
  5.     }
  6.     /**
  7.      * Gets the HTML content associated with the given exception.
  8.      */
  1.      */
  2.     protected function renderExceptionWithSymfony(Throwable $e$debug)
  3.     {
  4.         $renderer = new HtmlErrorRenderer($debug);
  5.         return $renderer->render($e)->getAsString();
  6.     }
  7.     /**
  8.      * Render an exception to the console.
  9.      *
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         $response = new Response(
  6.             $this->renderExceptionWithSymfony($econfig('app.debug'false)),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500
  8.         );
  9.         $response->exception $e;
  1.             return $e->getResponse();
  2.         }
  3.         return $request->expectsJson()
  4.                         ? $this->prepareJsonResponse($request$e)
  5.                         : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Prepare a JSON response for the given exception.
  9.      *
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function render($requestThrowable $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8. }
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         return $handler->render($passable$e);
  4.     }
  5. }
  1.                 try {
  2.                     $slice parent::carry();
  3.                     return call_user_func($slice($stack$pipe), $passable);
  4.                 } catch (Throwable $e) {
  5.                     return $this->handleException($passable$e);
  6.                 }
  7.             };
  8.         };
  9.     }
  1.         {
  2.             $locale strtolower($locale);
  3.             app()->setLocale($locale);
  4.             $_SESSION['locale'] = $locale;
  5.         }
  6.         return $next($request);
  7.     }
  8. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
Pipeline->Illuminate\Pipeline\{closure}()
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return call_user_func($slice($stack$pipe), $passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.     {
  2.         if (count($middleware) > && ! $this->shouldSkipMiddleware()) {
  3.             return (new Pipeline($this))
  4.                 ->send($this->make('request'))
  5.                 ->through($middleware)
  6.                 ->then($then);
  7.         }
  8.         return $then($this->make('request'));
  9.     }
  1.         if (isset($action['middleware'])) {
  2.             $middleware $this->gatherMiddlewareClassNames($action['middleware']);
  3.             return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
  4.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  5.             }));
  6.         }
  7.         return $this->prepareResponse(
  8.             $this->callActionOnArrayBasedRoute($routeInfo)
  9.         );
  1.             return $this->sendThroughPipeline($this->middleware, function ($request) use ($method$pathInfo) {
  2.                 $this->instance(Request::class, $request);
  3.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  4.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  5.                 }
  6.                 return $this->handleDispatcherResponse(
  7.                     $this->createDispatcher()->dispatch($method$pathInfo)
  8.                 );
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

ErrorException
ErrorException:
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)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): failed to open stream: No such file or directory

Exception

ErrorException

  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.         <?php ?>
  2.         <?= $this->include('views/exception.html.php'$context); ?>
  3.         <script>
  4.             <?= $this->include('assets/js/exception.js'); ?>
  5.         </script>
  6.     </body>
  7. </html>
  8. <!-- <?= $_message?> -->
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.             'exception' => $exception,
  2.             'exceptionMessage' => $exceptionMessage,
  3.             'statusText' => $statusText,
  4.             'statusCode' => $statusCode,
  5.             'logger' => $this->logger instanceof DebugLoggerInterface $this->logger null,
  6.             'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),
  7.         ]);
  8.     }
  9.     /**
  10.      * Formats an array as a string.
  1.             $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2.         }
  3.         $exception FlattenException::createFromThrowable($exceptionnull$headers);
  4.         return $exception->setAsString($this->renderException($exception));
  5.     }
  6.     /**
  7.      * Gets the HTML content associated with the given exception.
  8.      */
  1.      */
  2.     protected function renderExceptionWithSymfony(Throwable $e$debug)
  3.     {
  4.         $renderer = new HtmlErrorRenderer($debug);
  5.         return $renderer->render($e)->getAsString();
  6.     }
  7.     /**
  8.      * Render an exception to the console.
  9.      *
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         $response = new Response(
  6.             $this->renderExceptionWithSymfony($econfig('app.debug'false)),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500
  8.         );
  9.         $response->exception $e;
  1.             return $e->getResponse();
  2.         }
  3.         return $request->expectsJson()
  4.                         ? $this->prepareJsonResponse($request$e)
  5.                         : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Prepare a JSON response for the given exception.
  9.      *
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function render($requestThrowable $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8. }
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         return $handler->render($passable$e);
  4.     }
  5. }
  1.                                     ? $pipe->{$this->method}(...$parameters)
  2.                                     : $pipe(...$parameters);
  3.                     return $this->handleCarry($carry);
  4.                 } catch (Throwable $e) {
  5.                     return $this->handleException($passable$e);
  6.                 }
  7.             };
  8.         };
  9.     }
Pipeline->Illuminate\Pipeline\{closure}()
  1.         return function ($stack$pipe) {
  2.             return function ($passable) use ($stack$pipe) {
  3.                 try {
  4.                     $slice parent::carry();
  5.                     return call_user_func($slice($stack$pipe), $passable);
  6.                 } catch (Throwable $e) {
  7.                     return $this->handleException($passable$e);
  8.                 }
  9.             };
  10.         };
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.     {
  2.         if (count($middleware) > && ! $this->shouldSkipMiddleware()) {
  3.             return (new Pipeline($this))
  4.                 ->send($this->make('request'))
  5.                 ->through($middleware)
  6.                 ->then($then);
  7.         }
  8.         return $then($this->make('request'));
  9.     }
  1.         if (isset($action['middleware'])) {
  2.             $middleware $this->gatherMiddlewareClassNames($action['middleware']);
  3.             return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
  4.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  5.             }));
  6.         }
  7.         return $this->prepareResponse(
  8.             $this->callActionOnArrayBasedRoute($routeInfo)
  9.         );
  1.             return $this->sendThroughPipeline($this->middleware, function ($request) use ($method$pathInfo) {
  2.                 $this->instance(Request::class, $request);
  3.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  4.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  5.                 }
  6.                 return $this->handleDispatcherResponse(
  7.                     $this->createDispatcher()->dispatch($method$pathInfo)
  8.                 );
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

ErrorException
ErrorException:
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)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): failed to open stream: No such file or directory

Exception

ErrorException

  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.         <?php ?>
  2.         <?= $this->include('views/exception.html.php'$context); ?>
  3.         <script>
  4.             <?= $this->include('assets/js/exception.js'); ?>
  5.         </script>
  6.     </body>
  7. </html>
  8. <!-- <?= $_message?> -->
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.             'exception' => $exception,
  2.             'exceptionMessage' => $exceptionMessage,
  3.             'statusText' => $statusText,
  4.             'statusCode' => $statusCode,
  5.             'logger' => $this->logger instanceof DebugLoggerInterface $this->logger null,
  6.             'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),
  7.         ]);
  8.     }
  9.     /**
  10.      * Formats an array as a string.
  1.             $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2.         }
  3.         $exception FlattenException::createFromThrowable($exceptionnull$headers);
  4.         return $exception->setAsString($this->renderException($exception));
  5.     }
  6.     /**
  7.      * Gets the HTML content associated with the given exception.
  8.      */
  1.      */
  2.     protected function renderExceptionWithSymfony(Throwable $e$debug)
  3.     {
  4.         $renderer = new HtmlErrorRenderer($debug);
  5.         return $renderer->render($e)->getAsString();
  6.     }
  7.     /**
  8.      * Render an exception to the console.
  9.      *
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         $response = new Response(
  6.             $this->renderExceptionWithSymfony($econfig('app.debug'false)),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500
  8.         );
  9.         $response->exception $e;
  1.             return $e->getResponse();
  2.         }
  3.         return $request->expectsJson()
  4.                         ? $this->prepareJsonResponse($request$e)
  5.                         : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Prepare a JSON response for the given exception.
  9.      *
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function render($requestThrowable $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8. }
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         return $handler->render($passable$e);
  4.     }
  5. }
  1.                 try {
  2.                     $slice parent::carry();
  3.                     return call_user_func($slice($stack$pipe), $passable);
  4.                 } catch (Throwable $e) {
  5.                     return $this->handleException($passable$e);
  6.                 }
  7.             };
  8.         };
  9.     }
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.     {
  2.         if (count($middleware) > && ! $this->shouldSkipMiddleware()) {
  3.             return (new Pipeline($this))
  4.                 ->send($this->make('request'))
  5.                 ->through($middleware)
  6.                 ->then($then);
  7.         }
  8.         return $then($this->make('request'));
  9.     }
  1.         if (isset($action['middleware'])) {
  2.             $middleware $this->gatherMiddlewareClassNames($action['middleware']);
  3.             return $this->prepareResponse($this->sendThroughPipeline($middleware, function () {
  4.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  5.             }));
  6.         }
  7.         return $this->prepareResponse(
  8.             $this->callActionOnArrayBasedRoute($routeInfo)
  9.         );
  1.             return $this->sendThroughPipeline($this->middleware, function ($request) use ($method$pathInfo) {
  2.                 $this->instance(Request::class, $request);
  3.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  4.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  5.                 }
  6.                 return $this->handleDispatcherResponse(
  7.                     $this->createDispatcher()->dispatch($method$pathInfo)
  8.                 );
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

ErrorException
ErrorException:
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)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): failed to open stream: No such file or directory

Exception

ErrorException

  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.         <?php ?>
  2.         <?= $this->include('views/exception.html.php'$context); ?>
  3.         <script>
  4.             <?= $this->include('assets/js/exception.js'); ?>
  5.         </script>
  6.     </body>
  7. </html>
  8. <!-- <?= $_message?> -->
  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**
  1.             'exception' => $exception,
  2.             'exceptionMessage' => $exceptionMessage,
  3.             'statusText' => $statusText,
  4.             'statusCode' => $statusCode,
  5.             'logger' => $this->logger instanceof DebugLoggerInterface $this->logger null,
  6.             'currentContent' => \is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),
  7.         ]);
  8.     }
  9.     /**
  10.      * Formats an array as a string.
  1.             $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2.         }
  3.         $exception FlattenException::createFromThrowable($exceptionnull$headers);
  4.         return $exception->setAsString($this->renderException($exception));
  5.     }
  6.     /**
  7.      * Gets the HTML content associated with the given exception.
  8.      */
  1.      */
  2.     protected function renderExceptionWithSymfony(Throwable $e$debug)
  3.     {
  4.         $renderer = new HtmlErrorRenderer($debug);
  5.         return $renderer->render($e)->getAsString();
  6.     }
  7.     /**
  8.      * Render an exception to the console.
  9.      *
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         $response = new Response(
  6.             $this->renderExceptionWithSymfony($econfig('app.debug'false)),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500
  8.         );
  9.         $response->exception $e;
  1.             return $e->getResponse();
  2.         }
  3.         return $request->expectsJson()
  4.                         ? $this->prepareJsonResponse($request$e)
  5.                         : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Prepare a JSON response for the given exception.
  9.      *
  1.      *
  2.      * @throws \Throwable
  3.      */
  4.     public function render($requestThrowable $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8. }
  1.     {
  2.         $handler $this->resolveExceptionHandler();
  3.         $handler->report($e);
  4.         return $handler->render($this->make('request'), $e);
  5.     }
  6.     /**
  7.      * Handle an uncaught exception instance.
  8.      *
  1.                 return $this->handleDispatcherResponse(
  2.                     $this->createDispatcher()->dispatch($method$pathInfo)
  3.                 );
  4.             });
  5.         } catch (Throwable $e) {
  6.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  7.         }
  8.     }
  9.     /**
  10.      * Parse the incoming request and return the method and path info.
  1.      * @param  SymfonyRequest|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

ErrorException
ErrorException:
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)                

Symfony Exception

FatalError

HTTP 500 Internal Server Error

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

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

  1.     private function include(string $name, array $context = []): string
  2.     {
  3.         extract($context, \EXTR_SKIP);
  4.         ob_start();
  5.         include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name $name;
  6.         return trim(ob_get_clean());
  7.     }
  8.     /**

Stack Trace

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