/www/www.latestly.com/resources/views/template/includes/head.blade.php) (500 Internal Server Error) (2025)

  1. if(file_exists($filename)){
  2. $handle=fopen($filename,"r");
  3. $fSize=filesize($filename);
  4. if($fSize>0){
  5. $live_breaking_news1=fread($handle,$fSize);
  6. $live_breaking_news=json_decode($live_breaking_news1,true,512,JSON_THROW_ON_ERROR);
  7. }
  8. fclose($handle);
  9. }

json_decode() in /www/www.latestly.com/app/helpers.php (line 1219)

  1. if(file_exists($filename)){
  2. $handle=fopen($filename,"r");
  3. $fSize=filesize($filename);
  4. if($fSize>0){
  5. $live_breaking_news1=fread($handle,$fSize);
  6. $live_breaking_news=json_decode($live_breaking_news1,true,512,JSON_THROW_ON_ERROR);
  7. }
  8. fclose($handle);
  9. }
  1. <?php
  2. $live_breaking_news='';
  3. if(function_exists('live_breaking_news')){
  4. if(isset($homePageData['all_latest_article'])&&!empty($homePageData['all_latest_article'])){
  5. $live_breaking_news_ticker=array_slice($homePageData['all_latest_article'],0,2);
  6. $live_breaking_news=live_breaking_news($live_breaking_news_ticker);
  7. }else{
  8. $live_breaking_news=live_breaking_news();
  9. }
  10. if(!empty($live_breaking_news)){
  11. foreach($live_breaking_newsas$key=>$live_breaking_new){
  1. $__data=$data;
  2. return(staticfunction()use($__path,$__data){
  3. extract($__data,EXTR_SKIP);
  4. in /www/www.latestly.com/app/helpers.php (line 1219)
  1. if(file_exists($filename)){
  2. $handle=fopen($filename,"r");
  3. $fSize=filesize($filename);
  4. if($fSize>0){
  5. $live_breaking_news1=fread($handle,$fSize);
  6. $live_breaking_news=json_decode($live_breaking_news1,true,512,JSON_THROW_ON_ERROR);
  7. }
  8. fclose($handle);
  9. }
  1. <?php
  2. $live_breaking_news='';
  3. if(function_exists('live_breaking_news')){
  4. if(isset($homePageData['all_latest_article'])&&!empty($homePageData['all_latest_article'])){
  5. $live_breaking_news_ticker=array_slice($homePageData['all_latest_article'],0,2);
  6. $live_breaking_news=live_breaking_news($live_breaking_news_ticker);
  7. }else{
  8. $live_breaking_news=live_breaking_news();
  9. }
  10. if(!empty($live_breaking_news)){
  11. foreach($live_breaking_newsas$key=>$live_breaking_new){
  1. $__data=$data;
  2. return(staticfunction()use($__path,$__data){
  3. extract($__data,EXTR_SKIP);
  4. returnrequire$__path;
  5. })();
  6. }
  7. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  8. }
  1. return(staticfunction()use($__path,$__data){
  2. extract($__data,EXTR_SKIP);
  3. returnrequire$__path;
  4. })();
  5. }
  6. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  7. }
  1. //We'llevaluatethecontentsoftheviewinsideatry/catchblocksowecan
  2. //flushoutanystrayoutputthatmightgetoutbeforeanerroroccursor
  3. //anexceptionisthrown.Thispreventsanypartialviewsfromleaking.
  4. try{
  5. $this->files->getRequire($path,$data);
  6. }catch(Throwable$e){
  7. $this->handleViewException($e,$obLevel);
  8. }
  9. returnltrim(ob_get_clean());
  1. //Oncewehavethepathtothecompiledfile,wewillevaluatethepathswith
  2. //typicalPHPjustlikeanyothertemplates.Wealsokeepastackofviews
  3. //whichhavebeenrenderedforrightexceptionmessagestobegenerated.
  4. try{
  5. $results=$this->evaluatePath($this->compiler->getCompiledPath($path),$data);
  6. }catch(ViewException$e){
  7. if(!str($e->getMessage())->contains(['Nosuchfileordirectory','Filedoesnotexistatpath'])){
  8. throw$e;
  9. }
  1. *
  2. *@returnstring
  3. */
  4. protectedfunctiongetContents()
  5. returnrequire$__path;
  6. })();
  7. }
  8. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  9. }
  1. return(staticfunction()use($__path,$__data){
  2. extract($__data,EXTR_SKIP);
  3. returnrequire$__path;
  4. })();
  5. }
  6. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  7. }
  1. //We'llevaluatethecontentsoftheviewinsideatry/catchblocksowecan
  2. //flushoutanystrayoutputthatmightgetoutbeforeanerroroccursor
  3. //anexceptionisthrown.Thispreventsanypartialviewsfromleaking.
  4. try{
  5. $this->files->getRequire($path,$data);
  6. }catch(Throwable$e){
  7. $this->handleViewException($e,$obLevel);
  8. }
  9. returnltrim(ob_get_clean());
  1. //Oncewehavethepathtothecompiledfile,wewillevaluatethepathswith
  2. //typicalPHPjustlikeanyothertemplates.Wealsokeepastackofviews
  3. //whichhavebeenrenderedforrightexceptionmessagestobegenerated.
  4. try{
  5. $results=$this->evaluatePath($this->compiler->getCompiledPath($path),$data);
  6. }catch(ViewException$e){
  7. if(!str($e->getMessage())->contains(['Nosuchfileordirectory','Filedoesnotexistatpath'])){
  8. throw$e;
  9. }
  1. *
  2. *@returnstring
  3. */
  4. protectedfunctiongetContents()
  5. {
  6. return$this->engine->get($this->path,$this->gatherData());
  7. }
  8. /**
  9. *Getthedataboundtotheviewinstance.
  10. *
  1. //clearoutthesectionsforanyseparateviewsthatmayberendered.
  2. $this->factory->incrementRender();
  3. $this->factory->callComposer($this);
  4. $contents=$this->getContents();
  5. //Oncewe'vefinishedrenderingtheview,we'lldecrementtherendercount
  6. //sothateachsectiongetsflushedoutnexttimeaviewiscreatedand
  7. //nooldsectionsarestayingaroundinthememoryofanenvironment.
  8. $this->factory->decrementRender();
  1. *@throws\Throwable
  2. */
  3. publicfunctionrender(callable$callback=null)
  4. {
  5. try{
  6. $contents=$this->renderContents();
  7. $response=isset($callback)?$callback($this,$contents):null;
  8. //Oncewehavethecontentsoftheview,wewillflushthesectionsifweare
  9. //donerenderingallviewssothatthereisnothinglefthangingoverwhen
  1. /*]]>*/
  2. </script>
  3. <?phpendif;?>
  4. </head>
  5. <body>
  6. <?phpecho$__env->make('template.includes.head',\Illuminate\Support\Arr::except(get_defined_vars(),['__data','__path']))->render();{
  7. return$this->engine->get($this->path,$this->gatherData());
  8. }
  9. /**
  10. *Getthedataboundtotheviewinstance.
  11. *
  1. //clearoutthesectionsforanyseparateviewsthatmayberendered.
  2. $this->factory->incrementRender();
  3. $this->factory->callComposer($this);
  4. $contents=$this->getContents();
  5. //Oncewe'vefinishedrenderingtheview,we'lldecrementtherendercount
  6. //sothateachsectiongetsflushedoutnexttimeaviewiscreatedand
  7. //nooldsectionsarestayingaroundinthememoryofanenvironment.
  8. $this->factory->decrementRender();
  1. *@throws\Throwable
  2. */
  3. publicfunctionrender(callable$callback=null)
  4. {
  5. try{
  6. $contents=$this->renderContents();
  7. $response=isset($callback)?$callback($this,$contents):null;
  8. //Oncewehavethecontentsoftheview,wewillflushthesectionsifweare
  9. //donerenderingallviewssothatthereisnothinglefthangingoverwhen
  1. /*]]>*/
  2. </script>
  3. <?phpendif;?>
  4. </head>
  5. <body>
  6. <?phpecho$__env->make('template.includes.head',\Illuminate\Support\Arr::except(get_defined_vars(),['__data','__path']))->render();?>
  7. <divclass="add-left">
  8. <!--<divid='div-gpt-ad-1590063487025-0'>
  9. <script>
  10. googletag.cmd.push(function(){googletag.display('div-gpt-ad-1590063487025-0');});
  11. </script>
  1. $__data=$data;
  2. return(staticfunction()use($__path,$__data){
  3. extract($__data,EXTR_SKIP);
  4. returnrequire$__path;
  5. })();
  6. }
  7. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  8. }
  1. return(staticfunction()use($__path,$__data){
  2. extract($__data,EXTR_SKIP);
  3. returnrequire$__path;
  4. })();
  5. }
  6. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  7. }
  1. //We'llevaluatethecontentsoftheviewinsideatry/catchblocksowecan
  2. //flushoutanystrayoutputthatmightgetoutbeforeanerroroccursor
  3. //anexceptionisthrown.Thispreventsanypartialviewsfromleaking.
  4. try{
  5. $this->files->getRequire($path,$data);
  6. }catch(Throwable$e){
  7. $this->handleViewException($e,$obLevel);
  8. }
  9. returnltrim(ob_get_clean());
  1. //Oncewehavethepathtothecompiledfile,wewillevaluatethepathswith
  2. //typicalPHPjustlikeanyothertemplates.Wealsokeepastackofviews
  3. //whichhavebeenrenderedforrightexceptionmessagestobegenerated.
  4. try{
  5. $results=$this->evaluatePath($this->compiler->getCompiledPath($path),$data);
  6. }catch(ViewException$e?>
  7. <divclass="add-left">
  8. <!--<divid='div-gpt-ad-1590063487025-0'>
  9. <script>
  10. googletag.cmd.push(function(){googletag.display('div-gpt-ad-1590063487025-0');});
  11. </script>
  1. $__data=$data;
  2. return(staticfunction()use($__path,$__data){
  3. extract($__data,EXTR_SKIP);
  4. returnrequire$__path;
  5. })();
  6. }
  7. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  8. }
  1. return(staticfunction()use($__path,$__data){
  2. extract($__data,EXTR_SKIP);
  3. returnrequire$__path;
  4. })();
  5. }
  6. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  7. }
  1. //We'llevaluatethecontentsoftheviewinsideatry/catchblocksowecan
  2. //flushoutanystrayoutputthatmightgetoutbeforeanerroroccursor
  3. //anexceptionisthrown.Thispreventsanypartialviewsfromleaking.
  4. try{
  5. $this->files->getRequire($path,$data);
  6. }catch(Throwable$e){
  7. $this->handleViewException($e,$obLevel);
  8. }
  9. returnltrim(ob_get_clean());
  1. //Oncewehavethepathtothecompiledfile,wewillevaluatethepathswith
  2. //typicalPHPjustlikeanyothertemplates.Wealsokeepastackofviews
  3. //whichhavebeenrenderedforrightexceptionmessagestobegenerated.
  4. try{
  5. $results=$this->evaluatePath($this->compiler->getCompiledPath($path),$data);
  6. }catch(ViewException$e){
  7. if(!str($e->getMessage())->contains(['Nosuchfileordirectory','Filedoesnotexistatpath'])){
  8. throw$e;
  9. }
  1. *
  2. *@returnstring
  3. */
  4. protectedfunctiongetContents()
  5. {
  6. return$this->engine->get($this->path,$this->gatherData());
  7. }
  8. /**
  9. *Getthedataboundtotheviewinstance.
  10. *
  1. //clearoutthesectionsforanyseparateviewsthatmayberendered.
  2. $this->factory->incrementRender();
  3. $this->factory->callComposer($this);
  4. $contents=$this->getContents();
  5. //Oncewe'vefinishedrenderingtheview,we'lldecrementtherendercount
  6. //sothateachsectiongetsflushedoutnexttimeaviewiscreatedand
  7. //nooldsectionsarestayingaroundinthememoryofanenvironment.
  8. $this->factory->decrementRender();
  1. *@throws\Throwable
  2. */
  3. publicfunctionrender(callable$callback=null)
  4. {
  5. try{
  6. $contents=$this->renderContents();
  7. $response=isset($callback)?$callback($this,$contents):null;
  8. //Oncewehavethecontentsoftheview,wewillflushthesectionsifwe&highlight-keyword)">){
  9. if(!str($e->getMessage())->contains(['Nosuchfileordirectory','Filedoesnotexistatpath'])){
  10. throw$e;
  11. }
  1. *
  2. *@returnstring
  3. */
  4. protectedfunctiongetContents()
  5. {
  6. return$this->engine->get($this->path,$this->gatherData());
  7. }
  8. /**
  9. *Getthedataboundtotheviewinstance.
  10. *
  1. //clearoutthesectionsforanyseparateviewsthatmayberendered.
  2. $this->factory->incrementRender();
  3. $this->factory->callComposer($this);
  4. $contents=$this->getContents();
  5. //Oncewe'vefinishedrenderingtheview,we'lldecrementtherendercount
  6. //sothateachsectiongetsflushedoutnexttimeaviewiscreatedand
  7. //nooldsectionsarestayingaroundinthememoryofanenvironment.
  8. $this->factory->decrementRender();
  1. *@throws\Throwable
  2. */
  3. publicfunctionrender(callable$callback=null)
  4. {
  5. try{
  6. $contents=$this->renderContents();
  7. $response=isset($callback)?$callback($this,$contents):null;
  8. //Oncewehavethecontentsoftheview,wewillflushthesectionsifweare
  9. //donerenderingallviewssothatthereisnothinglefthangingoverwhen
  1. <divclass="clear"></div>
  2. </div>
  3. </div>
  4. <?php$__env->stopSection();?>
  5. <?phpecho$__env->make('master',\Illuminate\Support\Arr::except(get_defined_vars(),['__data','__path']))->render();?><?php/**PATH/www/www.latestly.com/resources/views/template/article.blade.phpENDPATH**/?>
  1. $__data=$data;
  2. return(staticfunction()use($__path,$__data){
  3. extract($__data,EXTR_SKIP);
  4. returnrequire$__path;
  5. })();
  6. }
  7. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  8. }
  1. return(staticfunction()use($__path,$__data){
  2. extract($__data,EXTR_SKIP);
  3. returnrequire$__path;
  4. })();
  5. }
  6. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  7. }
  1. //We'llevaluatethecontentsoftheviewinsideatry/catchblocksowecan
  2. //flushoutanystrayoutputthatmightgetoutbeforeanerroroccursor
  3. //anexceptionisthrown.Thispreventsanypartialviewsfromleaking.
  4. try{
  5. $this->files->getRequire($path,$data);
  6. }catch(Throwable$e){
  7. $this->handleViewException($e,$obLevel);
  8. }
  9. returnltrim(ob_get_clean());

  1. <divclass="clear"></div>
  2. </div>
  3. </div>
  4. <?php$__env->stopSection();?>
  5. <?phpecho$__env->make('master',\Illuminate\Support\Arr::except(get_defined_vars(),['__data','__path']))->render();?><?php/**PATH/www/www.latestly.com/resources/views/template/article.blade.phpENDPATH**/?>
  1. $__data=$data;
  2. return(staticfunction()use($__path,$__data){
  3. extract($__data,EXTR_SKIP);
  4. returnrequire$__path;
  5. })();
  6. }
  7. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  8. }
  1. return(staticfunction()use($__path,$__data){
  2. extract($__data,EXTR_SKIP);
  3. returnrequire$__path;
  4. })();
  5. }
  6. thrownewFileNotFoundException("Filedoesnotexistatpath{$path}.");
  7. }
  1. //We'llevaluatethecontentsoftheviewinsideatry/catchblocksowecan
  2. //flushoutanystrayoutputthatmightgetoutbeforeanerroroccursor
  3. //anexceptionisthrown.Thispreventsanypartialviewsfromleaking.
  4. try{
  5. $this->files->getRequire($path,$data);
  6. }catch(Throwable$e){
  7. $this->handleViewException($e,$obLevel);
  8. }
  9. returnltrim(ob_get_clean());
  1. //Oncewehavethepathtothecompiledfile,wewillevaluatethepathswith
  2. //typicalPHPjustlikeanyothertemplates.Wealsokeepastackofviews
  3. //whichhavebeenrenderedforrightexceptionmessagestobegenerated.
  4. try{
  5. $results=$this->evaluatePath($this->compiler->getCompiledPath($path),$data);
  6. }catch(ViewException$e){
  7. if(!str($e->getMessage())->contains(['Nosuchfileordirectory','Filedoesnotexistatpath'])){
  8. throw$e;
  9. }
  1. *
  2. *@returnstring
  3. */
  4. protectedfunctiongetContents()
  5. {
  6. return$this->engine->get($this->path,$this->gatherData());
  7. }
  8. /**
  9. *Getthedataboundtotheviewinstance.
  10. *
  1. //clearoutthesectionsforanyseparateviewsthatmayberendered.
  2. $this->factory->incrementRender();
  3. $this->factory->callComposer($this);
  4. $contents=$this->getContents();
  5. //Oncewe'vefinishedrenderingtheview,we'lldecrementtherendercount
  6. //sothateachsectiongetsflushedoutnexttimeaviewiscreatedand
  7. //nooldsectionsarestayingaroundinthememoryofanenvironment.
  8. $this->factory->decrementRender();
  1. //Oncewehavethepathtothecompiledfile,wewillevaluatethepathswith
  2. //typicalPHPjustlikeanyothertemplates.Wealsokeepastackofviews
  3. //whichhavebeenrenderedforrightexceptionmessagestobegenerated.
  4. try{
  5. $results=$this->evaluatePath($this->compiler->getCompiledPath($path),$data);
  6. }catch(ViewException$e){
  7. if(!str($e->getMessage())->contains(['Nosuchfileordirectory','Filedoesnotexistatpath'])){
  8. throw$e;
  9. }
  1. *
  2. *@returnstring
  3. */
  4. protectedfunctiongetContents()
  5. {
  6. return$this->engine->get($this->path,$this->gatherData());
  7. }
  8. /**
  9. *Getthedataboundtotheviewinstance.
  10. *
  1. //clearoutthesectionsforanyseparateviewsthatmayberendered.
  2. $this->factory->incrementRender();
  3. $this->factory->callComposer($this);
  4. $contents=$this->getContents();
  5. //Oncewe'vefinishedrenderingtheview,we'lldecrementtherendercount
  6. //sothateachsectiongetsflushedoutnexttimeaviewiscreatedand
  7. //nooldsectionsarestayingaroundinthememoryofanenvironment.
  8. $this->factory->decrementRender();
  1. *@throws\Throwable
  2. */
  3. publicfunctionrender(callable$callback=null)
  4. {
  5. try{
  6. $contents=$this->renderContents();
  7. $response=isset($callback)?$callback($this,$contents):null;
  8. //Oncewehavethecontentsoftheview,wewillflushthesectionsifweare
  9. //donerenderingallviewssothatthereisnothinglefthangingoverwhen
  1. //Ifthiscontentimplementsthe"Renderable"interfacethenwewillcallthe
  2. //rendermethodontheobjectsowewillavoidany"__toString"exceptions
  3. //thatmightbethrownandhavetheirerrorsobscuredbyPHP'shandling.
  4. elseif($contentinstanceofRenderable){
  5. $content=$content->render();
  6. }
  7. parent::setContent($content);
  8. return$this;
  1. */
  2. publicfunction__construct($content='',$status=200,array$headers=[])
  3. {
  4. $this->headers=newResponseHeaderBag($headers);
  5. $this->setContent($content);
  6. $this->setStatusCode($status);
  7. $this->setProtocolVersion('1.0');
  8. }
  9. /**
  1. $responseinstanceofJsonSerializable||
  2. $responseinstanceofstdClass||
  3. is_array($response))){
  4. $response=newJsonResponse($response);
  5. }elseif(!$responseinstanceofSymfonyResponse){
  6. $response=newResponse($response,200,['Content-Type'=>'text/html']);
  7. }
  8. in /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/View/View.php -> renderContents (line 147)
  1. *@throws\Throwable
  2. */
  3. publicfunctionrender(callable$callback=null)
  4. {
  5. try{
  6. $contents=$this->renderContents();
  7. $response=isset($callback)?$callback($this,$contents):null;
  8. //Oncewehavethecontentsoftheview,wewillflushthesectionsifweare
  9. //donerenderingallviewssothatthereisnothinglefthangingoverwhen
  1. //Ifthiscontentimplementsthe"Renderable"interfacethenwewillcallthe
  2. //rendermethodontheobjectsowewillavoidany"__toString"exceptions
  3. //thatmightbethrownandhavetheirerrorsobscuredbyPHP'shandling.
  4. elseif($contentinstanceofRenderable){
  5. $content=$content->render();
  6. }
  7. parent::setContent($content);
  8. return$this;
  1. */
  2. publicfunction__construct($content='',$status=200,array$headers=[])
  3. {
  4. $this->headers=newResponseHeaderBag($headers);
  5. $this->setContent($content);
  6. $this->setStatusCode($status);
  7. $this->setProtocolVersion('1.0');
  8. }
  9. /**
  1. $responseinstanceofJsonSerializable||
  2. $responseinstanceofstdClass||
  3. is_array($response))){
  4. $response=newJsonResponse($response);
  5. }elseif(!$responseinstanceofSymfonyResponse){
  6. $response=newResponse($response,200,['Content-Type'=>'text/html']);
  7. }
  8. if($response->getStatusCode()===Response::HTTP_NOT_MODIFIED){
  9. $response->setNotModified();
  10. }
  1. */
  2. publicfunctionprepareResponse($request,$response)
  3. {
  4. $this->events->dispatch(newPreparingResponse($request,$response));
  5. returntap(static::toResponse($request,$response),function($response)use($request){
  6. $this->events->dispatch(newResponsePrepared($request,$response));
  7. });
  8. }
  9. /**
  1. $middleware=$shouldSkipMiddleware?[]:$this->gatherRouteMiddleware($route);
  2. return(newPipeline($this->container))
  3. ->send($request)
  4. ->through($middleware)
  5. ->then(fn($request)=>$this->prepareResponse(
  6. $request,$route->run()
  7. ));
  8. }
  9. /**
  1. */
  2. protectedfunctionprepareDestination(Closure$destination)
  3. {
  4. returnfunction($passable)use(if($response->getStatusCode()===Response::HTTP_NOT_MODIFIED){
  5. $response->setNotModified();
  6. }
  1. */
  2. publicfunctionprepareResponse($request,$response)
  3. {
  4. $this->events->dispatch(newPreparingResponse($request,$response));
  5. returntap(static::toResponse($request,$response),function($response)use($request){
  6. $this->events->dispatch(newResponsePrepared($request,$response));
  7. });
  8. }
  9. /**
  1. $middleware=$shouldSkipMiddleware?[]:$this->gatherRouteMiddleware($route);
  2. return(newPipeline($this->container))
  3. ->send($request)
  4. ->through($middleware)
  5. ->then(fn($request)=>$this->prepareResponse(
  6. $request,$route->run()
  7. ));
  8. }
  9. /**
  1. */
  2. protectedfunctionprepareDestination(Closure$destination)
  3. {
  4. returnfunction($passable)use($destination){
  5. try{
  6. return$destination($passable);
  7. }catch(Throwable$e){
  8. return$this->handleException($passable,$e);
  9. }
  10. };
  11. }
  1. }
  2. throw$exception;
  3. }
  4. return$next($request);
  5. }
  6. }
  1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
  2. $parameters=[$passable,$stack];
  3. }
  4. $carry=method_exists($pipe,$this->method)
  5. ?$pipe->{$this->method}(...$parameters)
  6. :$pipe(...$parameters);
  7. return$this->handleCarry($carry);
  8. }catch(Throwable$e){
  9. return$this->handleException($passable,$e);
  1. $this->isReading($request)||
  2. $this->runningUnitTests()||
  3. $this->inExceptArray($request)||
  4. $this->tokensMatch($request)
  5. ){
  6. returntap($next($request),function($response)use($request){
  7. if($this->shouldAddXsrfTokenCookie()){
  8. $this->addCookieToResponse($request,$response);
  9. }
  10. });
  11. }

in /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php $destination){

  • try{
  • return$destination($passable);
  • }catch(Throwable$e){
  • return$this->handleException($passable,$e);
  • }
  • };
  • }
    1. }
    2. throw$exception;
    3. }
    4. return$next($request);
    5. }
    6. }
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. $this->isReading($request)||
    2. $this->runningUnitTests()||
    3. $this->inExceptArray($request)||
    4. $this->tokensMatch($request)
    5. ){
    6. returntap($next($request),function($response)use($request){
    7. if($this->shouldAddXsrfTokenCookie()){
    8. $this->addCookieToResponse($request,$response);
    9. }
    10. });
    11. }
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. //Puttingtheerrorsintheviewforeveryviewallowsthedevelopertojust
    2. //assumethatsomeerrorsarealwaysavailable,whichisconvenientsince
    3. //theydon'thavetocontinuallyrunchecksforthepresenceoferrors.
    4. return$next($request);
    5. }
    6. }
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,&pan class="trace-type">-> handle (line 180)
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. //Puttingtheerrorsintheviewforeveryviewallowsthedevelopertojust
    2. //assumethatsomeerrorsarealwaysavailable,whichisconvenientsince
    3. //theydon'thavetocontinuallyrunchecksforthepresenceoferrors.
    4. return$next($request);
    5. }
    6. }
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. $this->startSession($request,$session)
    2. );
    3. $this->collectGarbage($session);
    4. $response=$next($request);
    5. $this->storeCurrentUrl($request,$session);
    6. $this->addCookieToResponse($response,$session);
    1. if($this->manager->shouldBlock()||
    2. ($request->route()instanceofRoute&&$request->route()->locksFor())){
    3. return$this->handleRequestWhileBlocking($request,$session,$next);
    4. }
    5. return$this->handleStatefulRequest($request,$session,$next);
    6. }
    7. /**
    8. *Handlethegivenrequestwithinsessionstate.
    9. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. $this->startSession($request,$session)
    2. );
    3. $this->collectGarbage($session);
    4. $response=$next($request);
    5. $this->storeCurrentUrl($request,$session);
    6. $this->addCookieToResponse($response,$session);
    1. if($this->manager->shouldBlock()||
    2. ($request->route()instanceofRoute&&$request->route()->locksFor())){
    3. return$this->handleRequestWhileBlocking($request,$session,$next);
    4. }
    5. return$this->handleStatefulRequest($request,$session,$next);
    6. }
    7. /**
    8. *Handlethegivenrequestwithinsessionstate.
    9. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. *@param\Closure$next
    2. *@returnmixed
    3. */
    4. publicfunctionhandle($request,Closure$next)
    5. {
    6. $response=$next($request);
    7. foreach($this->cookies->getQueuedCookies()as$cookie){
    8. $response->headers->setCookie($cookie);
    9. }
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. *@param\Closure$next
    2. *@return\Symfony\Component\HttpFoundation\Response
    3. */
    4. publicfunctionhandle($request,Closure$next)
    5. {
    6. return$this->encrypt($next($this->decrypt($request)));
    7. }
    8. /**
    9. *Decryptthecookiesontherequest.
    10. *
    1. *@param\Closure$next
    2. *@returnmixed
    3. */
    4. publicfunctionhandle($request,Closure$next)
    5. {
    6. $response=$next($request);
    7. foreach($this->cookies->getQueuedCookies()as$cookie){
    8. $response->headers->setCookie($cookie);
    9. }
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. *@param\Closure$next
    2. *@return\Symfony\Component\HttpFoundation\Response
    3. */
    4. publicfunctionhandle($request,Closure$next)
    5. {
    6. return$this->encrypt($next($this->decrypt($request)));
    7. }
    8. /**
    9. *Decryptthecookiesontherequest.
    10. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. {
    2. $pipeline=array_reduce(
    3. array_reverse($this->pipes()),$this->carry(),$this->prepareDestination($destination)
    4. );
    5. return$pipeline($this->passable);
    6. }
    7. /**
    8. *Runthepipelineandreturntheresult.
    9. *
    1. $middleware=$shouldSkipMiddleware?[]:$this->gatherRouteMiddleware($route);
    2. return(newPipeline($this->container))
    3. ->send($request)
    4. ->through($middleware)
    5. ->then(fn($request)=>$this->prepareResponse(
    6. $request,$route->run()
    7. ));
    8. }
    9. &nbsdle (line 180)
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. {
    2. $pipeline=array_reduce(
    3. array_reverse($this->pipes()),$this->carry(),$this->prepareDestination($destination)
    4. );
    5. return$pipeline($this->passable);
    6. }
    7. /**
    8. *Runthepipelineandreturntheresult.
    9. *
    1. $middleware=$shouldSkipMiddleware?[]:$this->gatherRouteMiddleware($route);
    2. return(newPipeline($this->container))
    3. ->send($request)
    4. ->through($middleware)
    5. ->then(fn($request)=>$this->prepareResponse(
    6. $request,$route->run()
    7. ));
    8. }
    9. /**
    1. $request->setRouteResolver(fn()=>$route);
    2. $this->events->dispatch(newRouteMatched($route,$request));
    3. return$this->prepareResponse($request,
    4. $this->runRouteWithinStack($route,$request)
    5. );
    6. }
    7. /**
    8. *RunthegivenroutewithinaStack"onion"instance.
    1. *@param\Illuminate\Http\Request$request
    2. *@return\Symfony\Component\HttpFoundation\Response
    3. */
    4. publicfunctiondispatchToRoute(Request$request)
    5. {
    6. return$this->runRoute($request,$this->findRoute($request));
    7. }
    8. /**
    9. *Findtheroutematchingagivenrequest.
    10. *
    1. */
    2. publicfunctiondispatch(Request$request)
    3. {
    4. $this->currentRequest=$request;
    5. return$this->dispatchToRoute($request);
    6. }
    7. /**
    8. *Dispatchtherequesttoarouteandreturntheresponse.
    9. *
    1. $request->setRouteResolver(fn()=>$route);
    2. $this->events->dispatch(newRouteMatched($route,$request));
    3. return$this->prepareResponse($request,
    4. $this->runRouteWithinStack($route,$request)
    5. );
    6. }
    7. /**
    8. *RunthegivenroutewithinaStack"onion"instance.
    1. *@param\Illuminate\Http\Request$request
    2. *@return\Symfony\Component\HttpFoundation\Response
    3. */
    4. publicfunctiondispatchToRoute(Request$request)
    5. {
    6. return$this->runRoute($request,$this->findRoute($request));
    7. }
    8. /**
    9. *Findtheroutematchingagivenrequest.
    10. *
    1. */
    2. publicfunctiondispatch(Request$request)
    3. {
    4. $this->currentRequest=$request;
    5. return$this->dispatchToRoute($request);
    6. }
    7. /**
    8. *Dispatchtherequesttoarouteandreturntheresponse.
    9. *
    1. protectedfunctiondispatchToRouter()
    2. {
    3. returnfunction($request){
    4. $this->app->instance('request',$request);
    5. return$this->router->dispatch($request);
    6. };
    7. }
    8. /**
    9. *Calltheterminatemethodonanyterminablemiddleware.
    1. */
    2. protectedfunctionprepareDestination(Closure$destination)
    3. {
    4. returnfunction($passable)use($destination){
    5. try{
    6. return$destination($passable);
    7. }catch(Throwable$e){
    8. return$this->handleException($passable,$e);
    9. }
    10. };
    11. }
    1. {
    2. $request::setTrustedProxies([],$this->getTrustedHeaderNames());
    3. $this->setTrustedProxyIpAddresses($request);
    4. return$next($request);
    5. }
    6. /**
    7. *Setsthetrustedproxiesontherequest.
    8. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);

    1. */
    2. protectedfunctionprepareDestination(Closure$destination)
    3. {
    4. returnfunction($passable)use($destination){
    5. try{
    6. return$destination($passable);
    7. }catch(Throwable$e){
    8. return$this->handleException($passable,$e);
    9. }
    10. };
    11. }
    1. {
    2. $request::setTrustedProxies([],$this->getTrustedHeaderNames());
    3. $this->setTrustedProxyIpAddresses($request);
    4. return$next($request);
    5. }
    6. /**
    7. *Setsthetrustedproxiesontherequest.
    8. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. */
    2. publicfunctionhandle($request,Closure$next)
    3. {
    4. $this->clean($request);
    5. return$next($request);
    6. }
    7. /**
    8. *Cleantherequest'sdata.
    9. *
    1. if($callback($request)){
    2. return$next($request);
    3. }
    4. }
    5. returnparent::handle($request,$next);
    6. }
    7. /**
    8. *Transformthegivenvalue.
    9. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. */
    2. publicfunctionhandle($request,Closure$next)
    3. {
    4. $this->clean($request);
    5. return$next($request);
    6. }
    7. /**
    8. *Cleantherequest'sdata.
    9. *
    1. */
    2. publicfunctionhandle($request,Closure$next)
    3. {
    4. $this->clean($request);
    5. return$next($request);
    6. }
    7. /**
    8. *Cleantherequest'sdata.
    9. *
    1. if($callback($request)){
    2. return$next($request);
    3. }
    4. }
    5. returnparent::handle($request,$next);
    6. }
    7. /**
    8. *Transformthegivenvalue.
    9. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. */
    2. publicfunctionhandle($request,Closure$next)
    3. {
    4. $this->clean($request);
    5. return$next($request);
    6. }
    7. /**
    8. *Cleantherequest'sdata.
    9. *
    1. if($callback($request)){
    2. return$next($request);
    3. }
    4. }
    5. returnparent::handle($request,$next);
    6. }
    7. /**
    8. *Transformthegivenvalue.
    9. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. if($max>0&&$request->server('CONTENT_LENGTH')>$max){
    2. thrownewPostTooLargeException;
    3. }
    4. return$next($request);
    5. }
    6. /**
    7. *Determinetheserver'post_max_size'asbytes.
    8. *

    rk/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php -> Illuminate\Pipeline\{closure} (line 21)

    1. */
    2. publicfunctionhandle($request,Closure$next)
    3. {
    4. $this->clean($request);
    5. return$next($request);
    6. }
    7. /**
    8. *Cleantherequest'sdata.
    9. *
    1. if($callback($request)){
    2. return$next($request);
    3. }
    4. }
    5. returnparent::handle($request,$next);
    6. }
    7. /**
    8. *Transformthegivenvalue.
    9. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. if($max>0&&$request->server('CONTENT_LENGTH')>$max){
    2. thrownewPostTooLargeException;
    3. }
    4. return$next($request);
    5. }
    6. /**
    7. *Determinetheserver'post_max_size'asbytes.
    8. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. null,
    2. $this->getHeaders($data)
    3. );
    4. }
    5. return$next($request);
    6. }
    7. /**
    8. *Determineiftheincomingrequesthasamaintenancemodebypasscookie.
    9. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. &n in /www/www.latestly.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> handle (line 180)
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. null,
    2. $this->getHeaders($data)
    3. );
    4. }
    5. return$next($request);
    6. }
    7. /**
    8. *Determineiftheincomingrequesthasamaintenancemodebypasscookie.
    9. *
    1. //sincetheobjectwe'regivenwasalreadyafullyinstantiatedobject.
    2. $parameters=[$passable,$stack];
    3. }
    4. $carry=method_exists($pipe,$this->method)
    5. ?$pipe->{$this->method}(...$parameters)
    6. :$pipe(...$parameters);
    7. return$this->handleCarry($carry);
    8. }catch(Throwable$e){
    9. return$this->handleException($passable,$e);
    1. {
    2. $pipeline=array_reduce(
    3. array_reverse($this->pipes()),$this->carry(),$this->prepareDestination($destination)
    4. );
    5. return$pipeline($this->passable);
    6. }
    7. /**
    8. *Runthepipelineandreturntheresult.
    9. *
    1. $this->bootstrap();
    2. return(newPipeline($this->app))
    3. ->send($request)
    4. ->through($this->app->shouldSkipMiddleware()?[]:$this->middleware)
    5. ->then($this->dispatchToRouter());
    6. }
    7. /**
    8. *BootstraptheapplicationforHTTPrequests.
    9. *
    1. $this->requestStartedAt=Carbon::now();
    2. try{
    3. $request->enableHttpMethodParameterOverride();
    4. $response=$this->sendRequestThroughRouter($request);
    5. }catch(Throwable$e){
    6. $this->reportException($e);
    7. $response=$this->renderException($request,$e);
    8. }

    Kernel->handle() in /www/www.latestly.com/public/index.php (line 54)

    1. |
    2. */
    3. $kernel=$app->make(Illuminate\Contracts\Http\Kernel::class);
    4. $response=Throwable$e){
    5. return$this->handleException($passable,$e);
    1. {
    2. $pipeline=array_reduce(
    3. array_reverse($this->pipes()),$this->carry(),$this->prepareDestination($destination)
    4. );
    5. return$pipeline($this->passable);
    6. }
    7. /**
    8. *Runthepipelineandreturntheresult.
    9. *
    1. $this->bootstrap();
    2. return(newPipeline($this->app))
    3. ->send($request)
    4. ->through($this->app->shouldSkipMiddleware()?[]:$this->middleware)
    5. ->then($this->dispatchToRouter());
    6. }
    7. /**
    8. *BootstraptheapplicationforHTTPrequests.
    9. *
    1. $this->requestStartedAt=Carbon::now();
    2. try{
    3. $request->enableHttpMethodParameterOverride();
    4. $response=$this->sendRequestThroughRouter($request);
    5. }catch(Throwable$e){
    6. $this->reportException($e);
    7. $response=$this->renderException($request,$e);
    8. }

    Kernel->handle() in /www/www.latestly.com/public/index.php (line 54)

    1. |
    2. */
    3. $kernel=$app->make(Illuminate\Contracts\Http\Kernel::class);
    4. $response=$kernel->handle(
    5. $request=Illuminate\Http\Request::capture()
    6. );
    7. $response->send();
    /www/www.latestly.com/resources/views/template/includes/head.blade.php) (500 Internal Server Error) (2025)
    Top Articles
    Latest Posts
    Recommended Articles
    Article information

    Author: Rev. Porsche Oberbrunner

    Last Updated:

    Views: 5906

    Rating: 4.2 / 5 (73 voted)

    Reviews: 88% of readers found this page helpful

    Author information

    Name: Rev. Porsche Oberbrunner

    Birthday: 1994-06-25

    Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

    Phone: +128413562823324

    Job: IT Strategist

    Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

    Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.