Symfony Exception

ErrorException ViewException ViewException ViewException

HTTP 500 Internal Server Error

Undefined variable $page (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php) (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php) (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php)

Exceptions 4

Illuminate\View\ ViewException

  1. <ul class="menu">
  2.     <li><a <?php if($page=="home"): ?> class="active2" <?php endif; ?>  href="<?php echo e(url('/')); ?>">Home </a></li>
  3.     <li><a <?php if($page=="service"): ?> class="active2" <?php endif; ?> href="<?php echo e(url('services')); ?>">Services </a></li>
  4.     <li class="has-dropdown"><a <?php if($page=="solution" || ($page=="portfolio" && isset($_GET["id"]))): ?> class="active" <?php endif; ?>  href="#">Solutions</a>
  5.         <ul class="mega-menu">
  6.             <li>
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.      * @param  array  $headers
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function make($content ''$status 200, array $headers = [])
  5.     {
  6.         return new Response($content$status$headers);
  7.     }
  8.     /**
  9.      * Create a new "no content" response.
  10.      *
  1.     {
  2.         if (is_array($view)) {
  3.             return $this->make($this->view->first($view$data), $status$headers);
  4.         }
  5.         return $this->make($this->view->make($view$data), $status$headers);
  6.     }
  7.     /**
  8.      * Create a new JSON response instance.
  9.      *
  1.     protected function renderHttpException(HttpExceptionInterface $e)
  2.     {
  3.         $this->registerErrorViewPaths();
  4.         if (view()->exists($view $this->getHttpExceptionView($e))) {
  5.             return response()->view($view, [
  6.                 'errors' => new ViewErrorBag,
  7.                 'exception' => $e,
  8.             ], $e->getStatusCode(), $e->getHeaders());
  9.         }
  1.         if (! $this->isHttpException($e)) {
  2.             $e = new HttpException(500$e->getMessage());
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         );
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.             return $this->convertValidationExceptionToResponse($e$request);
  2.         }
  3.         return $this->shouldReturnJson($request$e)
  4.                     ? $this->prepareJsonResponse($request$e)
  5.                     : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Map the exception using a registered mapper if possible.
  9.      *
  1.      * @param  \Exception  $exception
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function render($requestThrowable  $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8.     /**
  9.      * Convert an authentication exception into an unauthenticated response.
  10.      *
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         $response $handler->render($passable$e);
  4.         if (is_object($response) && method_exists($response'withException')) {
  5.             $response->withException($e);
  6.         }
  1.     {
  2.         return function ($passable) use ($destination) {
  3.             try {
  4.                 return $destination($passable);
  5.             } catch (Throwable $e) {
  6.                 return $this->handleException($passable$e);
  7.             }
  8.         };
  9.     }
  10.     /**
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  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.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response $this->renderException($request$e);
  9.         }
  1. |
  2. */
  3. $kernel $app->make(Illuminate\Contracts\Http\Kernel::class);
  4. $response $kernel->handle(
  5.     $request Illuminate\Http\Request::capture()
  6. );
  7. $response->send();

Illuminate\View\ ViewException

Undefined variable $page (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php) (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php)

  1. <ul class="menu">
  2.     <li><a <?php if($page=="home"): ?> class="active2" <?php endif; ?>  href="<?php echo e(url('/')); ?>">Home </a></li>
  3.     <li><a <?php if($page=="service"): ?> class="active2" <?php endif; ?> href="<?php echo e(url('services')); ?>">Services </a></li>
  4.     <li class="has-dropdown"><a <?php if($page=="solution" || ($page=="portfolio" && isset($_GET["id"]))): ?> class="active" <?php endif; ?>  href="#">Solutions</a>
  5.         <ul class="mega-menu">
  6.             <li>
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         </section>
  2.     </div>
  3. <?php $__env->stopSection(); ?>
  4. <?php echo $__env->make('master.master'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/kx106oa1ug6y/projects/amreenit/resources/views/errors/404.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.      * @param  array  $headers
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function make($content ''$status 200, array $headers = [])
  5.     {
  6.         return new Response($content$status$headers);
  7.     }
  8.     /**
  9.      * Create a new "no content" response.
  10.      *
  1.     {
  2.         if (is_array($view)) {
  3.             return $this->make($this->view->first($view$data), $status$headers);
  4.         }
  5.         return $this->make($this->view->make($view$data), $status$headers);
  6.     }
  7.     /**
  8.      * Create a new JSON response instance.
  9.      *
  1.     protected function renderHttpException(HttpExceptionInterface $e)
  2.     {
  3.         $this->registerErrorViewPaths();
  4.         if (view()->exists($view $this->getHttpExceptionView($e))) {
  5.             return response()->view($view, [
  6.                 'errors' => new ViewErrorBag,
  7.                 'exception' => $e,
  8.             ], $e->getStatusCode(), $e->getHeaders());
  9.         }
  1.         if (! $this->isHttpException($e)) {
  2.             $e = new HttpException(500$e->getMessage());
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         );
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.             return $this->convertValidationExceptionToResponse($e$request);
  2.         }
  3.         return $this->shouldReturnJson($request$e)
  4.                     ? $this->prepareJsonResponse($request$e)
  5.                     : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Map the exception using a registered mapper if possible.
  9.      *
  1.      * @param  \Exception  $exception
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function render($requestThrowable  $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8.     /**
  9.      * Convert an authentication exception into an unauthenticated response.
  10.      *
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         $response $handler->render($passable$e);
  4.         if (is_object($response) && method_exists($response'withException')) {
  5.             $response->withException($e);
  6.         }
  1.     {
  2.         return function ($passable) use ($destination) {
  3.             try {
  4.                 return $destination($passable);
  5.             } catch (Throwable $e) {
  6.                 return $this->handleException($passable$e);
  7.             }
  8.         };
  9.     }
  10.     /**
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  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.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response $this->renderException($request$e);
  9.         }
  1. |
  2. */
  3. $kernel $app->make(Illuminate\Contracts\Http\Kernel::class);
  4. $response $kernel->handle(
  5.     $request Illuminate\Http\Request::capture()
  6. );
  7. $response->send();

Illuminate\View\ ViewException

Undefined variable $page (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php)

  1. <ul class="menu">
  2.     <li><a <?php if($page=="home"): ?> class="active2" <?php endif; ?>  href="<?php echo e(url('/')); ?>">Home </a></li>
  3.     <li><a <?php if($page=="service"): ?> class="active2" <?php endif; ?> href="<?php echo e(url('services')); ?>">Services </a></li>
  4.     <li class="has-dropdown"><a <?php if($page=="solution" || ($page=="portfolio" && isset($_GET["id"]))): ?> class="active" <?php endif; ?>  href="#">Solutions</a>
  5.         <ul class="mega-menu">
  6.             <li>
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.             <div class="module widget-handle mobile-toggle right visible-sm visible-xs">
  2.                 <i class="ti-menu"></i>
  3.             </div>
  4.             <div class="module-group right">
  5.                 <div class="module left">
  6.                     <?php echo $__env->make('menu'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
  7.                 </div>
  8.             </div>
  9.         </div>
  10.     </nav>
  11. </div>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         </section>
  2.     </div>
  3. <?php $__env->stopSection(); ?>
  4. <?php echo $__env->make('master.master'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/kx106oa1ug6y/projects/amreenit/resources/views/errors/404.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.      * @param  array  $headers
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function make($content ''$status 200, array $headers = [])
  5.     {
  6.         return new Response($content$status$headers);
  7.     }
  8.     /**
  9.      * Create a new "no content" response.
  10.      *
  1.     {
  2.         if (is_array($view)) {
  3.             return $this->make($this->view->first($view$data), $status$headers);
  4.         }
  5.         return $this->make($this->view->make($view$data), $status$headers);
  6.     }
  7.     /**
  8.      * Create a new JSON response instance.
  9.      *
  1.     protected function renderHttpException(HttpExceptionInterface $e)
  2.     {
  3.         $this->registerErrorViewPaths();
  4.         if (view()->exists($view $this->getHttpExceptionView($e))) {
  5.             return response()->view($view, [
  6.                 'errors' => new ViewErrorBag,
  7.                 'exception' => $e,
  8.             ], $e->getStatusCode(), $e->getHeaders());
  9.         }
  1.         if (! $this->isHttpException($e)) {
  2.             $e = new HttpException(500$e->getMessage());
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         );
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.             return $this->convertValidationExceptionToResponse($e$request);
  2.         }
  3.         return $this->shouldReturnJson($request$e)
  4.                     ? $this->prepareJsonResponse($request$e)
  5.                     : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Map the exception using a registered mapper if possible.
  9.      *
  1.      * @param  \Exception  $exception
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function render($requestThrowable  $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8.     /**
  9.      * Convert an authentication exception into an unauthenticated response.
  10.      *
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         $response $handler->render($passable$e);
  4.         if (is_object($response) && method_exists($response'withException')) {
  5.             $response->withException($e);
  6.         }
  1.     {
  2.         return function ($passable) use ($destination) {
  3.             try {
  4.                 return $destination($passable);
  5.             } catch (Throwable $e) {
  6.                 return $this->handleException($passable$e);
  7.             }
  8.         };
  9.     }
  10.     /**
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  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.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response $this->renderException($request$e);
  9.         }
  1. |
  2. */
  3. $kernel $app->make(Illuminate\Contracts\Http\Kernel::class);
  4. $response $kernel->handle(
  5.     $request Illuminate\Http\Request::capture()
  6. );
  7. $response->send();

ErrorException

Undefined variable $page

  1. <ul class="menu">
  2.     <li><a <?php if($page=="home"): ?> class="active2" <?php endif; ?>  href="<?php echo e(url('/')); ?>">Home </a></li>
  3.     <li><a <?php if($page=="service"): ?> class="active2" <?php endif; ?> href="<?php echo e(url('services')); ?>">Services </a></li>
  4.     <li class="has-dropdown"><a <?php if($page=="solution" || ($page=="portfolio" && isset($_GET["id"]))): ?> class="active" <?php endif; ?>  href="#">Solutions</a>
  5.         <ul class="mega-menu">
  6.             <li>
  1. <ul class="menu">
  2.     <li><a <?php if($page=="home"): ?> class="active2" <?php endif; ?>  href="<?php echo e(url('/')); ?>">Home </a></li>
  3.     <li><a <?php if($page=="service"): ?> class="active2" <?php endif; ?> href="<?php echo e(url('services')); ?>">Services </a></li>
  4.     <li class="has-dropdown"><a <?php if($page=="solution" || ($page=="portfolio" && isset($_GET["id"]))): ?> class="active" <?php endif; ?>  href="#">Solutions</a>
  5.         <ul class="mega-menu">
  6.             <li>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.             <div class="module widget-handle mobile-toggle right visible-sm visible-xs">
  2.                 <i class="ti-menu"></i>
  3.             </div>
  4.             <div class="module-group right">
  5.                 <div class="module left">
  6.                     <?php echo $__env->make('menu'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
  7.                 </div>
  8.             </div>
  9.         </div>
  10.     </nav>
  11. </div>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         </section>
  2.     </div>
  3. <?php $__env->stopSection(); ?>
  4. <?php echo $__env->make('master.master'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/kx106oa1ug6y/projects/amreenit/resources/views/errors/404.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.      * @param  array  $headers
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function make($content ''$status 200, array $headers = [])
  5.     {
  6.         return new Response($content$status$headers);
  7.     }
  8.     /**
  9.      * Create a new "no content" response.
  10.      *
  1.     {
  2.         if (is_array($view)) {
  3.             return $this->make($this->view->first($view$data), $status$headers);
  4.         }
  5.         return $this->make($this->view->make($view$data), $status$headers);
  6.     }
  7.     /**
  8.      * Create a new JSON response instance.
  9.      *
  1.     protected function renderHttpException(HttpExceptionInterface $e)
  2.     {
  3.         $this->registerErrorViewPaths();
  4.         if (view()->exists($view $this->getHttpExceptionView($e))) {
  5.             return response()->view($view, [
  6.                 'errors' => new ViewErrorBag,
  7.                 'exception' => $e,
  8.             ], $e->getStatusCode(), $e->getHeaders());
  9.         }
  1.         if (! $this->isHttpException($e)) {
  2.             $e = new HttpException(500$e->getMessage());
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         );
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.             return $this->convertValidationExceptionToResponse($e$request);
  2.         }
  3.         return $this->shouldReturnJson($request$e)
  4.                     ? $this->prepareJsonResponse($request$e)
  5.                     : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Map the exception using a registered mapper if possible.
  9.      *
  1.      * @param  \Exception  $exception
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function render($requestThrowable  $exception)
  5.     {
  6.         return parent::render($request$exception);
  7.     }
  8.     /**
  9.      * Convert an authentication exception into an unauthenticated response.
  10.      *
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         $response $handler->render($passable$e);
  4.         if (is_object($response) && method_exists($response'withException')) {
  5.             $response->withException($e);
  6.         }
  1.     {
  2.         return function ($passable) use ($destination) {
  3.             try {
  4.                 return $destination($passable);
  5.             } catch (Throwable $e) {
  6.                 return $this->handleException($passable$e);
  7.             }
  8.         };
  9.     }
  10.     /**
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  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.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response $this->renderException($request$e);
  9.         }
  1. |
  2. */
  3. $kernel $app->make(Illuminate\Contracts\Http\Kernel::class);
  4. $response $kernel->handle(
  5.     $request Illuminate\Http\Request::capture()
  6. );
  7. $response->send();

Stack Traces 4

[4/4] ViewException
Illuminate\View\ViewException:
Undefined variable $page (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php) (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php) (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php)

  at /home/kx106oa1ug6y/projects/amreenit/storage/framework/views/c898fb459f595dfede2ec776bb7205472d856f21.php:3
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:85)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:582)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:490)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:356)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/kx106oa1ug6y/projects/amreenit/app/Exceptions/Handler.php:47)
  at App\Exceptions\Handler->render()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/kx106oa1ug6y/public_html/amreenit/index.php:51)                
[3/4] ViewException
Illuminate\View\ViewException:
Undefined variable $page (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php) (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php)

  at /home/kx106oa1ug6y/projects/amreenit/storage/framework/views/c898fb459f595dfede2ec776bb7205472d856f21.php:3
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/672d69c3aadcdf38abdea7be1cfa9413a1917b3a.php:41)
  at require('/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/672d69c3aadcdf38abdea7be1cfa9413a1917b3a.php')
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:85)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:582)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:490)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:356)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/kx106oa1ug6y/projects/amreenit/app/Exceptions/Handler.php:47)
  at App\Exceptions\Handler->render()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/kx106oa1ug6y/public_html/amreenit/index.php:51)                
[2/4] ViewException
Illuminate\View\ViewException:
Undefined variable $page (View: /home/kx106oa1ug6y/projects/amreenit/resources/views/menu.blade.php)

  at /home/kx106oa1ug6y/projects/amreenit/storage/framework/views/c898fb459f595dfede2ec776bb7205472d856f21.php:3
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/eb6f57984d8796e389089e4ca5cc777409f19fd7.php:99)
  at require('/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/eb6f57984d8796e389089e4ca5cc777409f19fd7.php')
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/672d69c3aadcdf38abdea7be1cfa9413a1917b3a.php:41)
  at require('/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/672d69c3aadcdf38abdea7be1cfa9413a1917b3a.php')
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:85)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:582)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:490)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:356)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/kx106oa1ug6y/projects/amreenit/app/Exceptions/Handler.php:47)
  at App\Exceptions\Handler->render()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/kx106oa1ug6y/public_html/amreenit/index.php:51)                
[1/4] ErrorException
ErrorException:
Undefined variable $page

  at /home/kx106oa1ug6y/projects/amreenit/storage/framework/views/c898fb459f595dfede2ec776bb7205472d856f21.php:3
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/c898fb459f595dfede2ec776bb7205472d856f21.php:3)
  at require('/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/c898fb459f595dfede2ec776bb7205472d856f21.php')
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/eb6f57984d8796e389089e4ca5cc777409f19fd7.php:99)
  at require('/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/eb6f57984d8796e389089e4ca5cc777409f19fd7.php')
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/672d69c3aadcdf38abdea7be1cfa9413a1917b3a.php:41)
  at require('/home/kx106oa1ug6y/projects/amreenit/storage/framework/views/672d69c3aadcdf38abdea7be1cfa9413a1917b3a.php')
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:122)
  at Illuminate\View\View->renderContents()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:85)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:582)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:490)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:356)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/kx106oa1ug6y/projects/amreenit/app/Exceptions/Handler.php:47)
  at App\Exceptions\Handler->render()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/kx106oa1ug6y/projects/amreenit/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/kx106oa1ug6y/public_html/amreenit/index.php:51)