apistagev1.hamroshd.com Open in urlscan Pro
185.164.72.88  Public Scan

URL: https://apistagev1.hamroshd.com/
Submission: On October 10 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

SYMFONY EXCEPTION

Symfony Docs


ERROR


HTTP 500 INTERNAL SERVER ERROR


CALL TO UNDEFINED FUNCTION ILLUMINATE\VIEW\COMPILERS\TOKEN_GET_ALL()


Exception Stack Trace


EXCEPTION


ERROR

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php
(line 281)
 276.         }
 277. 
 278.         // Here we will loop through all of the tokens returned by the Zend lexer and
 279.         // parse each one into the corresponding valid PHP. We will then have this
 280.         // template as the correctly rendered PHP that can be rendered natively.
 281.         foreach (token_get_all($value) as $token) {
 282.             $result .= is_array($token) ? $this->parseToken($token) : $token;
 283.         }
 284. 
 285.         if (! empty($this->rawBlocks)) {
 286.             $result = $this->restoreRawContent($result);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php
-> compileString (line 184)
 179.         if ($path) {
 180.             $this->setPath($path);
 181.         }
 182. 
 183.         if (! is_null($this->cachePath)) {
 184.             $contents = $this->compileString($this->files->get($this->getPath()));
 185. 
 186.             if (! empty($this->getPath())) {
 187.                 $contents = $this->appendFilePath($contents);
 188.             }
 189. 

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
-> compile (line 65)
 60. 
 61.         // If this given view has expired, which means it has simply been edited since
 62.         // it was last compiled, we will re-compile the views so we can evaluate a
 63.         // fresh copy of the view. We'll pass the compiler the path of the view.
 64.         if (! isset($this->compiledOrNotExpired[$path]) && $this->compiler->isExpired($path)) {
 65.             $this->compiler->compile($path);
 66.         }
 67. 
 68.         // Once we have the path to the compiled file, we will evaluate the paths with
 69.         // typical PHP just like any other templates. We also keep a stack of views
 70.         // which have been rendered for right exception messages to be generated.

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/View.php
-> get (line 208)
 203.      *
 204.      * @return string
 205.      */
 206.     protected function getContents()
 207.     {
 208.         return $this->engine->get($this->path, $this->gatherData());
 209.     }
 210. 
 211.     /**
 212.      * Get the data bound to the view instance.
 213.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/View.php
-> getContents (line 191)
 186.         // clear out the sections for any separate views that may be rendered.
 187.         $this->factory->incrementRender();
 188. 
 189.         $this->factory->callComposer($this);
 190. 
 191.         $contents = $this->getContents();
 192. 
 193.         // Once we've finished rendering the view, we'll decrement the render count
 194.         // so that each section gets flushed out next time a view is created and
 195.         // no old sections are staying around in the memory of an environment.
 196.         $this->factory->decrementRender();

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/View.php
-> renderContents (line 160)
 155.      * @throws \Throwable
 156.      */
 157.     public function render(?callable $callback = null)
 158.     {
 159.         try {
 160.             $contents = $this->renderContents();
 161. 
 162.             $response = isset($callback) ? $callback($this, $contents) : null;
 163. 
 164.             // Once we have the contents of the view, we will flush the sections if we are
 165.             // done rendering all views so that there is nothing left hanging over when

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php
-> render (line 94)
 89.             $this->htmlErrorRenderer->render($throwable),
 90.         );
 91. 
 92.         return $this->viewFactory->make('laravel-exceptions-renderer::show', [
 93.             'exception' => new Exception($flattenException, $request, $this->listener, $this->basePath),
 94.         ])->render();
 95.     }
 96. 
 97.     /**
 98.      * Get the renderer's CSS content.
 99.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
-> render (line 839)
 834.         try {
 835.             if (config('app.debug')) {
 836.                 if (app()->has(ExceptionRenderer::class)) {
 837.                     return $this->renderExceptionWithCustomRenderer($e);
 838.                 } elseif ($this->container->bound(Renderer::class)) {
 839.                     return $this->container->make(Renderer::class)->render(request(), $e);
 840.                 }
 841.             }
 842. 
 843.             return $this->renderExceptionWithSymfony($e, config('app.debug'));
 844.         } catch (Throwable $e) {

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
-> renderExceptionContent (line 820)
 815.      * @return \Symfony\Component\HttpFoundation\Response
 816.      */
 817.     protected function convertExceptionToResponse(Throwable $e)
 818.     {
 819.         return new SymfonyResponse(
 820.             $this->renderExceptionContent($e),
 821.             $this->isHttpException($e) ? $e->getStatusCode() : 500,
 822.             $this->isHttpException($e) ? $e->getHeaders() : []
 823.         );
 824.     }
 825. 

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
-> convertExceptionToResponse (line 799)
 794.      * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
 795.      */
 796.     protected function prepareResponse($request, Throwable $e)
 797.     {
 798.         if (! $this->isHttpException($e) && config('app.debug')) {
 799.             return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
 800.         }
 801. 
 802.         if (! $this->isHttpException($e)) {
 803.             $e = new HttpException(500, $e->getMessage(), $e);
 804.         }

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
-> prepareResponse (line 698)
 693.      */
 694.     protected function renderExceptionResponse($request, Throwable $e)
 695.     {
 696.         return $this->shouldReturnJson($request, $e)
 697.                     ? $this->prepareJsonResponse($request, $e)
 698.                     : $this->prepareResponse($request, $e);
 699.     }
 700. 
 701.     /**
 702.      * Convert an authentication exception into a response.
 703.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
-> renderExceptionResponse (line 587)
 582. 
 583.         return $this->finalizeRenderedResponse($request, match (true) {
 584.             $e instanceof HttpResponseException => $e->getResponse(),
 585.             $e instanceof AuthenticationException => $this->unauthenticated($request, $e),
 586.             $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
 587.             default => $this->renderExceptionResponse($request, $e),
 588.         }, $e);
 589.     }
 590. 
 591.     /**
 592.      * Prepare the final, rendered response to be returned to the browser.

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
-> render (line 51)
 46. 
 47.         $handler = $this->container->make(ExceptionHandler::class);
 48. 
 49.         $handler->report($e);
 50. 
 51.         $response = $handler->render($passable, $e);
 52. 
 53.         if (is_object($response) && method_exists($response, 'withException')) {
 54.             $response->withException($e);
 55.         }
 56. 

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handleException (line 188)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);
 189.                 }
 190.             };
 191.         };
 192.     }
 193. 

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
-> Illuminate\Pipeline\{closure} (line 37)
 32.      * @param  \Closure  $next
 33.      * @return mixed
 34.      */
 35.     public function handle($request, Closure $next)
 36.     {
 37.         $response = $next($request);
 38. 
 39.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
 40.             $response->headers->setCookie($cookie);
 41.         }
 42. 

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
-> Illuminate\Pipeline\{closure} (line 75)
 70.      * @param  \Closure  $next
 71.      * @return \Symfony\Component\HttpFoundation\Response
 72.      */
 73.     public function handle($request, Closure $next)
 74.     {
 75.         return $this->encrypt($next($this->decrypt($request)));
 76.     }
 77. 
 78.     /**
 79.      * Decrypt the cookies on the request.
 80.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> Illuminate\Pipeline\{closure} (line 119)
 114.     {
 115.         $pipeline = array_reduce(
 116.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
 117.         );
 118. 
 119.         return $pipeline($this->passable);
 120.     }
 121. 
 122.     /**
 123.      * Run the pipeline and return the result.
 124.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> then (line 805)
 800.         $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 801. 
 802.         return (new Pipeline($this->container))
 803.                         ->send($request)
 804.                         ->through($middleware)
 805.                         ->then(fn ($request) => $this->prepareResponse(
 806.                             $request, $route->run()
 807.                         ));
 808.     }
 809. 
 810.     /**

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> runRouteWithinStack (line 784)
 779.         $request->setRouteResolver(fn () => $route);
 780. 
 781.         $this->events->dispatch(new RouteMatched($route, $request));
 782. 
 783.         return $this->prepareResponse($request,
 784.             $this->runRouteWithinStack($route, $request)
 785.         );
 786.     }
 787. 
 788.     /**
 789.      * Run the given route within a Stack "onion" instance.

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> runRoute (line 748)
 743.      * @param  \Illuminate\Http\Request  $request
 744.      * @return \Symfony\Component\HttpFoundation\Response
 745.      */
 746.     public function dispatchToRoute(Request $request)
 747.     {
 748.         return $this->runRoute($request, $this->findRoute($request));
 749.     }
 750. 
 751.     /**
 752.      * Find the route matching a given request.
 753.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php
-> dispatchToRoute (line 737)
 732.      */
 733.     public function dispatch(Request $request)
 734.     {
 735.         $this->currentRequest = $request;
 736. 
 737.         return $this->dispatchToRoute($request);
 738.     }
 739. 
 740.     /**
 741.      * Dispatch the request to a route and return the response.
 742.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
-> dispatch (line 200)
 195.     protected function dispatchToRouter()
 196.     {
 197.         return function ($request) {
 198.             $this->app->instance('request', $request);
 199. 
 200.             return $this->router->dispatch($request);
 201.         };
 202.     }
 203. 
 204.     /**
 205.      * Call the terminate method on any terminable middleware.

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> Illuminate\Foundation\Http\{closure} (line 144)
 139.      */
 140.     protected function prepareDestination(Closure $destination)
 141.     {
 142.         return function ($passable) use ($destination) {
 143.             try {
 144.                 return $destination($passable);
 145.             } catch (Throwable $e) {
 146.                 return $this->handleException($passable, $e);
 147.             }
 148.         };
 149.     }

Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in
/home/atutor/public_html/apistagev1.hamroshd.com/app/Http/Middleware/SetLocale.php
(line 24)
 19. 
 20.         $locale = in_array($locale, config('hamroshd.allowed_locale')) ? $locale : config('app.locale');
 21. 
 22.         app()->setLocale($locale);
 23. 
 24.         return $next($request);
 25.     }
 26. }
 27. 

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
-> Illuminate\Pipeline\{closure} (line 21)
 16.      */
 17.     public function handle($request, Closure $next)
 18.     {
 19.         $this->clean($request);
 20. 
 21.         return $next($request);
 22.     }
 23. 
 24.     /**
 25.      * Clean the request's data.
 26.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
-> handle (line 31)
 26.             if ($callback($request)) {
 27.                 return $next($request);
 28.             }
 29.         }
 30. 
 31.         return parent::handle($request, $next);
 32.     }
 33. 
 34.     /**
 35.      * Transform the given value.
 36.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
-> Illuminate\Pipeline\{closure} (line 21)
 16.      */
 17.     public function handle($request, Closure $next)
 18.     {
 19.         $this->clean($request);
 20. 
 21.         return $next($request);
 22.     }
 23. 
 24.     /**
 25.      * Clean the request's data.
 26.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
-> handle (line 51)
 46.             if ($callback($request)) {
 47.                 return $next($request);
 48.             }
 49.         }
 50. 
 51.         return parent::handle($request, $next);
 52.     }
 53. 
 54.     /**
 55.      * Transform the given value.
 56.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php
-> Illuminate\Pipeline\{closure} (line 27)
 22. 
 23.         if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
 24.             throw new PostTooLargeException;
 25.         }
 26. 
 27.         return $next($request);
 28.     }
 29. 
 30.     /**
 31.      * Determine the server 'post_max_size' as bytes.
 32.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
-> Illuminate\Pipeline\{closure} (line 110)
 105.                 null,
 106.                 $this->getHeaders($data)
 107.             );
 108.         }
 109. 
 110.         return $next($request);
 111.     }
 112. 
 113.     /**
 114.      * Determine if the incoming request has a maintenance mode bypass cookie.
 115.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php
-> Illuminate\Pipeline\{closure} (line 62)
 57.             $this->cors->varyHeader($response, 'Access-Control-Request-Method');
 58. 
 59.             return $response;
 60.         }
 61. 
 62.         $response = $next($request);
 63. 
 64.         if ($request->getMethod() === 'OPTIONS') {
 65.             $this->cors->varyHeader($response, 'Access-Control-Request-Method');
 66.         }
 67. 

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
-> Illuminate\Pipeline\{closure} (line 57)
 52.     {
 53.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
 54. 
 55.         $this->setTrustedProxyIpAddresses($request);
 56. 
 57.         return $next($request);
 58.     }
 59. 
 60.     /**
 61.      * Sets the trusted proxies on the request.
 62.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> handle (line 183)
 178.                         // since the object we're given was already a fully instantiated object.
 179.                         $parameters = [$passable, $stack];
 180.                     }
 181. 
 182.                     $carry = method_exists($pipe, $this->method)
 183.                                     ? $pipe->{$this->method}(...$parameters)
 184.                                     : $pipe(...$parameters);
 185. 
 186.                     return $this->handleCarry($carry);
 187.                 } catch (Throwable $e) {
 188.                     return $this->handleException($passable, $e);

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
-> Illuminate\Pipeline\{closure} (line 119)
 114.     {
 115.         $pipeline = array_reduce(
 116.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
 117.         );
 118. 
 119.         return $pipeline($this->passable);
 120.     }
 121. 
 122.     /**
 123.      * Run the pipeline and return the result.
 124.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
-> then (line 175)
 170.         $this->bootstrap();
 171. 
 172.         return (new Pipeline($this->app))
 173.                     ->send($request)
 174.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
 175.                     ->then($this->dispatchToRouter());
 176.     }
 177. 
 178.     /**
 179.      * Bootstrap the application for HTTP requests.
 180.      *

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
-> sendRequestThroughRouter (line 144)
 139.         $this->requestStartedAt = Carbon::now();
 140. 
 141.         try {
 142.             $request->enableHttpMethodParameterOverride();
 143. 
 144.             $response = $this->sendRequestThroughRouter($request);
 145.         } catch (Throwable $e) {
 146.             $this->reportException($e);
 147. 
 148.             $response = $this->renderException($request, $e);
 149.         }

in
/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
-> handle (line 1183)
 1178.      */
 1179.     public function handleRequest(Request $request)
 1180.     {
 1181.         $kernel = $this->make(HttpKernelContract::class);
 1182. 
 1183.         $response = $kernel->handle($request)->send();
 1184. 
 1185.         $kernel->terminate($request, $response);
 1186.     }
 1187. 
 1188.     /**

Application->handleRequest(object(Request)) in
/home/atutor/public_html/apistagev1.hamroshd.com/index.php (line 17)
 12. // Register the Composer autoloader...
 13. require __DIR__.'/vendor/autoload.php';
 14. 
 15. // Bootstrap Laravel and handle the request...
 16. (require_once __DIR__.'/bootstrap/app.php')
 17.     ->handleRequest(Request::capture());
 18. 


STACK TRACE

Error

Error:
Call to undefined function Illuminate\View\Compilers\token_get_all()

  at /home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php:281
  at Illuminate\View\Compilers\BladeCompiler->compileString('##BEGIN-COMPONENT-CLASS##@component(\'Illuminate\\View\\AnonymousComponent\', \'laravel-exceptions-renderer::layout\', [\'view\' => \'laravel-exceptions-renderer::components.layout\',\'data\' => [\'exception\' => $exception]])<?php if (isset($attributes) && $attributes instanceof Illuminate\\View\\ComponentAttributeBag): ?><?php $attributes = $attributes->except(\\Illuminate\\View\\AnonymousComponent::ignoredParameterNames()); ?><?php endif; ?><?php $component->withAttributes([\'exception\' => \\Illuminate\\View\\Compilers\\BladeCompiler::sanitizeComponentAttribute($exception)]); ?>    <div class="renderer container mx-auto lg:px-8">        ##BEGIN-COMPONENT-CLASS##@component(\'Illuminate\\View\\AnonymousComponent\', \'laravel-exceptions-renderer::navigation\', [\'view\' => \'laravel-exceptions-renderer::components.navigation\',\'data\' => [\'exception\' => $exception]])<?php if (isset($attributes) && $attributes instanceof Illuminate\\View\\ComponentAttributeBag): ?><?php $attributes = $attributes->except(\\Illuminate\\View\\AnonymousComponent::ignoredParameterNames()); ?><?php endif; ?><?php $component->withAttributes([\'exception\' => \\Illuminate\\View\\Compilers\\BladeCompiler::sanitizeComponentAttribute($exception)]); ?>@endComponentClass##END-COMPONENT-CLASS##        <main class="px-6 pb-12 pt-6">            <div class="container mx-auto">                ##BEGIN-COMPONENT-CLASS##@component(\'Illuminate\\View\\AnonymousComponent\', \'laravel-exceptions-renderer::header\', [\'view\' => \'laravel-exceptions-renderer::components.header\',\'data\' => [\'exception\' => $exception]])<?php if (isset($attributes) && $attributes instanceof Illuminate\\View\\ComponentAttributeBag): ?><?php $attributes = $attributes->except(\\Illuminate\\View\\AnonymousComponent::ignoredParameterNames()); ?><?php endif; ?><?php $component->withAttributes([\'exception\' => \\Illuminate\\View\\Compilers\\BladeCompiler::sanitizeComponentAttribute($exception)]); ?>@endComponentClass##END-COMPONENT-CLASS##                ##BEGIN-COMPONENT-CLASS##@component(\'Illuminate\\View\\AnonymousComponent\', \'laravel-exceptions-renderer::trace-and-editor\', [\'view\' => \'laravel-exceptions-renderer::components.trace-and-editor\',\'data\' => [\'exception\' => $exception]])<?php if (isset($attributes) && $attributes instanceof Illuminate\\View\\ComponentAttributeBag): ?><?php $attributes = $attributes->except(\\Illuminate\\View\\AnonymousComponent::ignoredParameterNames()); ?><?php endif; ?><?php $component->withAttributes([\'exception\' => \\Illuminate\\View\\Compilers\\BladeCompiler::sanitizeComponentAttribute($exception)]); ?>@endComponentClass##END-COMPONENT-CLASS##                ##BEGIN-COMPONENT-CLASS##@component(\'Illuminate\\View\\AnonymousComponent\', \'laravel-exceptions-renderer::context\', [\'view\' => \'laravel-exceptions-renderer::components.context\',\'data\' => [\'exception\' => $exception]])<?php if (isset($attributes) && $attributes instanceof Illuminate\\View\\ComponentAttributeBag): ?><?php $attributes = $attributes->except(\\Illuminate\\View\\AnonymousComponent::ignoredParameterNames()); ?><?php endif; ?><?php $component->withAttributes([\'exception\' => \\Illuminate\\View\\Compilers\\BladeCompiler::sanitizeComponentAttribute($exception)]); ?>@endComponentClass##END-COMPONENT-CLASS##            </div>        </main>    </div> @endComponentClass##END-COMPONENT-CLASS##')
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php:184)
  at Illuminate\View\Compilers\BladeCompiler->compile('/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/show.blade.php')
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:65)
  at Illuminate\View\Engines\CompilerEngine->get('/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'exception' => object(Exception)))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php:94)
  at Illuminate\Foundation\Exceptions\Renderer\Renderer->render(object(Request), object(QueryException))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:839)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(QueryException))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:820)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(QueryException))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:799)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(QueryException))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:698)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(QueryException))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:587)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(QueryException))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(QueryException))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:188)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:75)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php:805)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php:784)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php:748)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php:737)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/app/Http/Middleware/SetLocale.php:24)
  at App\Http\Middleware\SetLocale->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:110)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:62)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1183)
  at Illuminate\Foundation\Application->handleRequest(object(Request))
     (/home/atutor/public_html/apistagev1.hamroshd.com/index.php:17)