TRENDING NEWS
Back to news
26 Apr, 2025
Share:
Sports News | Angad Cheema Wins Kapil Dev Grant Thornton Invitational Golf
@Source: latestly.com
JsonException ViewException ViewException ViewException HTTP 500 Internal Server Error Syntax error (View: /www/www.latestly.com/resources/views/template/includes/head.blade.php) (View: /www/www.latestly.com/resources/views/template/includes/head.blade.php) (View: /www/www.latestly.com/resources/views/template/includes/head.blade.php) Exceptions 4 Illuminate\View\ ViewException Show exception properties Illuminate\View\ViewException {#499 #severity: E_ERROR /www/www.latestly.com/app/helpers.php (line 1219) if (file_exists($filename)) { $handle = fopen($filename, "r"); $fSize = filesize($filename); if ($fSize > 0) { $live_breaking_news1 = fread($handle, $fSize); $live_breaking_news = json_decode($live_breaking_news1, true, 512, JSON_THROW_ON_ERROR); fclose($handle); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php handleViewException // flush out any stray output that might get out before an error occurs or // an exception is thrown. This prevents any partial views from leaking. $this->files->getRequire($path, $data); } catch (Throwable $e) { $this->handleViewException($e, $obLevel); return ltrim(ob_get_clean()); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php evaluatePath // Once we have the path to the compiled file, we will evaluate the paths with // typical PHP just like any other templates. We also keep a stack of views // which have been rendered for right exception messages to be generated. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); } catch (ViewException $e) { if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) { /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php * @return string protected function getContents() return $this->engine->get($this->path, $this->gatherData()); * Get the data bound to the view instance. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php getContents // clear out the sections for any separate views that may be rendered. $this->factory->incrementRender(); $this->factory->callComposer($this); $contents = $this->getContents(); // Once we've finished rendering the view, we'll decrement the render count // so that each section gets flushed out next time a view is created and // no old sections are staying around in the memory of an environment. $this->factory->decrementRender(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php renderContents * @throws \Throwable public function render(callable $callback = null) $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null; // Once we have the contents of the view, we will flush the sections if we are // done rendering all views so that there is nothing left hanging over when /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Response.php // If this content implements the "Renderable" interface then we will call the // render method on the object so we will avoid any "__toString" exceptions // that might be thrown and have their errors obscured by PHP's handling. elseif ($content instanceof Renderable) { $content = $content->render(); parent::setContent($content); return $this; /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Response.php public function __construct($content = '', $status = 200, array $headers = []) $this->headers = new ResponseHeaderBag($headers); $this->setContent($content); $this->setStatusCode($status); $this->setProtocolVersion('1.0'); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php __construct $response instanceof JsonSerializable || $response instanceof stdClass || is_array($response))) { $response = new JsonResponse($response); } elseif (! $response instanceof SymfonyResponse) { $response = new Response($response, 200, ['Content-Type' => 'text/html']); if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) { $response->setNotModified(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php public function prepareResponse($request, $response) $this->events->dispatch(new PreparingResponse($request, $response)); return tap(static::toResponse($request, $response), function ($response) use ($request) { $this->events->dispatch(new ResponsePrepared($request, $response)); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php prepareResponse $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Routing\{closure} protected function prepareDestination(Closure $destination) return function ($passable) use ($destination) { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php Illuminate\Pipeline\{closure} throw $exception; return $next($request); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php Illuminate\Pipeline\{closure} $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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php Illuminate\Pipeline\{closure} // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php Illuminate\Pipeline\{closure} $this->startSession($request, $session) $this->collectGarbage($session); $response = $next($request); $this->storeCurrentUrl($request, $session); $this->addCookieToResponse($response, $session); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php handleStatefulRequest if ($this->manager->shouldBlock() || ($request->route() instanceof Route && $request->route()->locksFor())) { return $this->handleRequestWhileBlocking($request, $session, $next); return $this->handleStatefulRequest($request, $session, $next); * Handle the given request within session state. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php Illuminate\Pipeline\{closure} * @param \Closure $next * @return mixed public function handle($request, Closure $next) $response = $next($request); foreach ($this->cookies->getQueuedCookies() as $cookie) { $response->headers->setCookie($cookie); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php Illuminate\Pipeline\{closure} * @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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Pipeline\{closure} $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) return $pipeline($this->passable); * Run the pipeline and return the result. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php runRouteWithinStack $request->setRouteResolver(fn () => $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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php * @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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php dispatchToRoute public function dispatch(Request $request) $this->currentRequest = $request; return $this->dispatchToRoute($request); * Dispatch the request to a route and return the response. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php protected function dispatchToRouter() return function ($request) { $this->app->instance('request', $request); return $this->router->dispatch($request); * Call the terminate method on any terminable middleware. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Foundation\Http\{closure} protected function prepareDestination(Closure $destination) return function ($passable) use ($destination) { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php Illuminate\Pipeline\{closure} $request::setTrustedProxies([], $this->getTrustedHeaderNames()); $this->setTrustedProxyIpAddresses($request); return $next($request); * Sets the trusted proxies on the request. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php Illuminate\Pipeline\{closure} public function handle($request, Closure $next) $this->clean($request); return $next($request); * Clean the request's data. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php if ($callback($request)) { return $next($request); return parent::handle($request, $next); * Transform the given value. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php Illuminate\Pipeline\{closure} public function handle($request, Closure $next) $this->clean($request); return $next($request); * Clean the request's data. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php if ($callback($request)) { return $next($request); return parent::handle($request, $next); * Transform the given value. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php Illuminate\Pipeline\{closure} if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; return $next($request); * Determine the server 'post_max_size' as bytes. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php Illuminate\Pipeline\{closure} $this->getHeaders($data) return $next($request); * Determine if the incoming request has a maintenance mode bypass cookie. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Pipeline\{closure} $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) return $pipeline($this->passable); * Run the pipeline and return the result. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php $this->bootstrap(); return (new Pipeline($this->app)) ->send($request) ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); * Bootstrap the application for HTTP requests. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php sendRequestThroughRouter $this->requestStartedAt = Carbon::now(); $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Throwable $e) { $this->reportException($e); $response = $this->renderException($request, $e); Kernel->handle() /www/www.latestly.com/public/index.php $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() $response->send(); Illuminate\View\ ViewException Syntax error (View: /www/www.latestly.com/resources/views/template/includes/head.blade.php) (View: /www/www.latestly.com/resources/views/template/includes/head.blade.php) /www/www.latestly.com/app/helpers.php (line 1219) if (file_exists($filename)) { $handle = fopen($filename, "r"); $fSize = filesize($filename); if ($fSize > 0) { $live_breaking_news1 = fread($handle, $fSize); $live_breaking_news = json_decode($live_breaking_news1, true, 512, JSON_THROW_ON_ERROR); fclose($handle); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php handleViewException // flush out any stray output that might get out before an error occurs or // an exception is thrown. This prevents any partial views from leaking. $this->files->getRequire($path, $data); } catch (Throwable $e) { $this->handleViewException($e, $obLevel); return ltrim(ob_get_clean()); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php evaluatePath // Once we have the path to the compiled file, we will evaluate the paths with // typical PHP just like any other templates. We also keep a stack of views // which have been rendered for right exception messages to be generated. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); } catch (ViewException $e) { if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) { /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php * @return string protected function getContents() return $this->engine->get($this->path, $this->gatherData()); * Get the data bound to the view instance. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php getContents // clear out the sections for any separate views that may be rendered. $this->factory->incrementRender(); $this->factory->callComposer($this); $contents = $this->getContents(); // Once we've finished rendering the view, we'll decrement the render count // so that each section gets flushed out next time a view is created and // no old sections are staying around in the memory of an environment. $this->factory->decrementRender(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php renderContents * @throws \Throwable public function render(callable $callback = null) $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null; // Once we have the contents of the view, we will flush the sections if we are // done rendering all views so that there is nothing left hanging over when View->render() /www/www.latestly.com/storage/framework/views/75c726834f30f9855f060c41b06d77fd.php stopSection(); ?> make('master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php $__data = $data; return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; throw new FileNotFoundException("File does not exist at path {$path}."); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php Illuminate\Filesystem\{closure} return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; throw new FileNotFoundException("File does not exist at path {$path}."); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php // We'll evaluate the contents of the view inside a try/catch block so we can // flush out any stray output that might get out before an error occurs or // an exception is thrown. This prevents any partial views from leaking. $this->files->getRequire($path, $data); } catch (Throwable $e) { $this->handleViewException($e, $obLevel); return ltrim(ob_get_clean()); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php evaluatePath // Once we have the path to the compiled file, we will evaluate the paths with // typical PHP just like any other templates. We also keep a stack of views // which have been rendered for right exception messages to be generated. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); } catch (ViewException $e) { if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) { /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php * @return string protected function getContents() return $this->engine->get($this->path, $this->gatherData()); * Get the data bound to the view instance. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php getContents // clear out the sections for any separate views that may be rendered. $this->factory->incrementRender(); $this->factory->callComposer($this); $contents = $this->getContents(); // Once we've finished rendering the view, we'll decrement the render count // so that each section gets flushed out next time a view is created and // no old sections are staying around in the memory of an environment. $this->factory->decrementRender(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php renderContents * @throws \Throwable public function render(callable $callback = null) $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null; // Once we have the contents of the view, we will flush the sections if we are // done rendering all views so that there is nothing left hanging over when /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Response.php // If this content implements the "Renderable" interface then we will call the // render method on the object so we will avoid any "__toString" exceptions // that might be thrown and have their errors obscured by PHP's handling. elseif ($content instanceof Renderable) { $content = $content->render(); parent::setContent($content); return $this; /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Response.php public function __construct($content = '', $status = 200, array $headers = []) $this->headers = new ResponseHeaderBag($headers); $this->setContent($content); $this->setStatusCode($status); $this->setProtocolVersion('1.0'); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php __construct $response instanceof JsonSerializable || $response instanceof stdClass || is_array($response))) { $response = new JsonResponse($response); } elseif (! $response instanceof SymfonyResponse) { $response = new Response($response, 200, ['Content-Type' => 'text/html']); if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) { $response->setNotModified(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php public function prepareResponse($request, $response) $this->events->dispatch(new PreparingResponse($request, $response)); return tap(static::toResponse($request, $response), function ($response) use ($request) { $this->events->dispatch(new ResponsePrepared($request, $response)); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php prepareResponse $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Routing\{closure} protected function prepareDestination(Closure $destination) return function ($passable) use ($destination) { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php Illuminate\Pipeline\{closure} throw $exception; return $next($request); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php Illuminate\Pipeline\{closure} $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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php Illuminate\Pipeline\{closure} // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php Illuminate\Pipeline\{closure} $this->startSession($request, $session) $this->collectGarbage($session); $response = $next($request); $this->storeCurrentUrl($request, $session); $this->addCookieToResponse($response, $session); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php handleStatefulRequest if ($this->manager->shouldBlock() || ($request->route() instanceof Route && $request->route()->locksFor())) { return $this->handleRequestWhileBlocking($request, $session, $next); return $this->handleStatefulRequest($request, $session, $next); * Handle the given request within session state. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php Illuminate\Pipeline\{closure} * @param \Closure $next * @return mixed public function handle($request, Closure $next) $response = $next($request); foreach ($this->cookies->getQueuedCookies() as $cookie) { $response->headers->setCookie($cookie); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php Illuminate\Pipeline\{closure} * @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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Pipeline\{closure} $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) return $pipeline($this->passable); * Run the pipeline and return the result. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php runRouteWithinStack $request->setRouteResolver(fn () => $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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php * @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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php dispatchToRoute public function dispatch(Request $request) $this->currentRequest = $request; return $this->dispatchToRoute($request); * Dispatch the request to a route and return the response. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php protected function dispatchToRouter() return function ($request) { $this->app->instance('request', $request); return $this->router->dispatch($request); * Call the terminate method on any terminable middleware. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Foundation\Http\{closure} protected function prepareDestination(Closure $destination) return function ($passable) use ($destination) { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php Illuminate\Pipeline\{closure} $request::setTrustedProxies([], $this->getTrustedHeaderNames()); $this->setTrustedProxyIpAddresses($request); return $next($request); * Sets the trusted proxies on the request. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php Illuminate\Pipeline\{closure} public function handle($request, Closure $next) $this->clean($request); return $next($request); * Clean the request's data. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php if ($callback($request)) { return $next($request); return parent::handle($request, $next); * Transform the given value. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php Illuminate\Pipeline\{closure} public function handle($request, Closure $next) $this->clean($request); return $next($request); * Clean the request's data. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php if ($callback($request)) { return $next($request); return parent::handle($request, $next); * Transform the given value. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php Illuminate\Pipeline\{closure} if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; return $next($request); * Determine the server 'post_max_size' as bytes. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php Illuminate\Pipeline\{closure} $this->getHeaders($data) return $next($request); * Determine if the incoming request has a maintenance mode bypass cookie. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Pipeline\{closure} $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) return $pipeline($this->passable); * Run the pipeline and return the result. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php $this->bootstrap(); return (new Pipeline($this->app)) ->send($request) ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); * Bootstrap the application for HTTP requests. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php sendRequestThroughRouter $this->requestStartedAt = Carbon::now(); $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Throwable $e) { $this->reportException($e); $response = $this->renderException($request, $e); Kernel->handle() /www/www.latestly.com/public/index.php $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() $response->send(); Illuminate\View\ ViewException Syntax error (View: /www/www.latestly.com/resources/views/template/includes/head.blade.php) /www/www.latestly.com/app/helpers.php (line 1219) if (file_exists($filename)) { $handle = fopen($filename, "r"); $fSize = filesize($filename); if ($fSize > 0) { $live_breaking_news1 = fread($handle, $fSize); $live_breaking_news = json_decode($live_breaking_news1, true, 512, JSON_THROW_ON_ERROR); fclose($handle); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php handleViewException // flush out any stray output that might get out before an error occurs or // an exception is thrown. This prevents any partial views from leaking. $this->files->getRequire($path, $data); } catch (Throwable $e) { $this->handleViewException($e, $obLevel); return ltrim(ob_get_clean()); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php evaluatePath // Once we have the path to the compiled file, we will evaluate the paths with // typical PHP just like any other templates. We also keep a stack of views // which have been rendered for right exception messages to be generated. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); } catch (ViewException $e) { if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) { /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php * @return string protected function getContents() return $this->engine->get($this->path, $this->gatherData()); * Get the data bound to the view instance. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php getContents // clear out the sections for any separate views that may be rendered. $this->factory->incrementRender(); $this->factory->callComposer($this); $contents = $this->getContents(); // Once we've finished rendering the view, we'll decrement the render count // so that each section gets flushed out next time a view is created and // no old sections are staying around in the memory of an environment. $this->factory->decrementRender(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php renderContents * @throws \Throwable public function render(callable $callback = null) $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null; // Once we have the contents of the view, we will flush the sections if we are // done rendering all views so that there is nothing left hanging over when View->render() /www/www.latestly.com/storage/framework/views/d6b2d25f725ae7c4acf5ed42c0d5a0b9.php make('template.includes.head', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php $__data = $data; return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; throw new FileNotFoundException("File does not exist at path {$path}."); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php Illuminate\Filesystem\{closure} return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; throw new FileNotFoundException("File does not exist at path {$path}."); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php // We'll evaluate the contents of the view inside a try/catch block so we can // flush out any stray output that might get out before an error occurs or // an exception is thrown. This prevents any partial views from leaking. $this->files->getRequire($path, $data); } catch (Throwable $e) { $this->handleViewException($e, $obLevel); return ltrim(ob_get_clean()); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php evaluatePath // Once we have the path to the compiled file, we will evaluate the paths with // typical PHP just like any other templates. We also keep a stack of views // which have been rendered for right exception messages to be generated. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); } catch (ViewException $e) { if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) { /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php * @return string protected function getContents() return $this->engine->get($this->path, $this->gatherData()); * Get the data bound to the view instance. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php getContents // clear out the sections for any separate views that may be rendered. $this->factory->incrementRender(); $this->factory->callComposer($this); $contents = $this->getContents(); // Once we've finished rendering the view, we'll decrement the render count // so that each section gets flushed out next time a view is created and // no old sections are staying around in the memory of an environment. $this->factory->decrementRender(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php renderContents * @throws \Throwable public function render(callable $callback = null) $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null; // Once we have the contents of the view, we will flush the sections if we are // done rendering all views so that there is nothing left hanging over when View->render() /www/www.latestly.com/storage/framework/views/75c726834f30f9855f060c41b06d77fd.php stopSection(); ?> make('master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php $__data = $data; return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; throw new FileNotFoundException("File does not exist at path {$path}."); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php Illuminate\Filesystem\{closure} return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; throw new FileNotFoundException("File does not exist at path {$path}."); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php // We'll evaluate the contents of the view inside a try/catch block so we can // flush out any stray output that might get out before an error occurs or // an exception is thrown. This prevents any partial views from leaking. $this->files->getRequire($path, $data); } catch (Throwable $e) { $this->handleViewException($e, $obLevel); return ltrim(ob_get_clean()); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php evaluatePath // Once we have the path to the compiled file, we will evaluate the paths with // typical PHP just like any other templates. We also keep a stack of views // which have been rendered for right exception messages to be generated. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); } catch (ViewException $e) { if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) { /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php * @return string protected function getContents() return $this->engine->get($this->path, $this->gatherData()); * Get the data bound to the view instance. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php getContents // clear out the sections for any separate views that may be rendered. $this->factory->incrementRender(); $this->factory->callComposer($this); $contents = $this->getContents(); // Once we've finished rendering the view, we'll decrement the render count // so that each section gets flushed out next time a view is created and // no old sections are staying around in the memory of an environment. $this->factory->decrementRender(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php renderContents * @throws \Throwable public function render(callable $callback = null) $contents = $this->renderContents(); $response = isset($callback) ? $callback($this, $contents) : null; // Once we have the contents of the view, we will flush the sections if we are // done rendering all views so that there is nothing left hanging over when /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Response.php // If this content implements the "Renderable" interface then we will call the // render method on the object so we will avoid any "__toString" exceptions // that might be thrown and have their errors obscured by PHP's handling. elseif ($content instanceof Renderable) { $content = $content->render(); parent::setContent($content); return $this; /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Response.php public function __construct($content = '', $status = 200, array $headers = []) $this->headers = new ResponseHeaderBag($headers); $this->setContent($content); $this->setStatusCode($status); $this->setProtocolVersion('1.0'); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php __construct $response instanceof JsonSerializable || $response instanceof stdClass || is_array($response))) { $response = new JsonResponse($response); } elseif (! $response instanceof SymfonyResponse) { $response = new Response($response, 200, ['Content-Type' => 'text/html']); if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) { $response->setNotModified(); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php public function prepareResponse($request, $response) $this->events->dispatch(new PreparingResponse($request, $response)); return tap(static::toResponse($request, $response), function ($response) use ($request) { $this->events->dispatch(new ResponsePrepared($request, $response)); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php prepareResponse $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Routing\{closure} protected function prepareDestination(Closure $destination) return function ($passable) use ($destination) { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php Illuminate\Pipeline\{closure} throw $exception; return $next($request); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php Illuminate\Pipeline\{closure} $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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php Illuminate\Pipeline\{closure} // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php Illuminate\Pipeline\{closure} $this->startSession($request, $session) $this->collectGarbage($session); $response = $next($request); $this->storeCurrentUrl($request, $session); $this->addCookieToResponse($response, $session); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php handleStatefulRequest if ($this->manager->shouldBlock() || ($request->route() instanceof Route && $request->route()->locksFor())) { return $this->handleRequestWhileBlocking($request, $session, $next); return $this->handleStatefulRequest($request, $session, $next); * Handle the given request within session state. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php Illuminate\Pipeline\{closure} * @param \Closure $next * @return mixed public function handle($request, Closure $next) $response = $next($request); foreach ($this->cookies->getQueuedCookies() as $cookie) { $response->headers->setCookie($cookie); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php Illuminate\Pipeline\{closure} * @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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Pipeline\{closure} $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) return $pipeline($this->passable); * Run the pipeline and return the result. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route); return (new Pipeline($this->container)) ->send($request) ->through($middleware) ->then(fn ($request) => $this->prepareResponse( $request, $route->run() /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php runRouteWithinStack $request->setRouteResolver(fn () => $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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php * @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. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php dispatchToRoute public function dispatch(Request $request) $this->currentRequest = $request; return $this->dispatchToRoute($request); * Dispatch the request to a route and return the response. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php protected function dispatchToRouter() return function ($request) { $this->app->instance('request', $request); return $this->router->dispatch($request); * Call the terminate method on any terminable middleware. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Foundation\Http\{closure} protected function prepareDestination(Closure $destination) return function ($passable) use ($destination) { return $destination($passable); } catch (Throwable $e) { return $this->handleException($passable, $e); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php Illuminate\Pipeline\{closure} $request::setTrustedProxies([], $this->getTrustedHeaderNames()); $this->setTrustedProxyIpAddresses($request); return $next($request); * Sets the trusted proxies on the request. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php Illuminate\Pipeline\{closure} public function handle($request, Closure $next) $this->clean($request); return $next($request); * Clean the request's data. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php if ($callback($request)) { return $next($request); return parent::handle($request, $next); * Transform the given value. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php Illuminate\Pipeline\{closure} public function handle($request, Closure $next) $this->clean($request); return $next($request); * Clean the request's data. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php if ($callback($request)) { return $next($request); return parent::handle($request, $next); * Transform the given value. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php Illuminate\Pipeline\{closure} if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; return $next($request); * Determine the server 'post_max_size' as bytes. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php Illuminate\Pipeline\{closure} $this->getHeaders($data) return $next($request); * Determine if the incoming request has a maintenance mode bypass cookie. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php // 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); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php Illuminate\Pipeline\{closure} $pipeline = array_reduce( array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination) return $pipeline($this->passable); * Run the pipeline and return the result. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php $this->bootstrap(); return (new Pipeline($this->app)) ->send($request) ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); * Bootstrap the application for HTTP requests. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php sendRequestThroughRouter $this->requestStartedAt = Carbon::now(); $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Throwable $e) { $this->reportException($e); $response = $this->renderException($request, $e); Kernel->handle() /www/www.latestly.com/public/index.php $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() $response->send(); JsonException Syntax error /www/www.latestly.com/app/helpers.php (line 1219) if (file_exists($filename)) { $handle = fopen($filename, "r"); $fSize = filesize($filename); if ($fSize > 0) { $live_breaking_news1 = fread($handle, $fSize); $live_breaking_news = json_decode($live_breaking_news1, true, 512, JSON_THROW_ON_ERROR); fclose($handle); json_decode() /www/www.latestly.com/app/helpers.php (line 1219) if (file_exists($filename)) { $handle = fopen($filename, "r"); $fSize = filesize($filename); if ($fSize > 0) { $live_breaking_news1 = fread($handle, $fSize); $live_breaking_news = json_decode($live_breaking_news1, true, 512, JSON_THROW_ON_ERROR); fclose($handle); live_breaking_news() /www/www.latestly.com/storage/framework/views/393fcc638ad022ef925d8aa676f6d784.php $live_breaking_new) { /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php $__data = $data; return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; throw new FileNotFoundException("File does not exist at path {$path}."); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php Illuminate\Filesystem\{closure} return (static function () use ($__path, $__data) { extract($__data, EXTR_SKIP); return require $__path; throw new FileNotFoundException("File does not exist at path {$path}."); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php // We'll evaluate the contents of the view inside a try/catch block so we can // flush out any stray output that might get out before an error occurs or // an exception is thrown. This prevents any partial views from leaking. $this->files->getRequire($path, $data); } catch (Throwable $e) { $this->handleViewException($e, $obLevel); return ltrim(ob_get_clean()); /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php evaluatePath // Once we have the path to the compiled file, we will evaluate the paths with // typical PHP just like any other templates. We also keep a stack of views // which have been rendered for right exception messages to be generated. $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data); } catch (ViewException $e) { if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) { /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php * @return string protected function getContents() return $this->engine->get($this->path, $this->gatherData()); * Get the data bound to the view instance. /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php getContents // clear out the sections for any separate views that may be rendered. $this->factory->incrementRender(); $this->factory->callComposer($this); $contents = $this->getContents(); // Once we've finished rendering the view, we'll decrement the render count // so that each section gets flushed out next time a view is created and // no old sections are staying around in the memory of an environment. $this->facto
For advertisement: 510-931-9107
Copyright © 2025 Usfijitimes. All Rights Reserved.