try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
{
$this->router->substituteBindings($route = $request->route());
$this->router->substituteImplicitBindings($route);
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
) {
return tap($next($request), function ($response) use ($request) {
if ($this->shouldAddXsrfTokenCookie()) {
$this->addCookieToResponse($request, $response);
}
});
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
$this->startSession($request, $session)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
if ($this->manager->shouldBlock() ||
($request->route() && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: Trying to get property \'main_menu_id\' of non-object in file /home/u511725780/domains/cigi.org/public_html/app/Http/Controllers/Front/Content/ContentController.php on line 207#0 /home/u511725780/domains/cigi.org/public_html/app/Http/Controllers/Front/Content/ContentController.php(207): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, \'Trying to get p...\', \'/home/u51172578...\', 207, Array)#1 /home/u511725780/domains/cigi.org/public_html/app/Http/Controllers/Front/Content/ContentController.php(23): App\\Http\\Controllers\\Front\\Content\\ContentController->mainMenuId(\'notification\')#2 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\Front\\Content\\ContentController->getBySubMenu(Object(Illuminate\\Http\\Request), \'notification\', \'MzIw\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction(\'getBySubMenu\', Array)#4 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(239): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\Front\\Content\\ContentController), \'getBySubMenu\')#5 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(196): Illuminate\\Routing\\Route->runController()#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(685): Illuminate\\Routing\\Route->run()#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#11 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#29 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#30 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#31 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#32 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#33 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#34 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#35 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#36 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#37 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#38 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#39 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#40 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#41 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#42 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#43 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#44 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 Trying to get property \'main_menu_id\' of non-object', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'Trying to get property \'main_menu_id\' of non-object', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 207, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array(' ->facebook()', ' ->whatsapp()', ' ->twitter();', '', '', ' return view("front.Components.service_detail",$data);', ' }', '', '', ' public function mainMenuId($url)', ' {', ' $main = DB::table(\'tbl_main_menu\')', ' ->where(\'main_menu_status\',0)', ' ->where(\'main_menu_name\',str_replace(\'_\',\' \',$url))', ' ->first();', ' return $main->main_menu_id;', ' }', ' public function subMenu($url,$mainId)', ' {', ' $sub = DB::table(\'tbl_sub_menu\')', ' ->where(\'sub_menu_name\',str_replace(\'_\',\' \',$url))', ' ->where(\'sub_menu_menuid\',$mainId)', ' ->where(\'sub_menu_status\',0)', ' ->first();', ' return $sub;', ' }', ' public function getThirdSubMenus($mainId,$subId)', ' {', ' $menus = DB::table(\'tbl_3rdsubmenu\')', ' ->where(\'sub_sub_status\',0)', ' ->where(\'sub_sub_mainid\',$mainId)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Http/Controllers/Front/Content/ContentController.php', 'is_application_frame' => true), array('line_number' => 207, 'method' => 'mainMenuId', 'class' => 'App\\Http\\Controllers\\Front\\Content\\ContentController', 'code_snippet' => array(' ->facebook()', ' ->whatsapp()', ' ->twitter();', '', '', ' return view("front.Components.service_detail",$data);', ' }', '', '', ' public function mainMenuId($url)', ' {', ' $main = DB::table(\'tbl_main_menu\')', ' ->where(\'main_menu_status\',0)', ' ->where(\'main_menu_name\',str_replace(\'_\',\' \',$url))', ' ->first();', ' return $main->main_menu_id;', ' }', ' public function subMenu($url,$mainId)', ' {', ' $sub = DB::table(\'tbl_sub_menu\')', ' ->where(\'sub_menu_name\',str_replace(\'_\',\' \',$url))', ' ->where(\'sub_menu_menuid\',$mainId)', ' ->where(\'sub_menu_status\',0)', ' ->first();', ' return $sub;', ' }', ' public function getThirdSubMenus($mainId,$subId)', ' {', ' $menus = DB::table(\'tbl_3rdsubmenu\')', ' ->where(\'sub_sub_status\',0)', ' ->where(\'sub_sub_mainid\',$mainId)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Http/Controllers/Front/Content/ContentController.php', 'is_application_frame' => true), array('line_number' => 23, 'method' => 'getBySubMenu', 'class' => 'App\\Http\\Controllers\\Front\\Content\\ContentController', 'code_snippet' => array('use Illuminate\\Support\\Facades\\Validator;', 'use App\\Http\\Controllers\\Core;', 'use DB;', 'Use Str;', 'use Mail;', 'use Share;', 'class ContentController extends Controller', '{', ' public function getByMainMenu()', ' {', '', ' }', ' public function getBySubMenu(Request $request)', ' {', ' $url = request()->segment(count(request()->segments()) - 1);', ' $mainId = $this->mainMenuId($url);', '', ' $urlLast = request()->segment(count(request()->segments()));', ' $sub = $this->subMenu($urlLast,$mainId);', ' $subId = $sub->sub_menu_id;', ' $MenuName = $sub->sub_menu_name;', ' $banner = $sub->sub_menu_banner;', ' $thirdMenus = $this->getThirdSubMenus($mainId,$subId);', ' $third = $this->thirdMenu($mainId,$subId,$request->menu);', '', ' if($request->ajax())', ' {', ' if(count($thirdMenus) == 0){', ' $data = DB::table(\'tbl_contents\')', ' ->select(\'content_id as id\',\'content_title as title\',\'content_desc as description\',\'content_img as image\')', ' ->where(\'content_status\',0)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Http/Controllers/Front/Content/ContentController.php', 'is_application_frame' => true), array('line_number' => 54, 'method' => 'callAction', 'class' => 'Illuminate\\Routing\\Controller', 'code_snippet' => array(' */', ' public function getMiddleware()', ' {', ' return $this->middleware;', ' }', '', ' /**', ' * Execute an action on the controller.', ' *', ' * @param string $method', ' * @param array $parameters', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function callAction($method, $parameters)', ' {', ' return $this->{$method}(...array_values($parameters));', ' }', '', ' /**', ' * Handle calls to missing methods on the controller.', ' *', ' * @param string $method', ' * @param array $parameters', ' * @return mixed', ' *', ' * @throws \\BadMethodCallException', ' */', ' public function __call($method, $parameters)', ' {', ' throw new BadMethodCallException(sprintf(', ' \'Method %s::%s does not exist.\', static::class, $method'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php', 'is_application_frame' => false), array('line_number' => 45, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\ControllerDispatcher', 'code_snippet' => array(' /**', ' * Dispatch a request to a given controller and method.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param mixed $controller', ' * @param string $method', ' * @return mixed', ' */', ' public function dispatch(Route $route, $controller, $method)', ' {', ' $parameters = $this->resolveClassMethodDependencies(', ' $route->parametersWithoutNulls(), $controller, $method', ' );', '', ' if (method_exists($controller, \'callAction\')) {', ' return $controller->callAction($method, $parameters);', ' }', '', ' return $controller->{$method}(...array_values($parameters));', ' }', '', ' /**', ' * Get the middleware for the controller instance.', ' *', ' * @param \\Illuminate\\Routing\\Controller $controller', ' * @param string $method', ' * @return array', ' */', ' public function getMiddleware($controller, $method)', ' {', ' if (! method_exists($controller, \'getMiddleware\')) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php', 'is_application_frame' => false), array('line_number' => 239, 'method' => 'runController', 'class' => 'Illuminate\\Routing\\Route', 'code_snippet' => array(' return $callable(...array_values($this->resolveMethodDependencies(', ' $this->parametersWithoutNulls(), new ReflectionFunction($this->action[\'uses\'])', ' )));', ' }', '', ' /**', ' * Run the route action and return the response.', ' *', ' * @return mixed', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException', ' */', ' protected function runController()', ' {', ' return $this->controllerDispatcher()->dispatch(', ' $this, $this->getController(), $this->getControllerMethod()', ' );', ' }', '', ' /**', ' * Get the controller instance for the route.', ' *', ' * @return mixed', ' */', ' public function getController()', ' {', ' if (! $this->controller) {', ' $class = $this->parseControllerCallback()[0];', '', ' $this->controller = $this->container->make(ltrim($class, \'\\\\\'));', ' }'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php', 'is_application_frame' => false), array('line_number' => 196, 'method' => 'run', 'class' => 'Illuminate\\Routing\\Route', 'code_snippet' => array(' {', ' return RouteAction::parse($this->uri, $action);', ' }', '', ' /**', ' * Run the route action and return the response.', ' *', ' * @return mixed', ' */', ' public function run()', ' {', ' $this->container = $this->container ?: new Container;', '', ' try {', ' if ($this->isControllerAction()) {', ' return $this->runController();', ' }', '', ' return $this->runCallable();', ' } catch (HttpResponseException $e) {', ' return $e->getResponse();', ' }', ' }', '', ' /**', ' * Checks whether the route\'s action is a controller.', ' *', ' * @return bool', ' */', ' protected function isControllerAction()', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php', 'is_application_frame' => false), array('line_number' => 685, 'method' => 'Illuminate\\Routing\\{closure}', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 41, 'method' => 'handle', 'class' => 'Illuminate\\Routing\\Middleware\\SubstituteBindings', 'code_snippet' => array(' */', ' protected $router;', '', ' /**', ' * Create a new bindings substitutor.', ' *', ' * @param \\Illuminate\\Contracts\\Routing\\Registrar $router', ' * @return void', ' */', ' public function __construct(Registrar $router)', ' {', ' $this->router = $router;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->router->substituteBindings($route = $request->route());', '', ' $this->router->substituteImplicitBindings($route);', '', ' return $next($request);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 78, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Session\\TokenMismatchException', ' */', ' public function handle($request, Closure $next)', ' {', ' if (', ' $this->isReading($request) ||', ' $this->runningUnitTests() ||', ' $this->inExceptArray($request) ||', ' $this->tokensMatch($request)', ' ) {', ' return tap($next($request), function ($response) use ($request) {', ' if ($this->shouldAddXsrfTokenCookie()) {', ' $this->addCookieToResponse($request, $response);', ' }', ' });', ' }', '', ' throw new TokenMismatchException(\'CSRF token mismatch.\');', ' }', '', ' /**', ' * Determine if the HTTP request uses a ‘read’ verb.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 49, 'method' => 'handle', 'class' => 'Illuminate\\View\\Middleware\\ShareErrorsFromSession', 'code_snippet' => array(' * @return void', ' */', ' public function __construct(ViewFactory $view)', ' {', ' $this->view = $view;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' // If the current session has an "errors" variable bound to it, we will share', ' // its value with all view instances so the views can easily access errors', ' // without having to bind. An empty bag is set when there aren\'t errors.', ' $this->view->share(', ' \'errors\', $request->session()->get(\'errors\') ?: new ViewErrorBag', ' );', '', ' // Putting the errors in the view for every view allows the developer to just', ' // assume that some errors are always available, which is convenient since', ' // they don\'t have to continually run checks for the presence of errors.', '', ' return $next($request);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 116, 'method' => 'handleStatefulRequest', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleStatefulRequest(Request $request, $session, Closure $next)', ' {', ' // If a session driver has been configured, we will need to start the session here', ' // so that the data is ready for an application. Note that the Laravel sessions', ' // do not make use of PHP "native" sessions in any way since they are crappy.', ' $request->setLaravelSession(', ' $this->startSession($request, $session)', ' );', '', ' $this->collectGarbage($session);', '', ' $response = $next($request);', '', ' $this->storeCurrentUrl($request, $session);', '', ' $this->addCookieToResponse($response, $session);', '', ' // Again, if the session has been configured we will need to close out the session', ' // so that the attributes may be persisted to some storage medium. We will also', ' // add the session identifier cookie to the application response headers now.', ' $this->saveSession($request);', '', ' return $response;', ' }', '', ' /**', ' * Start the session for the given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 62, 'method' => 'handle', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' if (! $this->sessionConfigured()) {', ' return $next($request);', ' }', '', ' $session = $this->getSession($request);', '', ' if ($this->manager->shouldBlock() ||', ' ($request->route() && $request->route()->locksFor())) {', ' return $this->handleRequestWhileBlocking($request, $session, $next);', ' } else {', ' return $this->handleStatefulRequest($request, $session, $next);', ' }', ' }', '', ' /**', ' * Handle the given request within session state.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)', ' {', ' $lockFor = $request->route() && $request->route()->locksFor()', ' ? $request->route()->locksFor()'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 37, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse', 'code_snippet' => array('', ' /**', ' * Create a new CookieQueue instance.', ' *', ' * @param \\Illuminate\\Contracts\\Cookie\\QueueingFactory $cookies', ' * @return void', ' */', ' public function __construct(CookieJar $cookies)', ' {', ' $this->cookies = $cookies;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $response = $next($request);', '', ' foreach ($this->cookies->getQueuedCookies() as $cookie) {', ' $response->headers->setCookie($cookie);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 67, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\EncryptCookies', 'code_snippet' => array(' */', ' public function disableFor($name)', ' {', ' $this->except = array_merge($this->except, (array) $name);', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function handle($request, Closure $next)', ' {', ' return $this->encrypt($next($this->decrypt($request)));', ' }', '', ' /**', ' * Decrypt the cookies on the request.', ' *', ' * @param \\Symfony\\Component\\HttpFoundation\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Request', ' */', ' protected function decrypt(Request $request)', ' {', ' foreach ($request->cookies as $key => $cookie) {', ' if ($this->isDisabled($key)) {', ' continue;', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 687, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();', '', ' $middleware = collect($route->gatherMiddleware())->map(function ($name) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * Return the response for the given route.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function runRoute(Request $request, Route $route)', ' {', ' $request->setRouteResolver(function () use ($route) {', ' return $route;', ' });', '', ' $this->events->dispatch(new RouteMatched($route, $request));', '', ' return $this->prepareResponse($request,', ' $this->runRouteWithinStack($route, $request)', ' );', ' }', '', ' /**', ' * Run the given route within a Stack "onion" instance.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 628, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Routing\\Route', ' */', ' protected function findRoute($request)', ' {', ' $this->current = $route = $this->routes->match($request);', '', ' $this->container->instance(Route::class, $route);', '', ' return $route;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 617, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', ' return $this->runRoute($this->currentRequest, $route);', ' }', '', ' /**', ' * Dispatch the request to the application.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 165, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**', ' * Get the route dispatcher callback.', ' *', ' * @return \\Closure', ' */', ' protected function dispatchToRouter()', ' {', ' return function ($request) {', ' $this->app->instance(\'request\', $request);', '', ' return $this->router->dispatch($request);', ' };', ' }', '', ' /**', ' * Call the terminate method on any terminable middleware.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Http\\Response $response', ' * @return void', ' */', ' public function terminate($request, $response)', ' {', ' $this->terminateMiddleware($request, $response);', '', ' $this->app->terminate();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41) at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78) at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49) at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116) at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:62) at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617) at Illuminate\Routing\Router->dispatch(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
) {
return tap($next($request), function ($response) use ($request) {
if ($this->shouldAddXsrfTokenCookie()) {
$this->addCookieToResponse($request, $response);
}
});
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
$this->startSession($request, $session)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
if ($this->manager->shouldBlock() ||
($request->route() && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#29 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#30 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#31 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))#32 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))#33 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#34 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#35 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#36 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#37 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#38 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#39 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#40 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#41 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#42 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#43 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#44 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#45 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#46 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#47 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#48 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#49 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#50 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 130, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {', ' try {', ' if (is_callable($pipe)) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 41, 'method' => 'handle', 'class' => 'Illuminate\\Routing\\Middleware\\SubstituteBindings', 'code_snippet' => array(' */', ' protected $router;', '', ' /**', ' * Create a new bindings substitutor.', ' *', ' * @param \\Illuminate\\Contracts\\Routing\\Registrar $router', ' * @return void', ' */', ' public function __construct(Registrar $router)', ' {', ' $this->router = $router;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->router->substituteBindings($route = $request->route());', '', ' $this->router->substituteImplicitBindings($route);', '', ' return $next($request);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 78, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Session\\TokenMismatchException', ' */', ' public function handle($request, Closure $next)', ' {', ' if (', ' $this->isReading($request) ||', ' $this->runningUnitTests() ||', ' $this->inExceptArray($request) ||', ' $this->tokensMatch($request)', ' ) {', ' return tap($next($request), function ($response) use ($request) {', ' if ($this->shouldAddXsrfTokenCookie()) {', ' $this->addCookieToResponse($request, $response);', ' }', ' });', ' }', '', ' throw new TokenMismatchException(\'CSRF token mismatch.\');', ' }', '', ' /**', ' * Determine if the HTTP request uses a ‘read’ verb.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 49, 'method' => 'handle', 'class' => 'Illuminate\\View\\Middleware\\ShareErrorsFromSession', 'code_snippet' => array(' * @return void', ' */', ' public function __construct(ViewFactory $view)', ' {', ' $this->view = $view;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' // If the current session has an "errors" variable bound to it, we will share', ' // its value with all view instances so the views can easily access errors', ' // without having to bind. An empty bag is set when there aren\'t errors.', ' $this->view->share(', ' \'errors\', $request->session()->get(\'errors\') ?: new ViewErrorBag', ' );', '', ' // Putting the errors in the view for every view allows the developer to just', ' // assume that some errors are always available, which is convenient since', ' // they don\'t have to continually run checks for the presence of errors.', '', ' return $next($request);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 116, 'method' => 'handleStatefulRequest', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleStatefulRequest(Request $request, $session, Closure $next)', ' {', ' // If a session driver has been configured, we will need to start the session here', ' // so that the data is ready for an application. Note that the Laravel sessions', ' // do not make use of PHP "native" sessions in any way since they are crappy.', ' $request->setLaravelSession(', ' $this->startSession($request, $session)', ' );', '', ' $this->collectGarbage($session);', '', ' $response = $next($request);', '', ' $this->storeCurrentUrl($request, $session);', '', ' $this->addCookieToResponse($response, $session);', '', ' // Again, if the session has been configured we will need to close out the session', ' // so that the attributes may be persisted to some storage medium. We will also', ' // add the session identifier cookie to the application response headers now.', ' $this->saveSession($request);', '', ' return $response;', ' }', '', ' /**', ' * Start the session for the given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 62, 'method' => 'handle', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' if (! $this->sessionConfigured()) {', ' return $next($request);', ' }', '', ' $session = $this->getSession($request);', '', ' if ($this->manager->shouldBlock() ||', ' ($request->route() && $request->route()->locksFor())) {', ' return $this->handleRequestWhileBlocking($request, $session, $next);', ' } else {', ' return $this->handleStatefulRequest($request, $session, $next);', ' }', ' }', '', ' /**', ' * Handle the given request within session state.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)', ' {', ' $lockFor = $request->route() && $request->route()->locksFor()', ' ? $request->route()->locksFor()'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 37, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse', 'code_snippet' => array('', ' /**', ' * Create a new CookieQueue instance.', ' *', ' * @param \\Illuminate\\Contracts\\Cookie\\QueueingFactory $cookies', ' * @return void', ' */', ' public function __construct(CookieJar $cookies)', ' {', ' $this->cookies = $cookies;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $response = $next($request);', '', ' foreach ($this->cookies->getQueuedCookies() as $cookie) {', ' $response->headers->setCookie($cookie);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 67, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\EncryptCookies', 'code_snippet' => array(' */', ' public function disableFor($name)', ' {', ' $this->except = array_merge($this->except, (array) $name);', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function handle($request, Closure $next)', ' {', ' return $this->encrypt($next($this->decrypt($request)));', ' }', '', ' /**', ' * Decrypt the cookies on the request.', ' *', ' * @param \\Symfony\\Component\\HttpFoundation\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Request', ' */', ' protected function decrypt(Request $request)', ' {', ' foreach ($request->cookies as $key => $cookie) {', ' if ($this->isDisabled($key)) {', ' continue;', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 687, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();', '', ' $middleware = collect($route->gatherMiddleware())->map(function ($name) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * Return the response for the given route.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function runRoute(Request $request, Route $route)', ' {', ' $request->setRouteResolver(function () use ($route) {', ' return $route;', ' });', '', ' $this->events->dispatch(new RouteMatched($route, $request));', '', ' return $this->prepareResponse($request,', ' $this->runRouteWithinStack($route, $request)', ' );', ' }', '', ' /**', ' * Run the given route within a Stack "onion" instance.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 628, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Routing\\Route', ' */', ' protected function findRoute($request)', ' {', ' $this->current = $route = $this->routes->match($request);', '', ' $this->container->instance(Route::class, $route);', '', ' return $route;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 617, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', ' return $this->runRoute($this->currentRequest, $route);', ' }', '', ' /**', ' * Dispatch the request to the application.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 165, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**', ' * Get the route dispatcher callback.', ' *', ' * @return \\Closure', ' */', ' protected function dispatchToRouter()', ' {', ' return function ($request) {', ' $this->app->instance(\'request\', $request);', '', ' return $this->router->dispatch($request);', ' };', ' }', '', ' /**', ' * Call the terminate method on any terminable middleware.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Http\\Response $response', ' * @return void', ' */', ' public function terminate($request, $response)', ' {', ' $this->terminateMiddleware($request, $response);', '', ' $this->app->terminate();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78) at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49) at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116) at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:62) at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617) at Illuminate\Routing\Router->dispatch(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
$this->startSession($request, $session)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
if ($this->manager->shouldBlock() ||
($request->route() && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#29 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))#30 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))#31 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#32 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#33 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#34 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#35 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#36 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#37 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#38 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#39 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#40 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#41 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#42 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#43 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#44 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#45 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#46 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#47 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#48 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 78, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Session\\TokenMismatchException', ' */', ' public function handle($request, Closure $next)', ' {', ' if (', ' $this->isReading($request) ||', ' $this->runningUnitTests() ||', ' $this->inExceptArray($request) ||', ' $this->tokensMatch($request)', ' ) {', ' return tap($next($request), function ($response) use ($request) {', ' if ($this->shouldAddXsrfTokenCookie()) {', ' $this->addCookieToResponse($request, $response);', ' }', ' });', ' }', '', ' throw new TokenMismatchException(\'CSRF token mismatch.\');', ' }', '', ' /**', ' * Determine if the HTTP request uses a ‘read’ verb.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 49, 'method' => 'handle', 'class' => 'Illuminate\\View\\Middleware\\ShareErrorsFromSession', 'code_snippet' => array(' * @return void', ' */', ' public function __construct(ViewFactory $view)', ' {', ' $this->view = $view;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' // If the current session has an "errors" variable bound to it, we will share', ' // its value with all view instances so the views can easily access errors', ' // without having to bind. An empty bag is set when there aren\'t errors.', ' $this->view->share(', ' \'errors\', $request->session()->get(\'errors\') ?: new ViewErrorBag', ' );', '', ' // Putting the errors in the view for every view allows the developer to just', ' // assume that some errors are always available, which is convenient since', ' // they don\'t have to continually run checks for the presence of errors.', '', ' return $next($request);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 116, 'method' => 'handleStatefulRequest', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleStatefulRequest(Request $request, $session, Closure $next)', ' {', ' // If a session driver has been configured, we will need to start the session here', ' // so that the data is ready for an application. Note that the Laravel sessions', ' // do not make use of PHP "native" sessions in any way since they are crappy.', ' $request->setLaravelSession(', ' $this->startSession($request, $session)', ' );', '', ' $this->collectGarbage($session);', '', ' $response = $next($request);', '', ' $this->storeCurrentUrl($request, $session);', '', ' $this->addCookieToResponse($response, $session);', '', ' // Again, if the session has been configured we will need to close out the session', ' // so that the attributes may be persisted to some storage medium. We will also', ' // add the session identifier cookie to the application response headers now.', ' $this->saveSession($request);', '', ' return $response;', ' }', '', ' /**', ' * Start the session for the given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 62, 'method' => 'handle', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' if (! $this->sessionConfigured()) {', ' return $next($request);', ' }', '', ' $session = $this->getSession($request);', '', ' if ($this->manager->shouldBlock() ||', ' ($request->route() && $request->route()->locksFor())) {', ' return $this->handleRequestWhileBlocking($request, $session, $next);', ' } else {', ' return $this->handleStatefulRequest($request, $session, $next);', ' }', ' }', '', ' /**', ' * Handle the given request within session state.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)', ' {', ' $lockFor = $request->route() && $request->route()->locksFor()', ' ? $request->route()->locksFor()'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 37, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse', 'code_snippet' => array('', ' /**', ' * Create a new CookieQueue instance.', ' *', ' * @param \\Illuminate\\Contracts\\Cookie\\QueueingFactory $cookies', ' * @return void', ' */', ' public function __construct(CookieJar $cookies)', ' {', ' $this->cookies = $cookies;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $response = $next($request);', '', ' foreach ($this->cookies->getQueuedCookies() as $cookie) {', ' $response->headers->setCookie($cookie);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 67, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\EncryptCookies', 'code_snippet' => array(' */', ' public function disableFor($name)', ' {', ' $this->except = array_merge($this->except, (array) $name);', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function handle($request, Closure $next)', ' {', ' return $this->encrypt($next($this->decrypt($request)));', ' }', '', ' /**', ' * Decrypt the cookies on the request.', ' *', ' * @param \\Symfony\\Component\\HttpFoundation\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Request', ' */', ' protected function decrypt(Request $request)', ' {', ' foreach ($request->cookies as $key => $cookie) {', ' if ($this->isDisabled($key)) {', ' continue;', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 687, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();', '', ' $middleware = collect($route->gatherMiddleware())->map(function ($name) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * Return the response for the given route.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function runRoute(Request $request, Route $route)', ' {', ' $request->setRouteResolver(function () use ($route) {', ' return $route;', ' });', '', ' $this->events->dispatch(new RouteMatched($route, $request));', '', ' return $this->prepareResponse($request,', ' $this->runRouteWithinStack($route, $request)', ' );', ' }', '', ' /**', ' * Run the given route within a Stack "onion" instance.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 628, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Routing\\Route', ' */', ' protected function findRoute($request)', ' {', ' $this->current = $route = $this->routes->match($request);', '', ' $this->container->instance(Route::class, $route);', '', ' return $route;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 617, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', ' return $this->runRoute($this->currentRequest, $route);', ' }', '', ' /**', ' * Dispatch the request to the application.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 165, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**', ' * Get the route dispatcher callback.', ' *', ' * @return \\Closure', ' */', ' protected function dispatchToRouter()', ' {', ' return function ($request) {', ' $this->app->instance(\'request\', $request);', '', ' return $this->router->dispatch($request);', ' };', ' }', '', ' /**', ' * Call the terminate method on any terminable middleware.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Http\\Response $response', ' * @return void', ' */', ' public function terminate($request, $response)', ' {', ' $this->terminateMiddleware($request, $response);', '', ' $this->app->terminate();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49) at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116) at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:62) at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617) at Illuminate\Routing\Router->dispatch(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
$this->startSession($request, $session)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
if ($this->manager->shouldBlock() ||
($request->route() && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
} else {
return $this->handleStatefulRequest($request, $session, $next);
}
}
/**
* Handle the given request within session state.
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))#29 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#30 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#31 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#32 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#33 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#34 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#35 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#36 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#37 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#38 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#39 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#40 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#41 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#42 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#43 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#44 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#45 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#46 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 49, 'method' => 'handle', 'class' => 'Illuminate\\View\\Middleware\\ShareErrorsFromSession', 'code_snippet' => array(' * @return void', ' */', ' public function __construct(ViewFactory $view)', ' {', ' $this->view = $view;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' // If the current session has an "errors" variable bound to it, we will share', ' // its value with all view instances so the views can easily access errors', ' // without having to bind. An empty bag is set when there aren\'t errors.', ' $this->view->share(', ' \'errors\', $request->session()->get(\'errors\') ?: new ViewErrorBag', ' );', '', ' // Putting the errors in the view for every view allows the developer to just', ' // assume that some errors are always available, which is convenient since', ' // they don\'t have to continually run checks for the presence of errors.', '', ' return $next($request);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 116, 'method' => 'handleStatefulRequest', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleStatefulRequest(Request $request, $session, Closure $next)', ' {', ' // If a session driver has been configured, we will need to start the session here', ' // so that the data is ready for an application. Note that the Laravel sessions', ' // do not make use of PHP "native" sessions in any way since they are crappy.', ' $request->setLaravelSession(', ' $this->startSession($request, $session)', ' );', '', ' $this->collectGarbage($session);', '', ' $response = $next($request);', '', ' $this->storeCurrentUrl($request, $session);', '', ' $this->addCookieToResponse($response, $session);', '', ' // Again, if the session has been configured we will need to close out the session', ' // so that the attributes may be persisted to some storage medium. We will also', ' // add the session identifier cookie to the application response headers now.', ' $this->saveSession($request);', '', ' return $response;', ' }', '', ' /**', ' * Start the session for the given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 62, 'method' => 'handle', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' if (! $this->sessionConfigured()) {', ' return $next($request);', ' }', '', ' $session = $this->getSession($request);', '', ' if ($this->manager->shouldBlock() ||', ' ($request->route() && $request->route()->locksFor())) {', ' return $this->handleRequestWhileBlocking($request, $session, $next);', ' } else {', ' return $this->handleStatefulRequest($request, $session, $next);', ' }', ' }', '', ' /**', ' * Handle the given request within session state.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)', ' {', ' $lockFor = $request->route() && $request->route()->locksFor()', ' ? $request->route()->locksFor()'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 37, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse', 'code_snippet' => array('', ' /**', ' * Create a new CookieQueue instance.', ' *', ' * @param \\Illuminate\\Contracts\\Cookie\\QueueingFactory $cookies', ' * @return void', ' */', ' public function __construct(CookieJar $cookies)', ' {', ' $this->cookies = $cookies;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $response = $next($request);', '', ' foreach ($this->cookies->getQueuedCookies() as $cookie) {', ' $response->headers->setCookie($cookie);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 67, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\EncryptCookies', 'code_snippet' => array(' */', ' public function disableFor($name)', ' {', ' $this->except = array_merge($this->except, (array) $name);', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function handle($request, Closure $next)', ' {', ' return $this->encrypt($next($this->decrypt($request)));', ' }', '', ' /**', ' * Decrypt the cookies on the request.', ' *', ' * @param \\Symfony\\Component\\HttpFoundation\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Request', ' */', ' protected function decrypt(Request $request)', ' {', ' foreach ($request->cookies as $key => $cookie) {', ' if ($this->isDisabled($key)) {', ' continue;', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 687, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();', '', ' $middleware = collect($route->gatherMiddleware())->map(function ($name) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * Return the response for the given route.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function runRoute(Request $request, Route $route)', ' {', ' $request->setRouteResolver(function () use ($route) {', ' return $route;', ' });', '', ' $this->events->dispatch(new RouteMatched($route, $request));', '', ' return $this->prepareResponse($request,', ' $this->runRouteWithinStack($route, $request)', ' );', ' }', '', ' /**', ' * Run the given route within a Stack "onion" instance.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 628, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Routing\\Route', ' */', ' protected function findRoute($request)', ' {', ' $this->current = $route = $this->routes->match($request);', '', ' $this->container->instance(Route::class, $route);', '', ' return $route;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 617, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', ' return $this->runRoute($this->currentRequest, $route);', ' }', '', ' /**', ' * Dispatch the request to the application.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 165, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**', ' * Get the route dispatcher callback.', ' *', ' * @return \\Closure', ' */', ' protected function dispatchToRouter()', ' {', ' return function ($request) {', ' $this->app->instance(\'request\', $request);', '', ' return $this->router->dispatch($request);', ' };', ' }', '', ' /**', ' * Call the terminate method on any terminable middleware.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Http\\Response $response', ' * @return void', ' */', ' public function terminate($request, $response)', ' {', ' $this->terminateMiddleware($request, $response);', '', ' $this->app->terminate();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:116) at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:62) at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617) at Illuminate\Routing\Router->dispatch(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#29 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#30 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#31 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#32 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#33 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#34 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#35 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#36 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#37 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#38 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#39 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#40 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#41 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#42 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#43 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#44 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 116, 'method' => 'handleStatefulRequest', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleStatefulRequest(Request $request, $session, Closure $next)', ' {', ' // If a session driver has been configured, we will need to start the session here', ' // so that the data is ready for an application. Note that the Laravel sessions', ' // do not make use of PHP "native" sessions in any way since they are crappy.', ' $request->setLaravelSession(', ' $this->startSession($request, $session)', ' );', '', ' $this->collectGarbage($session);', '', ' $response = $next($request);', '', ' $this->storeCurrentUrl($request, $session);', '', ' $this->addCookieToResponse($response, $session);', '', ' // Again, if the session has been configured we will need to close out the session', ' // so that the attributes may be persisted to some storage medium. We will also', ' // add the session identifier cookie to the application response headers now.', ' $this->saveSession($request);', '', ' return $response;', ' }', '', ' /**', ' * Start the session for the given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 62, 'method' => 'handle', 'class' => 'Illuminate\\Session\\Middleware\\StartSession', 'code_snippet' => array(' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' if (! $this->sessionConfigured()) {', ' return $next($request);', ' }', '', ' $session = $this->getSession($request);', '', ' if ($this->manager->shouldBlock() ||', ' ($request->route() && $request->route()->locksFor())) {', ' return $this->handleRequestWhileBlocking($request, $session, $next);', ' } else {', ' return $this->handleStatefulRequest($request, $session, $next);', ' }', ' }', '', ' /**', ' * Handle the given request within session state.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Contracts\\Session\\Session $session', ' * @param \\Closure $next', ' * @return mixed', ' */', ' protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)', ' {', ' $lockFor = $request->route() && $request->route()->locksFor()', ' ? $request->route()->locksFor()'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 37, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse', 'code_snippet' => array('', ' /**', ' * Create a new CookieQueue instance.', ' *', ' * @param \\Illuminate\\Contracts\\Cookie\\QueueingFactory $cookies', ' * @return void', ' */', ' public function __construct(CookieJar $cookies)', ' {', ' $this->cookies = $cookies;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $response = $next($request);', '', ' foreach ($this->cookies->getQueuedCookies() as $cookie) {', ' $response->headers->setCookie($cookie);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 67, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\EncryptCookies', 'code_snippet' => array(' */', ' public function disableFor($name)', ' {', ' $this->except = array_merge($this->except, (array) $name);', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function handle($request, Closure $next)', ' {', ' return $this->encrypt($next($this->decrypt($request)));', ' }', '', ' /**', ' * Decrypt the cookies on the request.', ' *', ' * @param \\Symfony\\Component\\HttpFoundation\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Request', ' */', ' protected function decrypt(Request $request)', ' {', ' foreach ($request->cookies as $key => $cookie) {', ' if ($this->isDisabled($key)) {', ' continue;', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 687, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();', '', ' $middleware = collect($route->gatherMiddleware())->map(function ($name) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * Return the response for the given route.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function runRoute(Request $request, Route $route)', ' {', ' $request->setRouteResolver(function () use ($route) {', ' return $route;', ' });', '', ' $this->events->dispatch(new RouteMatched($route, $request));', '', ' return $this->prepareResponse($request,', ' $this->runRouteWithinStack($route, $request)', ' );', ' }', '', ' /**', ' * Run the given route within a Stack "onion" instance.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 628, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Routing\\Route', ' */', ' protected function findRoute($request)', ' {', ' $this->current = $route = $this->routes->match($request);', '', ' $this->container->instance(Route::class, $route);', '', ' return $route;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 617, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', ' return $this->runRoute($this->currentRequest, $route);', ' }', '', ' /**', ' * Dispatch the request to the application.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 165, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**', ' * Get the route dispatcher callback.', ' *', ' * @return \\Closure', ' */', ' protected function dispatchToRouter()', ' {', ' return function ($request) {', ' $this->app->instance(\'request\', $request);', '', ' return $this->router->dispatch($request);', ' };', ' }', '', ' /**', ' * Call the terminate method on any terminable middleware.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Http\\Response $response', ' * @return void', ' */', ' public function terminate($request, $response)', ' {', ' $this->terminateMiddleware($request, $response);', '', ' $this->app->terminate();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617) at Illuminate\Routing\Router->dispatch(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#29 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#30 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#31 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#32 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#33 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#34 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#35 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#36 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#37 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#38 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#39 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#40 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#41 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 37, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse', 'code_snippet' => array('', ' /**', ' * Create a new CookieQueue instance.', ' *', ' * @param \\Illuminate\\Contracts\\Cookie\\QueueingFactory $cookies', ' * @return void', ' */', ' public function __construct(CookieJar $cookies)', ' {', ' $this->cookies = $cookies;', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $response = $next($request);', '', ' foreach ($this->cookies->getQueuedCookies() as $cookie) {', ' $response->headers->setCookie($cookie);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 67, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\EncryptCookies', 'code_snippet' => array(' */', ' public function disableFor($name)', ' {', ' $this->except = array_merge($this->except, (array) $name);', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function handle($request, Closure $next)', ' {', ' return $this->encrypt($next($this->decrypt($request)));', ' }', '', ' /**', ' * Decrypt the cookies on the request.', ' *', ' * @param \\Symfony\\Component\\HttpFoundation\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Request', ' */', ' protected function decrypt(Request $request)', ' {', ' foreach ($request->cookies as $key => $cookie) {', ' if ($this->isDisabled($key)) {', ' continue;', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 687, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();', '', ' $middleware = collect($route->gatherMiddleware())->map(function ($name) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * Return the response for the given route.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function runRoute(Request $request, Route $route)', ' {', ' $request->setRouteResolver(function () use ($route) {', ' return $route;', ' });', '', ' $this->events->dispatch(new RouteMatched($route, $request));', '', ' return $this->prepareResponse($request,', ' $this->runRouteWithinStack($route, $request)', ' );', ' }', '', ' /**', ' * Run the given route within a Stack "onion" instance.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 628, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Routing\\Route', ' */', ' protected function findRoute($request)', ' {', ' $this->current = $route = $this->routes->match($request);', '', ' $this->container->instance(Route::class, $route);', '', ' return $route;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 617, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', ' return $this->runRoute($this->currentRequest, $route);', ' }', '', ' /**', ' * Dispatch the request to the application.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 165, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**', ' * Get the route dispatcher callback.', ' *', ' * @return \\Closure', ' */', ' protected function dispatchToRouter()', ' {', ' return function ($request) {', ' $this->app->instance(\'request\', $request);', '', ' return $this->router->dispatch($request);', ' };', ' }', '', ' /**', ' * Call the terminate method on any terminable middleware.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Http\\Response $response', ' * @return void', ' */', ' public function terminate($request, $response)', ' {', ' $this->terminateMiddleware($request, $response);', '', ' $this->app->terminate();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67) at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617) at Illuminate\Routing\Router->dispatch(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#29 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#30 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#31 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#32 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#33 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#34 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#35 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#36 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#37 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#38 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#39 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 67, 'method' => 'handle', 'class' => 'Illuminate\\Cookie\\Middleware\\EncryptCookies', 'code_snippet' => array(' */', ' public function disableFor($name)', ' {', ' $this->except = array_merge($this->except, (array) $name);', ' }', '', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function handle($request, Closure $next)', ' {', ' return $this->encrypt($next($this->decrypt($request)));', ' }', '', ' /**', ' * Decrypt the cookies on the request.', ' *', ' * @param \\Symfony\\Component\\HttpFoundation\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Request', ' */', ' protected function decrypt(Request $request)', ' {', ' foreach ($request->cookies as $key => $cookie) {', ' if ($this->isDisabled($key)) {', ' continue;', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 687, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();', '', ' $middleware = collect($route->gatherMiddleware())->map(function ($name) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * Return the response for the given route.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function runRoute(Request $request, Route $route)', ' {', ' $request->setRouteResolver(function () use ($route) {', ' return $route;', ' });', '', ' $this->events->dispatch(new RouteMatched($route, $request));', '', ' return $this->prepareResponse($request,', ' $this->runRouteWithinStack($route, $request)', ' );', ' }', '', ' /**', ' * Run the given route within a Stack "onion" instance.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 628, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Routing\\Route', ' */', ' protected function findRoute($request)', ' {', ' $this->current = $route = $this->routes->match($request);', '', ' $this->container->instance(Route::class, $route);', '', ' return $route;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 617, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', ' return $this->runRoute($this->currentRequest, $route);', ' }', '', ' /**', ' * Dispatch the request to the application.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 165, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**', ' * Get the route dispatcher callback.', ' *', ' * @return \\Closure', ' */', ' protected function dispatchToRouter()', ' {', ' return function ($request) {', ' $this->app->instance(\'request\', $request);', '', ' return $this->router->dispatch($request);', ' };', ' }', '', ' /**', ' * Call the terminate method on any terminable middleware.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Http\\Response $response', ' * @return void', ' */', ' public function terminate($request, $response)', ' {', ' $this->terminateMiddleware($request, $response);', '', ' $this->app->terminate();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:687) at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662) at Illuminate\Routing\Router->runRoute(object(Request), object(Route)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:628) at Illuminate\Routing\Router->dispatchToRoute(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:617) at Illuminate\Routing\Router->dispatch(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(687): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(617): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#29 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#30 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#31 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#32 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#33 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#34 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#35 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#36 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#37 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 687, 'method' => 'runRouteWithinStack', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', '', ' $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);', '', ' return (new Pipeline($this->container))', ' ->send($request)', ' ->through($middleware)', ' ->then(function ($request) use ($route) {', ' return $this->prepareResponse(', ' $request, $route->run()', ' );', ' });', ' }', '', ' /**', ' * Gather the middleware for the given route with resolved class names.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return array', ' */', ' public function gatherRouteMiddleware(Route $route)', ' {', ' $excluded = collect($route->excludedMiddleware())->map(function ($name) {', ' return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);', ' })->flatten()->values()->all();', '', ' $middleware = collect($route->gatherMiddleware())->map(function ($name) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 662, 'method' => 'runRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' * Return the response for the given route.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Routing\\Route $route', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function runRoute(Request $request, Route $route)', ' {', ' $request->setRouteResolver(function () use ($route) {', ' return $route;', ' });', '', ' $this->events->dispatch(new RouteMatched($route, $request));', '', ' return $this->prepareResponse($request,', ' $this->runRouteWithinStack($route, $request)', ' );', ' }', '', ' /**', ' * Run the given route within a Stack "onion" instance.', ' *', ' * @param \\Illuminate\\Routing\\Route $route', ' * @param \\Illuminate\\Http\\Request $request', ' * @return mixed', ' */', ' protected function runRouteWithinStack(Route $route, Request $request)', ' {', ' $shouldSkipMiddleware = $this->container->bound(\'middleware.disable\') &&', ' $this->container->make(\'middleware.disable\') === true;', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 628, 'method' => 'dispatchToRoute', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Routing\\Route', ' */', ' protected function findRoute($request)', ' {', ' $this->current = $route = $this->routes->match($request);', '', ' $this->container->instance(Route::class, $route);', '', ' return $route;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 617, 'method' => 'dispatch', 'class' => 'Illuminate\\Routing\\Router', 'code_snippet' => array(' $route = tap($this->routes->getByName($name))->bind($this->currentRequest);', '', ' return $this->runRoute($this->currentRequest, $route);', ' }', '', ' /**', ' * Dispatch the request to the application.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatch(Request $request)', ' {', ' $this->currentRequest = $request;', '', ' return $this->dispatchToRoute($request);', ' }', '', ' /**', ' * Dispatch the request to a route and return the response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' public function dispatchToRoute(Request $request)', ' {', ' return $this->runRoute($request, $this->findRoute($request));', ' }', '', ' /**', ' * Find the route matching a given request.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php', 'is_application_frame' => false), array('line_number' => 165, 'method' => 'Illuminate\\Foundation\\Http\\{closure}', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**', ' * Get the route dispatcher callback.', ' *', ' * @return \\Closure', ' */', ' protected function dispatchToRouter()', ' {', ' return function ($request) {', ' $this->app->instance(\'request\', $request);', '', ' return $this->router->dispatch($request);', ' };', ' }', '', ' /**', ' * Call the terminate method on any terminable middleware.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Illuminate\\Http\\Response $response', ' * @return void', ' */', ' public function terminate($request, $response)', ' {', ' $this->terminateMiddleware($request, $response);', '', ' $this->app->terminate();'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 128, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#22 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#24 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#27 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#28 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#29 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#30 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 130, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' });', ' }', '', ' /**', ' * Get the final piece of the Closure onion.', ' *', ' * @param \\Closure $destination', ' * @return \\Closure', ' */', ' protected function prepareDestination(Closure $destination)', ' {', ' return function ($passable) use ($destination) {', ' try {', ' return $destination($passable);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' }', '', ' /**', ' * Get a Closure that represents a slice of the application onion.', ' *', ' * @return \\Closure', ' */', ' protected function carry()', ' {', ' return function ($stack, $pipe) {', ' return function ($passable) use ($stack, $pipe) {', ' try {', ' if (is_callable($pipe)) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#20 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#22 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#25 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#26 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#27 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#28 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 21, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest', 'code_snippet' => array('use Symfony\\Component\\HttpFoundation\\ParameterBag;', '', 'class TransformsRequest', '{', ' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' */', ' public function handle($request, Closure $next)', ' {', ' $this->clean($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Clean the request\'s data.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return void', ' */', ' protected function clean($request)', ' {', ' $this->cleanParameterBag($request->query);', '', ' if ($request->isJson()) {', ' $this->cleanParameterBag($request->json());', ' } elseif ($request->request !== $request->query) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
}
throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
}
return $next($request);
}
/**
* Determine if the request has a URI that should be accessible in maintenance mode.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#20 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#23 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#24 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#25 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#26 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 27, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return mixed', ' *', ' * @throws \\Illuminate\\Http\\Exceptions\\PostTooLargeException', ' */', ' public function handle($request, Closure $next)', ' {', ' $max = $this->getPostMaxSize();', '', ' if ($max > 0 && $request->server(\'CONTENT_LENGTH\') > $max) {', ' throw new PostTooLargeException;', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine the server \'post_max_size\' as bytes.', ' *', ' * @return int', ' */', ' protected function getPostMaxSize()', ' {', ' if (is_numeric($postMaxSize = ini_get(\'post_max_size\'))) {', ' return (int) $postMaxSize;', ' }', '', ' $metric = strtoupper(substr($postMaxSize, -1));', ' $postMaxSize = (int) $postMaxSize;'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:63) at Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#22 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#23 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#24 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 63, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode', 'code_snippet' => array(' {', ' if ($this->app->isDownForMaintenance()) {', ' $data = json_decode(file_get_contents($this->app->storagePath().\'/framework/down\'), true);', '', ' if (isset($data[\'allowed\']) && IpUtils::checkIp($request->ip(), (array) $data[\'allowed\'])) {', ' return $next($request);', ' }', '', ' if ($this->inExceptArray($request)) {', ' return $next($request);', ' }', '', ' throw new MaintenanceModeException($data[\'time\'], $data[\'retry\'], $data[\'message\']);', ' }', '', ' return $next($request);', ' }', '', ' /**', ' * Determine if the request has a URI that should be accessible in maintenance mode.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return bool', ' */', ' protected function inExceptArray($request)', ' {', ' foreach ($this->except as $except) {', ' if ($except !== \'/\') {', ' $except = trim($except, \'/\');', ' }', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38) at Fruitcake\Cors\HandleCors->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#20 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#21 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#22 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'handle', 'class' => 'Fruitcake\\Cors\\HandleCors', 'code_snippet' => array(' $this->cors = $cors;', ' $this->container = $container;', ' }', '', ' /**', ' * Handle an incoming request. Based on Asm89\\Stack\\Cors by asm89', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' * @return Response', ' */', ' public function handle($request, Closure $next)', ' {', ' // Check if we\'re dealing with CORS and if we should handle it', ' if (! $this->shouldRun($request)) {', ' return $next($request);', ' }', '', ' // For Preflight, return the Preflight response', ' if ($this->cors->isPreflightRequest($request)) {', ' $response = $this->cors->handlePreflightRequest($request);', '', ' $this->cors->varyHeader($response, \'Access-Control-Request-Method\');', '', ' return $response;', ' }', '', '', ' // Handle the request', ' $response = $next($request);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57) at Fideloper\Proxy\TrustProxies->handle(object(Request), object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#18 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#19 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#20 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 57, 'method' => 'handle', 'class' => 'Fideloper\\Proxy\\TrustProxies', 'code_snippet' => array(' /**', ' * Handle an incoming request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Closure $next', ' *', ' * @throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException', ' *', ' * @return mixed', ' */', ' public function handle(Request $request, Closure $next)', ' {', ' $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests', ' $this->setTrustedProxyIpAddresses($request);', '', ' return $next($request);', ' }', '', ' /**', ' * Sets the trusted proxies on the request to the value of trustedproxy.proxies', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' */', ' protected function setTrustedProxyIpAddresses(Request $request)', ' {', ' $trustedIps = $this->proxies ?: $this->config->get(\'trustedproxy.proxies\');', '', ' // Trust any IP address that calls us', ' // `**` for backwards compatibility, but is deprecated', ' if ($trustedIps === \'*\' || $trustedIps === \'**\') {', ' return $this->setTrustedProxyIpAddressesToTheCallingIp($request);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/fideloper/proxy/src/TrustProxies.php', 'is_application_frame' => false), array('line_number' => 167, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' // If the pipe is a string we will parse the string and resolve the class out', ' // of the dependency injection container. We can then build a callable and', ' // execute the pipe function giving in the parameters that are required.', ' $pipe = $this->getContainer()->make($name);', '', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:172) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:140) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:109) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
* @param \Throwable $e
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function renderException($request, Throwable $e)
{
return $this->app[ExceptionHandler::class]->render($request, $e);
}
/**
* Get the application's route middleware groups.
*
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new RequestHandled($request, $response)
);
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\\Routing\\Pipeline->handleException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))#15 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))#16 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))#17 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#18 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 51, 'method' => 'handleException', 'class' => 'Illuminate\\Routing\\Pipeline', 'code_snippet' => array('', ' /**', ' * Handle the given exception.', ' *', ' * @param mixed $passable', ' * @param \\Throwable $e', ' * @return mixed', ' *', ' * @throws \\Throwable', ' */', ' protected function handleException($passable, Throwable $e)', ' {', ' if (! $this->container->bound(ExceptionHandler::class) ||', ' ! $passable instanceof Request) {', ' throw $e;', ' }', '', ' $handler = $this->container->make(ExceptionHandler::class);', '', ' $handler->report($e);', '', ' $response = $handler->render($passable, $e);', '', ' if (is_object($response) && method_exists($response, \'withException\')) {', ' $response->withException($e);', ' }', '', ' return $response;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'is_application_frame' => false), array('line_number' => 172, 'method' => 'Illuminate\\Pipeline\\{closure}', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array('', ' $parameters = array_merge([$passable, $stack], $parameters);', ' } else {', ' // If the pipe is already an object we\'ll just make a callable and pass it to', ' // the pipe as-is. There is no need to do any extra parsing and formatting', ' // since the object we\'re given was already a fully instantiated object.', ' $parameters = [$passable, $stack];', ' }', '', ' $carry = method_exists($pipe, $this->method)', ' ? $pipe->{$this->method}(...$parameters)', ' : $pipe(...$parameters);', '', ' return $this->handleCarry($carry);', ' } catch (Throwable $e) {', ' return $this->handleException($passable, $e);', ' }', ' };', ' };', ' }', '', ' /**', ' * Parse full pipe string to get name and parameters.', ' *', ' * @param string $pipe', ' * @return array', ' */', ' protected function parsePipeString($pipe)', ' {', ' [$name, $parameters] = array_pad(explode(\':\', $pipe, 2), 2, []);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 103, 'method' => 'then', 'class' => 'Illuminate\\Pipeline\\Pipeline', 'code_snippet' => array(' return $this;', ' }', '', ' /**', ' * Run the pipeline with a final destination callback.', ' *', ' * @param \\Closure $destination', ' * @return mixed', ' */', ' public function then(Closure $destination)', ' {', ' $pipeline = array_reduce(', ' array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)', ' );', '', ' return $pipeline($this->passable);', ' }', '', ' /**', ' * Run the pipeline and return the result.', ' *', ' * @return mixed', ' */', ' public function thenReturn()', ' {', ' return $this->then(function ($passable) {', ' return $passable;', ' });', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'is_application_frame' => false), array('line_number' => 140, 'method' => 'sendRequestThroughRouter', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' protected function sendRequestThroughRouter($request)', ' {', ' $this->app->instance(\'request\', $request);', '', ' Facade::clearResolvedInstance(\'request\');', '', ' $this->bootstrap();', '', ' return (new Pipeline($this->app))', ' ->send($request)', ' ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)', ' ->then($this->dispatchToRouter());', ' }', '', ' /**', ' * Bootstrap the application for HTTP requests.', ' *', ' * @return void', ' */', ' public function bootstrap()', ' {', ' if (! $this->app->hasBeenBootstrapped()) {', ' $this->app->bootstrapWith($this->bootstrappers());', ' }', ' }', '', ' /**'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 109, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array('', ' $this->syncMiddlewareToRouter();', ' }', '', ' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:415) at Illuminate\Foundation\Http\Kernel->renderException(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:113) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home/u511725780/domains/cigi.org/public_html/index.php:55) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
* @param \Throwable $e
* @return void
*/
protected function renderHttpResponse(Throwable $e)
{
$this->getExceptionHandler()->render($this->app['request'], $e)->send();
}
/**
* Handle the PHP shutdown event.
*
}
if ($this->app->runningInConsole()) {
$this->renderForConsole($e);
} else {
$this->renderHttpResponse($e);
}
}
/**
* Render an exception to the console.
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(155): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'views/exception...\', Array)#5 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(81): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#6 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(392): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(346): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionWithSymfony(Object(Facade\\Ignition\\Exceptions\\ViewException), true)#8 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(327): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionContent(Object(Facade\\Ignition\\Exceptions\\ViewException))#9 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(306): Illuminate\\Foundation\\Exceptions\\Handler->convertExceptionToResponse(Object(ErrorException))#10 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(211): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#11 /home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php(53): Illuminate\\Foundation\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(415): App\\Exceptions\\Handler->render(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(113): Illuminate\\Foundation\\Http\\Kernel->renderException(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /home/u511725780/domains/cigi.org/public_html/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))#15 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 include(assets/js/exception.js): failed to open stream: No such file or directory', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'ErrorException', 'seen_at' => 1711676822, 'message' => 'include(assets/js/exception.js): failed to open stream: No such file or directory', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => 'handleError', 'class' => 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 38, 'method' => 'include', 'class' => null, 'code_snippet' => array(' <body>', ' <script>', ' document.body.classList.add(', ' localStorage.getItem(\'symfony/profiler/theme\') || (matchMedia(\'(prefers-color-scheme: dark)\').matches ? \'theme-dark\' : \'theme-light\')', ' );', ' </script>', '', ' <?php if (class_exists(\\Symfony\\Component\\HttpKernel\\Kernel::class)) { ?>', ' <header>', ' <div class="container">', ' <h1 class="logo"><?= $this->include(\'assets/images/symfony-logo.svg\'); ?> Symfony Exception</h1>', '', ' <div class="help-link">', ' <a href="https://symfony.com/doc/<?= Symfony\\Component\\HttpKernel\\Kernel::VERSION; ?>/index.html">', ' <span class="icon"><?= $this->include(\'assets/images/icon-book.svg\'); ?></span>', ' <span class="hidden-xs-down">Symfony</span> Docs', ' </a>', ' </div>', ' </div>', ' </header>', ' <?php } ?>', '', ' <?= $this->include(\'views/exception.html.php\', $context); ?>', '', ' <script>', ' <?= $this->include(\'assets/js/exception.js\'); ?>', ' </script>', ' </body>', '</html>', '<!-- <?= $_message; ?> -->', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php', 'is_application_frame' => false), array('line_number' => 355, 'method' => 'include', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 155, 'method' => 'renderException', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' if (!$debug) {', ' return $this->include(self::$template, [', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' ]);', ' }', '', ' $exceptionMessage = $this->escape($exception->getMessage());', '', ' return $this->include($debugTemplate, [', ' \'exception\' => $exception,', ' \'exceptionMessage\' => $exceptionMessage,', ' \'statusText\' => $statusText,', ' \'statusCode\' => $statusCode,', ' \'logger\' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null,', ' \'currentContent\' => \\is_string($this->outputBuffer) ? $this->outputBuffer : ($this->outputBuffer)(),', ' ]);', ' }', '', ' /**', ' * Formats an array as a string.', ' */', ' private function formatArgs(array $args): string', ' {', ' $result = [];', ' foreach ($args as $key => $item) {', ' if (\'object\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>object</em>(%s)\', $this->abbrClass($item[1]));', ' } elseif (\'array\' === $item[0]) {', ' $formattedValue = sprintf(\'<em>array</em>(%s)\', \\is_array($item[1]) ? $this->formatArgs($item[1]) : $item[1]);', ' } elseif (\'null\' === $item[0]) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 81, 'method' => 'render', 'class' => 'Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer', 'code_snippet' => array(' }', '', ' /**', ' * {@inheritdoc}', ' */', ' public function render(\\Throwable $exception): FlattenException', ' {', ' $headers = [\'Content-Type\' => \'text/html; charset=\'.$this->charset];', ' if (\\is_bool($this->debug) ? $this->debug : ($this->debug)($exception)) {', ' $headers[\'X-Debug-Exception\'] = rawurlencode($exception->getMessage());', ' $headers[\'X-Debug-Exception-File\'] = rawurlencode($exception->getFile()).\':\'.$exception->getLine();', ' }', '', ' $exception = FlattenException::createFromThrowable($exception, null, $headers);', '', ' return $exception->setAsString($this->renderException($exception));', ' }', '', ' /**', ' * Gets the HTML content associated with the given exception.', ' */', ' public function getBody(FlattenException $exception): string', ' {', ' return $this->renderException($exception, \'views/exception.html.php\');', ' }', '', ' /**', ' * Gets the stylesheet associated with the given exception.', ' */', ' public function getStylesheet(): string', ' {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false), array('line_number' => 392, 'method' => 'renderExceptionWithSymfony', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return (new WhoopsHandler)->forDebug();', ' }', ' }', '', ' /**', ' * Render an exception to a string using Symfony.', ' *', ' * @param \\Throwable $e', ' * @param bool $debug', ' * @return string', ' */', ' protected function renderExceptionWithSymfony(Throwable $e, $debug)', ' {', ' $renderer = new HtmlErrorRenderer($debug);', '', ' return $renderer->render($e)->getAsString();', ' }', '', ' /**', ' * Render the given HttpException.', ' *', ' * @param \\Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderHttpException(HttpExceptionInterface $e)', ' {', ' $this->registerErrorViewPaths();', '', ' if (view()->exists($view = $this->getHttpExceptionView($e))) {', ' return response()->view($view, [', ' \'errors\' => new ViewErrorBag,'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 346, 'method' => 'renderExceptionContent', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)', ' ? $this->renderExceptionWithWhoops($e)', ' : $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' } catch (Exception $e) {', ' return $this->renderExceptionWithSymfony($e, config(\'app.debug\'));', ' }', ' }', '', ' /**', ' * Render an exception to a string using "Whoops".', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionWithWhoops(Throwable $e)', ' {', ' return tap(new Whoops, function ($whoops) {', ' $whoops->appendHandler($this->whoopsHandler());', '', ' $whoops->writeToOutput(false);'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 327, 'method' => 'convertExceptionToResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array('', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function convertExceptionToResponse(Throwable $e)', ' {', ' return new SymfonyResponse(', ' $this->renderExceptionContent($e),', ' $this->isHttpException($e) ? $e->getStatusCode() : 500,', ' $this->isHttpException($e) ? $e->getHeaders() : []', ' );', ' }', '', ' /**', ' * Get the response content for the given exception.', ' *', ' * @param \\Throwable $e', ' * @return string', ' */', ' protected function renderExceptionContent(Throwable $e)', ' {', ' try {', ' return config(\'app.debug\') && class_exists(Whoops::class)'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 306, 'method' => 'prepareResponse', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' \'message\' => $exception->getMessage(),', ' \'errors\' => $exception->errors(),', ' ], $exception->status);', ' }', '', ' /**', ' * Prepare a response for the given exception.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function prepareResponse($request, Throwable $e)', ' {', ' if (! $this->isHttpException($e) && config(\'app.debug\')) {', ' return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);', ' }', '', ' if (! $this->isHttpException($e)) {', ' $e = new HttpException(500, $e->getMessage());', ' }', '', ' return $this->toIlluminateResponse(', ' $this->renderHttpException($e), $e', ' );', ' }', '', ' /**', ' * Create a Symfony response for the given exception.', ' *', ' * @param \\Throwable $e'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 211, 'method' => 'render', 'class' => 'Illuminate\\Foundation\\Exceptions\\Handler', 'code_snippet' => array(' return $e->toResponse($request);', ' }', '', ' $e = $this->prepareException($e);', '', ' if ($e instanceof HttpResponseException) {', ' return $e->getResponse();', ' } elseif ($e instanceof AuthenticationException) {', ' return $this->unauthenticated($request, $e);', ' } elseif ($e instanceof ValidationException) {', ' return $this->convertValidationExceptionToResponse($e, $request);', ' }', '', ' return $request->expectsJson()', ' ? $this->prepareJsonResponse($request, $e)', ' : $this->prepareResponse($request, $e);', ' }', '', ' /**', ' * Prepare exception for rendering.', ' *', ' * @param \\Throwable $e', ' * @return \\Throwable', ' */', ' protected function prepareException(Throwable $e)', ' {', ' if ($e instanceof ModelNotFoundException) {', ' $e = new NotFoundHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof AuthorizationException) {', ' $e = new AccessDeniedHttpException($e->getMessage(), $e);', ' } elseif ($e instanceof TokenMismatchException) {'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', 'is_application_frame' => false), array('line_number' => 53, 'method' => 'render', 'class' => 'App\\Exceptions\\Handler', 'code_snippet' => array(' \'password_confirmation\',', ' ];', '', ' /**', ' * Report or log an exception.', ' *', ' * @param \\Throwable $exception', ' * @return void', ' *', ' * @throws \\Throwable', ' */', ' public function report(Throwable $exception)', ' {', ' parent::report($exception);', ' }', '', ' /**', ' * Render an exception into an HTTP response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $exception', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' *', ' * @throws \\Throwable', ' */', ' public function render($request, Throwable $exception)', ' {', ' return parent::render($request, $exception);', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php', 'is_application_frame' => true), array('line_number' => 415, 'method' => 'renderException', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' */', ' protected function reportException(Throwable $e)', ' {', ' $this->app[ExceptionHandler::class]->report($e);', ' }', '', ' /**', ' * Render the exception to a response.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @param \\Throwable $e', ' * @return \\Symfony\\Component\\HttpFoundation\\Response', ' */', ' protected function renderException($request, Throwable $e)', ' {', ' return $this->app[ExceptionHandler::class]->render($request, $e);', ' }', '', ' /**', ' * Get the application\'s route middleware groups.', ' *', ' * @return array', ' */', ' public function getMiddlewareGroups()', ' {', ' return $this->middlewareGroups;', ' }', '', ' /**', ' * Get the application\'s route middleware.', ' *'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 113, 'method' => 'handle', 'class' => 'Illuminate\\Foundation\\Http\\Kernel', 'code_snippet' => array(' /**', ' * Handle an incoming HTTP request.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */', ' public function handle($request)', ' {', ' try {', ' $request->enableHttpMethodParameterOverride();', '', ' $response = $this->sendRequestThroughRouter($request);', ' } catch (Throwable $e) {', ' $this->reportException($e);', '', ' $response = $this->renderException($request, $e);', ' }', '', ' $this->app[\'events\']->dispatch(', ' new RequestHandled($request, $response)', ' );', '', ' return $response;', ' }', '', ' /**', ' * Send the given request through the middleware / router.', ' *', ' * @param \\Illuminate\\Http\\Request $request', ' * @return \\Illuminate\\Http\\Response', ' */'), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php', 'is_application_frame' => false), array('line_number' => 55, 'method' => '[top]', 'class' => null, 'code_snippet' => array('| We need to illuminate PHP development, so let us turn on the lights.', '| This bootstraps the framework and gets it ready for use, then it', '| will load up this application so that we can run it and send', '| the responses back to the browser and delight our users.', '|', '*/', '', '$app = require_once __DIR__.\'/bootstrap/app.php\';', '', '/*', '|--------------------------------------------------------------------------', '| Run The Application', '|--------------------------------------------------------------------------', '|', '| Once we have the application, we can handle the incoming request', '| through the kernel, and send the associated response back to', '| the client\'s browser allowing them to enjoy the creative', '| and wonderful application we have prepared for them.', '|', '*/', '', '$kernel = $app->make(Illuminate\\Contracts\\Http\\Kernel::class);', '', '$response = $kernel->handle(', ' $request = Illuminate\\Http\\Request::capture()', ');', '', '$response->send();', '', '$kernel->terminate($request, $response);', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/index.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:119) at Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(object(ErrorException)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:96) at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(object(ErrorException)) |
try {
extract((array) $_data, EXTR_OVERWRITE);
include $viewFile;
} catch (Exception $exception) {
$viewException = new ViewException($exception->getMessage());
$viewException->setView($viewFile);
$viewException->setViewData($_data);
throw $viewException;
}
protected function renderException(ErrorPageViewModel $exceptionViewModel)
{
echo $this->renderer->render(
'errorPage',
$exceptionViewModel->toArray()
);
}
}
$solutions
);
$viewModel->defaultTab($defaultTab, $defaultTabProps);
$this->renderException($viewModel);
}
public function handleReport(Report $report, $defaultTab = null, $defaultTabProps = [])
{
$viewModel = new ErrorPageViewModel(
}
public function handle(): ?int
{
try {
$this->errorPageHandler->handle($this->exception);
} catch (Error $error) {
// Errors aren't caught by Whoops.
// Convert the error to an exception and throw again.
throw new ErrorException(
// The HandlerInterface does not require an Exception passed to handle()
// and neither of our bundled handlers use it.
// However, 3rd party handlers may have already relied on this parameter,
// and removing it would be possibly breaking for users.
$handlerResponse = $handler->handle($exception);
// Collect the content type for possible sending in the headers.
$handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
$whoops->appendHandler($this->whoopsHandler());
$whoops->writeToOutput(false);
$whoops->allowQuit(false);
})->handleException($e);
}
/**
* Get the Whoops handler for the application.
*
*/
protected function renderExceptionContent(Throwable $e)
{
try {
return config('app.debug') && class_exists(Whoops::class)
? $this->renderExceptionWithWhoops($e)
: $this->renderExceptionWithSymfony($e, config('app.debug'));
} catch (Exception $e) {
return $this->renderExceptionWithSymfony($e, config('app.debug'));
}
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function convertExceptionToResponse(Throwable $e)
{
return new SymfonyResponse(
$this->renderExceptionContent($e),
$this->isHttpException($e) ? $e->getStatusCode() : 500,
$this->isHttpException($e) ? $e->getHeaders() : []
);
}
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function prepareResponse($request, Throwable $e)
{
if (! $this->isHttpException($e) && config('app.debug')) {
return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage());
}
return $this->convertValidationExceptionToResponse($e, $request);
}
return $request->expectsJson()
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Prepare exception for rendering.
*
*
* @throws \Throwable
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
* @param \Throwable $e
* @return void
*/
protected function renderHttpResponse(Throwable $e)
{
$this->getExceptionHandler()->render($this->app['request'], $e)->send();
}
/**
* Handle the PHP shutdown event.
*
}
if ($this->app->runningInConsole()) {
$this->renderForConsole($e);
} else {
$this->renderHttpResponse($e);
}
}
/**
* Render an exception to the console.
* @return void
*/
public function handleShutdown()
{
if (! is_null($error = error_get_last()) && $this->isFatal($error['type'])) {
$this->handleException($this->fatalErrorFromPhpError($error, 0));
}
}
/**
* Create a new fatal error instance from an error array.
ViewException
|
---|
Facade\Ignition\Exceptions\ViewException: file_get_contents(/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/../../resources/compiled/ignition.js): failed to open stream: No such file or directory at /home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/Renderer.php:29 at Facade\Ignition\ErrorPage\Renderer->render('errorPage', array('throwableString' => 'Symfony\\Component\\ErrorHandler\\Error\\FatalError: Uncaught ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:355Stack trace:#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html in file /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 355#0 {main}', 'telescopeUrl' => null, 'shareEndpoint' => 'https://cigi.org/_ignition/share-report', 'title' => '🧨 Uncaught ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:355Stack trace:#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html', 'config' => array('editor' => 'phpstorm', 'remoteSitesPath' => '', 'localSitesPath' => '', 'theme' => 'light', 'enableShareButton' => true, 'enableRunnableSolutions' => true, 'directorySeparator' => '/'), 'solutions' => array(), 'report' => array('notifier' => 'Laravel Client', 'language' => 'PHP', 'framework_version' => '7.30.4', 'language_version' => '7.4.33', 'exception_class' => 'Symfony\\Component\\ErrorHandler\\Error\\FatalError', 'seen_at' => 1711676822, 'message' => 'Uncaught ErrorException: include(assets/js/exception.js): failed to open stream: No such file or directory in /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:355Stack trace:#0 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, \'include(assets/...\', \'/home/u51172578...\', 355, Array)#1 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include()#2 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer->include(\'assets/js/excep...\')#3 /home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(355): include(\'/home/u51172578...\')#4 /home/u511725780/domains/cigi.org/public_html', 'glows' => array(), 'solutions' => array(), 'stacktrace' => array(array('line_number' => 355, 'method' => '[top]', 'class' => null, 'code_snippet' => array('', ' private function addElementToGhost(): string', ' {', ' if (!isset(self::GHOST_ADDONS[date(\'m-d\')])) {', ' return \'\';', ' }', '', ' return \'<path d="\'.self::GHOST_ADDONS[date(\'m-d\')].\'" fill="#fff" fill-opacity="0.6"></path>\';', ' }', '', ' private function include(string $name, array $context = []): string', ' {', ' extract($context, \\EXTR_SKIP);', ' ob_start();', '', ' include is_file(\\dirname(__DIR__).\'/Resources/\'.$name) ? \\dirname(__DIR__).\'/Resources/\'.$name : $name;', '', ' return trim(ob_get_clean());', ' }', '', ' /**', ' * Allows overriding the default non-debug template.', ' *', ' * @param string $template path to the custom template file to render', ' */', ' public static function setTemplate(string $template): void', ' {', ' self::$template = $template;', ' }', '}', ''), 'file' => '/home/u511725780/domains/cigi.org/public_html/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 'is_application_frame' => false)), 'context' => array('request' => array('url' => 'https://cigi.org/page/notification/MzIw', 'ip' => null, 'method' => 'GET', 'useragent' => 'claudebot'), 'request_data' => array('queryString' => array(), 'body' => array(), 'files' => array()), 'headers' => array('accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'host' => array('cigi.org'), 'user-agent' => array('claudebot'), 'x-forwarded-for' => array('54.196.27.122'), 'cdn-loop' => array('cloudflare'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86bc30863d6b818b-IAD'), 'x-forwarded-proto' => array('https'), 'cf-visitor' => array('{"scheme":"https"}'), 'cf-connecting-ip' => array('54.196.27.122')), 'cookies' => array(), 'session' => array('_token' => 'kSvwzYE8KayiMEmT8K63GKPgiL1o3DQGFzNIicpn'), 'route' => array('route' => null, 'routeParameters' => array('main' => 'notification', 'sub' => 'MzIw'), 'controllerAction' => 'App\\Http\\Controllers\\Front\\Content\\ContentController@getBySubMenu', 'middleware' => array('web')), 'user' => array(), 'env' => array('laravel_version' => '7.30.4', 'laravel_locale' => 'en', 'laravel_config_cached' => false, 'php_version' => '7.4.33'), 'logs' => array(), 'dumps' => array(), 'queries' => array(array('sql' => 'select * from `tbl_main_menu` where `main_menu_status` = ? and `main_menu_name` = ? limit 1', 'time' => 1.58, 'connection_name' => 'mysql', 'bindings' => array(0, 'notification'), 'microtime' => 1711676822.120855))), 'stage' => 'local', 'message_level' => null, 'open_frame_index' => null, 'application_path' => '/home/u511725780/domains/cigi.org/public_html', 'application_version' => null), 'housekeepingEndpoint' => 'https://cigi.org/_ignition', 'styles' => array(), 'scripts' => array(), 'tabs' => '[]', 'jsonEncode' => object(Closure), 'getAssetContents' => object(Closure), 'defaultTab' => 'StackTab', 'defaultTabProps' => array())) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:74) at Facade\Ignition\ErrorPage\ErrorPageHandler->renderException(object(ErrorPageViewModel)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/ErrorPageHandler.php:53) at Facade\Ignition\ErrorPage\ErrorPageHandler->handle(object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/facade/ignition/src/ErrorPage/IgnitionWhoopsHandler.php:25) at Facade\Ignition\ErrorPage\IgnitionWhoopsHandler->handle(object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/filp/whoops/src/Whoops/Run.php:370) at Whoops\Run->handleException(object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:364) at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithWhoops(object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:343) at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:327) at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:306) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:211) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/app/Exceptions/Handler.php:53) at App\Exceptions\Handler->render(object(Request), object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:119) at Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:96) at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(object(FatalError)) (/home/u511725780/domains/cigi.org/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:130) at Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown() |