Symfony Exception

ErrorException

HTTP 500 Internal Server Error

tempnam(): file created in the system's temporary directory

Exception

ErrorException

Show exception properties
ErrorException {#1289
  #severity: E_NOTICE
}
  1. // If the path already exists and is a symlink, get the real path...
  2. clearstatcache(true, $path);
  3. $path = realpath($path) ?: $path;
  4. $tempPath = tempnam(dirname($path), basename($path));
  5. // Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
  6. if (! is_null($mode)) {
  7. @chmod($tempPath, $mode);
  8. } else {
  1. * @return callable
  2. */
  3. protected function forwardsTo($method)
  4. {
  5. return fn (...$arguments) => static::$app
  6. ? $this->{$method}(...$arguments)
  7. : false;
  8. }
  9. /**
  10. * Determine if the error level is a deprecation.
HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(8, 'tempnam(): file created in the system\'s temporary directory', '/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 222)
  1. // If the path already exists and is a symlink, get the real path...
  2. clearstatcache(true, $path);
  3. $path = realpath($path) ?: $path;
  4. $tempPath = tempnam(dirname($path), basename($path));
  5. // Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600...
  6. if (! is_null($mode)) {
  7. @chmod($tempPath, $mode);
  8. } else {
  1. $this->ensureCompiledDirectoryExists(
  2. $compiledPath = $this->getCompiledPath($this->getPath())
  3. );
  4. if (! $this->files->exists($compiledPath)) {
  5. $this->files->replace($compiledPath, $contents);
  6. return;
  7. }
  8. $compiledHash = $this->files->hash($compiledPath, 'xxh128');
  1. // If this given view has expired, which means it has simply been edited since
  2. // it was last compiled, we will re-compile the views so we can evaluate a
  3. // fresh copy of the view. We'll pass the compiler the path of the view.
  4. if (! isset($this->compiledOrNotExpired[$path]) && $this->compiler->isExpired($path)) {
  5. $this->compiler->compile($path);
  6. }
  7. // Once we have the path to the compiled file, we will evaluate the paths with
  8. // typical PHP just like any other templates. We also keep a stack of views
  9. // which have been rendered for right exception messages to be generated.
  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 section gets 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. $exception = new Exception($flattenException, $request, $this->listener, $this->basePath);
  2. $exceptionAsMarkdown = $this->viewFactory->make('laravel-exceptions-renderer::markdown', [
  3. 'exception' => $exception,
  4. ])->render();
  5. return $this->viewFactory->make('laravel-exceptions-renderer::show', [
  6. 'exception' => $exception,
  7. 'exceptionAsMarkdown' => $exceptionAsMarkdown,
  8. ])->render();
  1. try {
  2. if (config('app.debug')) {
  3. if (app()->has(ExceptionRenderer::class)) {
  4. return $this->renderExceptionWithCustomRenderer($e);
  5. } elseif ($this->container->bound(Renderer::class)) {
  6. return $this->container->make(Renderer::class)->render(request(), $e);
  7. }
  8. }
  9. return $this->renderExceptionWithSymfony($e, config('app.debug'));
  10. } catch (Throwable $e) {
  1. * @return \Symfony\Component\HttpFoundation\Response
  2. */
  3. protected function convertExceptionToResponse(Throwable $e)
  4. {
  5. return new SymfonyResponse(
  6. $this->renderExceptionContent($e),
  7. $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8. $this->isHttpException($e) ? $e->getHeaders() : []
  9. );
  10. }
  1. * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2. */
  3. protected function prepareResponse($request, Throwable $e)
  4. {
  5. if (! $this->isHttpException($e) && config('app.debug')) {
  6. return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7. }
  8. if (! $this->isHttpException($e)) {
  9. $e = new HttpException(500, $e->getMessage(), $e);
  10. }
  1. */
  2. protected function renderExceptionResponse($request, Throwable $e)
  3. {
  4. return $this->shouldReturnJson($request, $e)
  5. ? $this->prepareJsonResponse($request, $e)
  6. : $this->prepareResponse($request, $e);
  7. }
  8. /**
  9. * Convert an authentication exception into a response.
  10. *
  1. return $this->finalizeRenderedResponse($request, match (true) {
  2. $e instanceof HttpResponseException => $e->getResponse(),
  3. $e instanceof AuthenticationException => $this->unauthenticated($request, $e),
  4. $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
  5. default => $this->renderExceptionResponse($request, $e),
  6. }, $e);
  7. }
  8. /**
  9. * Prepare the final, rendered response to be returned to the browser.
  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. ? $pipe->{$this->method}(...$parameters)
  2. : $pipe(...$parameters);
  3. return $this->handleCarry($carry);
  4. } catch (Throwable $e) {
  5. return $this->handleException($passable, $e);
  6. }
  7. };
  8. };
  9. }
  1. * @param \Closure $next
  2. * @return mixed
  3. */
  4. public function handle($request, Closure $next)
  5. {
  6. $response = $next($request);
  7. foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8. $response->headers->setCookie($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. * @param \Closure $next
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function handle($request, Closure $next)
  5. {
  6. return $this->encrypt($next($this->decrypt($request)));
  7. }
  8. /**
  9. * Decrypt the cookies on the request.
  10. *
  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. try {
  3. return $this->withinTransaction !== false
  4. ? $this->getContainer()->make('db')->connection($this->withinTransaction)->transaction(fn () => $pipeline($this->passable))
  5. : $pipeline($this->passable);
  6. } finally {
  7. if ($this->finally) {
  8. ($this->finally)($this->passable);
  9. }
  10. }
  1. $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2. return (new Pipeline($this->container))
  3. ->send($request)
  4. ->through($middleware)
  5. ->then(fn ($request) => $this->prepareResponse(
  6. $request, $route->run()
  7. ));
  8. }
  9. /**
  1. $request->setRouteResolver(fn () => $route);
  2. $this->events->dispatch(new RouteMatched($route, $request));
  3. return $this->prepareResponse($request,
  4. $this->runRouteWithinStack($route, $request)
  5. );
  6. }
  7. /**
  8. * Run the given route within a Stack "onion" instance.
  1. * @param \Illuminate\Http\Request $request
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function dispatchToRoute(Request $request)
  5. {
  6. return $this->runRoute($request, $this->findRoute($request));
  7. }
  8. /**
  9. * Find the route matching a given request.
  10. *
  1. */
  2. public function dispatch(Request $request)
  3. {
  4. $this->currentRequest = $request;
  5. return $this->dispatchToRoute($request);
  6. }
  7. /**
  8. * Dispatch the request to a route and return the response.
  9. *
  1. protected function dispatchToRouter()
  2. {
  3. return function ($request) {
  4. $this->app->instance('request', $request);
  5. return $this->router->dispatch($request);
  6. };
  7. }
  8. /**
  9. * Call the terminate method on any terminable middleware.
  1. */
  2. protected function prepareDestination(Closure $destination)
  3. {
  4. return function ($passable) use ($destination) {
  5. try {
  6. return $destination($passable);
  7. } catch (Throwable $e) {
  8. return $this->handleException($passable, $e);
  9. }
  10. };
  11. }
  1. *
  2. * @param Closure(Request): (\Illuminate\Http\Response) $next
  3. */
  4. public function handle(Request $request, Closure $next): Response
  5. {
  6. $response = $next($request);
  7. if ($response->getStatusCode() !== 401) {
  8. return $response;
  9. }
  10. $route = $request->route();
  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. public function handle($request, Closure $next)
  3. {
  4. $this->clean($request);
  5. return $next($request);
  6. }
  7. /**
  8. * Clean the request's data.
  9. *
  1. if ($callback($request)) {
  2. return $next($request);
  3. }
  4. }
  5. return parent::handle($request, $next);
  6. }
  7. /**
  8. * Transform the given value.
  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. public function handle($request, Closure $next)
  3. {
  4. $this->clean($request);
  5. return $next($request);
  6. }
  7. /**
  8. * Clean the request's data.
  9. *
  1. if ($callback($request)) {
  2. return $next($request);
  3. }
  4. }
  5. return parent::handle($request, $next);
  6. }
  7. /**
  8. * Transform the given value.
  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. if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
  2. throw new PostTooLargeException('The POST data is too large.');
  3. }
  4. return $next($request);
  5. }
  6. /**
  7. * Determine the server 'post_max_size' as bytes.
  8. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  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. return $next($request);
  2. }
  3. }
  4. if (! $this->hasMatchingPath($request)) {
  5. return $next($request);
  6. }
  7. $this->cors->setOptions($this->container['config']->get('cors', []));
  8. if ($this->cors->isPreflightRequest($request)) {
  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. $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3. $this->setTrustedProxyIpAddresses($request);
  4. return $next($request);
  5. }
  6. /**
  7. * Sets the trusted proxies on the request.
  8. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. * @param \Closure $next
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function handle(Request $request, Closure $next)
  5. {
  6. return $next($request);
  7. }
  8. /**
  9. * Invoke the deferred callbacks.
  10. *
  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. if (! mb_check_encoding($decodedPath, 'UTF-8')) {
  2. throw new MalformedUrlException;
  3. }
  4. return $next($request);
  5. }
  6. }
  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. try {
  3. return $this->withinTransaction !== false
  4. ? $this->getContainer()->make('db')->connection($this->withinTransaction)->transaction(fn () => $pipeline($this->passable))
  5. : $pipeline($this->passable);
  6. } finally {
  7. if ($this->finally) {
  8. ($this->finally)($this->passable);
  9. }
  10. }
  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. $this->requestStartedAt = Carbon::now();
  2. try {
  3. $request->enableHttpMethodParameterOverride();
  4. $response = $this->sendRequestThroughRouter($request);
  5. } catch (Throwable $e) {
  6. $this->reportException($e);
  7. $response = $this->renderException($request, $e);
  8. }
  1. */
  2. public function handleRequest(Request $request)
  3. {
  4. $kernel = $this->make(HttpKernelContract::class);
  5. $response = $kernel->handle($request)->send();
  6. $kernel->terminate($request, $response);
  7. }
  8. /**
Application->handleRequest(object(Request)) in /home/imestjco/public_html/professor/public/index.php (line 20)
  1. // Bootstrap Laravel and handle the request...
  2. /** @var Application $app */
  3. $app = require_once __DIR__.'/../bootstrap/app.php';
  4. $app->handleRequest(Request::capture());

Stack Trace

ErrorException
ErrorException:
tempnam(): file created in the system's temporary directory

  at /home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:222
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'tempnam(): file created in the system\'s temporary directory', '/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 222)
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:265)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(8, 'tempnam(): file created in the system\'s temporary directory', '/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 222)
  at tempnam('/home/imestjco/public_html/professor/storage/framework/views', 'b3762e6921e23ddb21d6512620f0a484.php')
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:222)
  at Illuminate\Filesystem\Filesystem->replace('/home/imestjco/public_html/professor/storage/framework/views/b3762e6921e23ddb21d6512620f0a484.php', '# <?php echo e($exception->class()); ?> - <?php echo $exception->title(); ?><?php echo $exception->message(); ?>PHP <?php echo e(PHP_VERSION); ?>Laravel <?php echo e(app()->version()); ?><?php echo e($exception->request()->httpHost()); ?>## Stack Trace<?php $__currentLoopData = $exception->frames(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $frame): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php echo e($index); ?> - <?php echo e($frame->file()); ?>:<?php echo e($frame->line()); ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if($exception->previousExceptions()->isNotEmpty()): ?>## Previous <?php echo e(\\Illuminate\\Support\\Str::plural(\'exception\', $exception->previousExceptions()->count())); ?><?php $__currentLoopData = $exception->previousExceptions(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $previous): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>### <?php echo e($index + 1); ?>. <?php echo e($previous->class()); ?><?php echo $previous->message(); ?><?php $__currentLoopData = $previous->frames(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $frame): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php echo e($index); ?> - <?php echo e($frame->file()); ?>:<?php echo e($frame->line()); ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php endif; ?>## Request<?php echo e($exception->request()->method()); ?> <?php echo e(\\Illuminate\\Support\\Str::start($exception->request()->path(), \'/\')); ?>## Headers<?php $__empty_1 = true; $__currentLoopData = $exception->requestHeaders(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>* **<?php echo e($key); ?>**: <?php echo $value; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>No header data available.<?php endif; ?>## Route Context<?php $__empty_1 = true; $__currentLoopData = $exception->applicationRouteContext(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $name => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?><?php echo e($name); ?>: <?php echo $value; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>No routing data available.<?php endif; ?>## Route Parameters<?php if($routeParametersContext = $exception->applicationRouteParametersContext()): ?><?php echo $routeParametersContext; ?><?php else: ?>No route parameter data available.<?php endif; ?>## Database Queries<?php $__empty_1 = true; $__currentLoopData = $exception->applicationQueries(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as [\'connectionName\' => $connectionName, \'sql\' => $sql, \'time\' => $time]): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>* <?php echo e($connectionName); ?> - <?php echo $sql; ?> (<?php echo e($time); ?> ms)<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>No database queries detected.<?php endif; ?><?php /**PATH /home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/markdown.blade.php ENDPATH**/ ?>')
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php:201)
  at Illuminate\View\Compilers\BladeCompiler->compile('/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/markdown.blade.php')
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:68)
  at Illuminate\View\Engines\CompilerEngine->get('/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/markdown.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php:95)
  at Illuminate\Foundation\Exceptions\Renderer\Renderer->render(object(Request), object(ErrorException))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:993)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:974)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:953)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:844)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(ErrorException))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:731)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:224)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:36)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:74)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:137)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Routing/Router.php:833)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Routing/Router.php:812)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Routing/Router.php:765)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/mcp/src/Server/Middleware/AddWwwAuthenticateHeader.php:21)
  at Laravel\Mcp\Server\Middleware\AddWwwAuthenticateHeader->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:110)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:61)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:58)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php:22)
  at Illuminate\Foundation\Http\Middleware\InvokeDeferredCallbacks->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php:28)
  at Illuminate\Http\Middleware\ValidatePathEncoding->handle(object(Request), object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:137)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/home/imestjco/public_html/professor/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1228)
  at Illuminate\Foundation\Application->handleRequest(object(Request))
     (/home/imestjco/public_html/professor/public/index.php:20)