Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Using ${var} in strings is deprecated, use {$var} instead

Exception

ErrorException

  1.         ];
  2.     }
  3.     protected function getCurrentBranch(string $directory): string
  4.     {
  5.         $branch "'".trim(shell_exec("cd ${directory}; git branch | grep \\* | cut -d ' ' -f2"))."'";
  6.         if ($branch === "''") {
  7.             $branch 'current branch';
  8.         }
  1.  *
  2.  * Prevents access to $this/self from included files.
  3.  */
  4. function includeFile($file)
  5. {
  6.     include $file;
  7. }
  1.  *
  2.  * Prevents access to $this/self from included files.
  3.  */
  4. function includeFile($file)
  5. {
  6.     include $file;
  7. }
in /home3/sajilote/public_html/htms/vendor/composer/ClassLoader.php Composer\Autoload\includeFile (line 322)
  1.      * @return bool|null True if loaded, null otherwise
  2.      */
  3.     public function loadClass($class)
  4.     {
  5.         if ($file $this->findFile($class)) {
  6.             includeFile($file);
  7.             return true;
  8.         }
  9.     }
ClassLoader->loadClass()
  1.             $solutions[] = $throwable->getSolution();
  2.         }
  3.         $providedSolutions $this->solutionProviders
  4.             ->filter(function (string $solutionClass) {
  5.                 if (! in_array(HasSolutionsForThrowable::class, class_implements($solutionClass))) {
  6.                     return false;
  7.                 }
  8.                 if (in_array($solutionClassconfig('ignition.ignored_solution_providers', []))) {
  9.                     return false;
SolutionProviderRepository->Facade\Ignition\SolutionProviders\{closure}()
  1.      * @param  callable  $callback
  2.      * @return array
  3.      */
  4.     public static function where($array, callable $callback)
  5.     {
  6.         return array_filter($array$callbackARRAY_FILTER_USE_BOTH);
  7.     }
  8.     /**
  9.      * If the given value is not an array and not null, wrap it in one.
  10.      *
  1.      * @return static
  2.      */
  3.     public function filter(callable $callback null)
  4.     {
  5.         if ($callback) {
  6.             return new static(Arr::where($this->items$callback));
  7.         }
  8.         return new static(array_filter($this->items));
  9.     }
  1.         if ($throwable instanceof ProvidesSolution) {
  2.             $solutions[] = $throwable->getSolution();
  3.         }
  4.         $providedSolutions $this->solutionProviders
  5.             ->filter(function (string $solutionClass) {
  6.                 if (! in_array(HasSolutionsForThrowable::class, class_implements($solutionClass))) {
  7.                     return false;
  8.                 }
  9.                 if (in_array($solutionClassconfig('ignition.ignored_solution_providers', []))) {
  1.     }
  2.     public function handle(Report $report$next)
  3.     {
  4.         if ($throwable $report->getThrowable()) {
  5.             $solutions $this->solutionProviderRepository->getSolutionsForThrowable($throwable);
  6.             foreach ($solutions as $solution) {
  7.                 $report->addSolution($solution);
  8.             }
  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.     public function handle(Report $report$next)
  2.     {
  3.         $report->group('queries'$this->queryRecorder->getQueries());
  4.         return $next($report);
  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.     public function handle(Report $report$next)
  2.     {
  3.         $report->group('dumps'$this->dumpRecorder->getDumps());
  4.         return $next($report);
  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.     public function handle(Report $report$next)
  2.     {
  3.         $report->group('logs'$this->logRecorder->getLogMessages());
  4.         return $next($report);
  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.             'laravel_locale' => app()->getLocale(),
  2.             'laravel_config_cached' => app()->configurationIsCached(),
  3.             'php_version' => phpversion(),
  4.         ]);
  5.         return $next($report);
  6.     }
  7. }
  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.     public function handle(Report $report$next)
  2.     {
  3.         $report->notifierName(static::NOTIFIER_NAME);
  4.         return $next($report);
  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.         }
  3.         $report->userProvidedContext($context);
  4.         return $next($report);
  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.         $context['request']['ip'] = null;
  2.         $report->userProvidedContext($context);
  3.         return $next($report);
  4.     }
  5. }
  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.         foreach ($this->recorder->glows() as $glow) {
  3.             $report->addGlow($glow);
  4.         }
  5.         return $next($report);
  6.     }
  7. }
  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->applyAdditionalParameters($report);
  2.         $report = (new Pipeline($this->container))
  3.             ->send($report)
  4.             ->through($this->middleware)
  5.             ->then(function ($report) {
  6.                 return $report;
  7.             });
  8.         return $report;
  9.     }
  1.             $this->contextDetector->detectCurrentContext(),
  2.             $this->applicationPath,
  3.             $this->version()
  4.         );
  5.         return $this->applyMiddlewareToReport($report);
  6.     }
  7.     public function createReportFromMessage(string $messagestring $logLevel): Report
  8.     {
  9.         $report Report::createForMessage(
  1.         $this->solutionProviderRepository $solutionProviderRepository;
  2.     }
  3.     public function handle(Throwable $throwable$defaultTab null$defaultTabProps = [])
  4.     {
  5.         $report $this->flareClient->createReport($throwable);
  6.         $solutions $this->solutionProviderRepository->getSolutionsForThrowable($throwable);
  7.         $viewModel = new ErrorPageViewModel(
  8.             $throwable,
  1.     }
  2.     public function handle(): ?int
  3.     {
  4.         try {
  5.             $this->errorPageHandler->handle($this->exception);
  6.         } catch (Error $error) {
  7.             // Errors aren't caught by Whoops.
  8.             // Convert the error to an exception and throw again.
  9.             throw new ErrorException(
  1.                 // The HandlerInterface does not require an Exception passed to handle()
  2.                 // and neither of our bundled handlers use it.
  3.                 // However, 3rd party handlers may have already relied on this parameter,
  4.                 // and removing it would be possibly breaking for users.
  5.                 $handlerResponse $handler->handle($exception);
  6.                 // Collect the content type for possible sending in the headers.
  7.                 $handlerContentType method_exists($handler'contentType') ? $handler->contentType() : null;
  8.                 if (in_array($handlerResponse, [Handler::LAST_HANDLERHandler::QUIT])) {
  1.             $whoops->appendHandler($this->whoopsHandler());
  2.             $whoops->writeToOutput(false);
  3.             $whoops->allowQuit(false);
  4.         })->handleException($e);
  5.     }
  6.     /**
  7.      * Get the Whoops handler for the application.
  8.      *
  1.      */
  2.     protected function renderExceptionContent(Throwable $e)
  3.     {
  4.         try {
  5.             return config('app.debug') && class_exists(Whoops::class)
  6.                         ? $this->renderExceptionWithWhoops($e)
  7.                         : $this->renderExceptionWithSymfony($econfig('app.debug'));
  8.         } catch (Exception $e) {
  9.             return $this->renderExceptionWithSymfony($econfig('app.debug'));
  10.         }
  11.     }
  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 \Symfony\Component\HttpFoundation\Response
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         if (! $this->isHttpException($e) && config('app.debug')) {
  6.             return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
  7.         }
  8.         if (! $this->isHttpException($e)) {
  9.             $e = new HttpException(500$e->getMessage());
  10.         }
  1.             return $this->convertValidationExceptionToResponse($e$request);
  2.         }
  3.         return $request->expectsJson()
  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  \Throwable  $e
  2.      * @return void
  3.      */
  4.     protected function renderHttpResponse(Throwable $e)
  5.     {
  6.         $this->getExceptionHandler()->render($this->app['request'], $e)->send();
  7.     }
  8.     /**
  9.      * Handle the PHP shutdown event.
  10.      *
  1.         }
  2.         if ($this->app->runningInConsole()) {
  3.             $this->renderForConsole($e);
  4.         } else {
  5.             $this->renderHttpResponse($e);
  6.         }
  7.     }
  8.     /**
  9.      * Render an exception to the console.
  1.      * @return void
  2.      */
  3.     public function handleShutdown()
  4.     {
  5.         if (! is_null($error error_get_last()) && $this->isFatal($error['type'])) {
  6.             $this->handleException($this->fatalErrorFromPhpError($error0));
  7.         }
  8.     }
  9.     /**
  10.      * Create a new fatal error instance from an error array.
HandleExceptions->handleShutdown()

Stack Trace

ErrorException
ErrorException:
Using ${var} in strings is deprecated, use {$var} instead

  at /home3/sajilote/public_html/htms/vendor/facade/ignition/src/SolutionProviders/MergeConflictSolutionProvider.php:52
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/home3/sajilote/public_html/htms/vendor/composer/ClassLoader.php:444)
  at include()
     (/home3/sajilote/public_html/htms/vendor/composer/ClassLoader.php:444)
  at Composer\Autoload\includeFile()
     (/home3/sajilote/public_html/htms/vendor/composer/ClassLoader.php:322)
  at Composer\Autoload\ClassLoader->loadClass()
  at class_implements()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/SolutionProviders/SolutionProviderRepository.php:50)
  at Facade\Ignition\SolutionProviders\SolutionProviderRepository->Facade\Ignition\SolutionProviders\{closure}()
  at array_filter()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Collections/Arr.php:687)
  at Illuminate\Support\Arr::where()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:344)
  at Illuminate\Support\Collection->filter()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/SolutionProviders/SolutionProviderRepository.php:49)
  at Facade\Ignition\SolutionProviders\SolutionProviderRepository->getSolutionsForThrowable()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/Middleware/AddSolutions.php:21)
  at Facade\Ignition\Middleware\AddSolutions->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/Middleware/AddQueries.php:22)
  at Facade\Ignition\Middleware\AddQueries->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/Middleware/AddDumps.php:22)
  at Facade\Ignition\Middleware\AddDumps->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/Middleware/AddLogs.php:22)
  at Facade\Ignition\Middleware\AddLogs->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/Middleware/AddEnvironmentInformation.php:20)
  at Facade\Ignition\Middleware\AddEnvironmentInformation->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/Middleware/SetNotifierName.php:15)
  at Facade\Ignition\Middleware\SetNotifierName->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/facade/flare-client-php/src/Middleware/CensorRequestBodyFields.php:28)
  at Facade\FlareClient\Middleware\CensorRequestBodyFields->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/facade/flare-client-php/src/Middleware/AnonymizeIp.php:17)
  at Facade\FlareClient\Middleware\AnonymizeIp->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/facade/flare-client-php/src/Middleware/AddGlows.php:24)
  at Facade\FlareClient\Middleware\AddGlows->handle()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/home3/sajilote/public_html/htms/vendor/facade/flare-client-php/src/Flare.php:313)
  at Facade\FlareClient\Flare->applyMiddlewareToReport()
     (/home3/sajilote/public_html/htms/vendor/facade/flare-client-php/src/Flare.php:291)
  at Facade\FlareClient\Flare->createReport()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:40)
  at Facade\Ignition\ErrorPage\ErrorPageHandler->handle()
     (/home3/sajilote/public_html/htms/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25)
  at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle()
     (/home3/sajilote/public_html/htms/vendor/filp/whoops/src/Whoops/Run.php:370)
  at Whoops\Run->handleException()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:528)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:507)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:491)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:470)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:356)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:119)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:96)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
     (/home3/sajilote/public_html/htms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:130)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()