Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Trying to access array offset on value of type null

Exception

ErrorException

Show exception properties
ErrorException {#1717
  #severity: E_WARNING
}
  1. ?>
  2. <li>
  3.     <img src="<?php echo $_smarty_tpl->tpl_vars['config']->value->url;?>
  4. /img/character_avatar.id/thumb/<?php if ($_smarty_tpl->tpl_vars['value']->value->character__avatar) {
  5. echo $_smarty_tpl->tpl_vars['value']->value->character__avatar;
  6. } elseif (ctype_alpha($_smarty_tpl->tpl_vars['value']->value->name[0])) {?>i/<?php echo mb_strtolower((string) $_smarty_tpl->tpl_vars['value']->value->name[0], 'UTF-8');
  7. } else { ?>i/_<?php }?>.jpg" />
  8.     <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->url;?>
  9. /user/view/<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
  10. "><?php echo htmlentities(mb_convert_encoding((string)$_smarty_tpl->tpl_vars['value']->value->name'UTF-8''UTF-8'), ENT_QUOTES'UTF-8'true);?>
  11. </a> 
  1.      * @return callable
  2.      */
  3.     protected function forwardsTo($method)
  4.     {
  5.         return fn (...$arguments) => static::$app
  6.             $this->{$method}(...$arguments)
  7.             : false;
  8.     }
  9.     /**
  10.      * Determine if the error level is a deprecation.
  1. ?>
  2. <li>
  3.     <img src="<?php echo $_smarty_tpl->tpl_vars['config']->value->url;?>
  4. /img/character_avatar.id/thumb/<?php if ($_smarty_tpl->tpl_vars['value']->value->character__avatar) {
  5. echo $_smarty_tpl->tpl_vars['value']->value->character__avatar;
  6. } elseif (ctype_alpha($_smarty_tpl->tpl_vars['value']->value->name[0])) {?>i/<?php echo mb_strtolower((string) $_smarty_tpl->tpl_vars['value']->value->name[0], 'UTF-8');
  7. } else { ?>i/_<?php }?>.jpg" />
  8.     <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->url;?>
  9. /user/view/<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
  10. "><?php echo htmlentities(mb_convert_encoding((string)$_smarty_tpl->tpl_vars['value']->value->name'UTF-8''UTF-8'), ENT_QUOTES'UTF-8'true);?>
  11. </a> 
  1.                     $function $funcParam'call_name' ];
  2.                 }
  3.             }
  4.             if (function_exists($function)) {
  5.                 $this->saveTemplateVariables($tpl$name);
  6.                 $function($tpl$params);
  7.                 $this->restoreTemplateVariables($tpl$name);
  8.                 return;
  9.             }
  10.             // try to load template function dynamically
  11.             if ($this->addTplFuncToCache($tpl$name$function)) {
  1. if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
  2. $_smarty_tpl->tpl_vars['value']->do_else false;
  3. $_smarty_tpl->tpl_vars['value']->iteration++;
  4. $__foreach_value_0_saved $_smarty_tpl->tpl_vars['value'];
  5. if ($_smarty_tpl->tpl_vars['value']->iteration > (($_smarty_tpl->tpl_vars['page']->value-1)*$_smarty_tpl->tpl_vars['configuration']->value->getConfiguration($_smarty_tpl->tpl_vars['obj']->value,'pageentries')) && $_smarty_tpl->tpl_vars['value']->iteration <= (($_smarty_tpl->tpl_vars['page']->value)*$_smarty_tpl->tpl_vars['configuration']->value->getConfiguration($_smarty_tpl->tpl_vars['obj']->value,'pageentries'))) {
  6. $_smarty_tpl->smarty->ext->_tplFunction->callTemplateFunction($_smarty_tpl'bit_user', array('config'=>$_smarty_tpl->tpl_vars['config']->value,'value'=>$_smarty_tpl->tpl_vars['value']->value), false);?>
  7. <?php } elseif ($_smarty_tpl->tpl_vars['value']->iteration > (($_smarty_tpl->tpl_vars['page']->value)*$_smarty_tpl->tpl_vars['configuration']->value->getConfiguration($_smarty_tpl->tpl_vars['obj']->value,'pageentries'))) {
  8. break 1;
  9. }
  10. $_smarty_tpl->tpl_vars['value'] = $__foreach_value_0_saved;
  1.      */
  2.     public function callBlock(Smarty_Internal_Block $blockSmarty_Internal_Template $tpl)
  3.     {
  4.         $this->sourceStack[] = $tpl->source;
  5.         $tpl->source $this->sources$block->tplIndex ];
  6.         $block->callBlock($tpl);
  7.         $tpl->source array_pop($this->sourceStack);
  8.     }
  9. }
  1.         $block->parent $parent;
  2.         if ($block->append && !$block->prepend && isset($parent)) {
  3.             $this->callParent($tpl$block'\'{block append}\'');
  4.         }
  5.         if ($block->callsChild || !isset($block->child) || ($block->child->hide && !isset($block->child->child))) {
  6.             $this->callBlock($block$tpl);
  7.         } else {
  8.             $this->process($tpl$block->child$block);
  9.         }
  10.         if ($block->prepend && isset($parent)) {
  11.             $this->callParent($tpl$block'{block prepend}');
  1.             $this->callParent($tpl$block'\'{block append}\'');
  2.         }
  3.         if ($block->callsChild || !isset($block->child) || ($block->child->hide && !isset($block->child->child))) {
  4.             $this->callBlock($block$tpl);
  5.         } else {
  6.             $this->process($tpl$block->child$block);
  7.         }
  8.         if ($block->prepend && isset($parent)) {
  9.             $this->callParent($tpl$block'{block prepend}');
  10.             if ($block->append) {
  11.                 if ($block->callsChild || !isset($block->child)
  1.         }
  2.         // make sure we got child block of child template of current block
  3.         while ($block->child && $block->child->child && $block->tplIndex <= $block->child->tplIndex) {
  4.             $block->child $block->child->child;
  5.         }
  6.         $this->process($tpl$block);
  7.     }
  8.     /**
  9.      * Goto child block or render this
  10.      *
  1.     <x-slot:alttitle><?php 
  2. $_smarty_tpl->inheritance->instanceBlock($_smarty_tpl'Block_63644153265f4fd4bd0ddb9_95468106''alttitle');
  3. ?>
  4. </x-slot>
  5.     <?php 
  6. $_smarty_tpl->inheritance->instanceBlock($_smarty_tpl'Block_151575577765f4fd4bd0e993_56539865''content');
  7. ?>
  8. </x-main-layout><?php }
  9. /* {block 'title'} */
  10. class Block_30231710865f4fd4bd0a695_00712002 extends Smarty_Internal_Block
  1.             if ($_template->startRenderCallbacks) {
  2.                 foreach ($_template->startRenderCallbacks as $callback) {
  3.                     call_user_func($callback$_template);
  4.                 }
  5.             }
  6.             $unifunc($_template);
  7.             foreach ($_template->endRenderCallbacks as $callback) {
  8.                 call_user_func($callback$_template);
  9.             }
  10.             $_template->isRenderingCache false;
  11.         } catch (Exception $e) {
  1.                 array_merge($_template->cached->file_dependency$this->file_dependency);
  2.         }
  3.         if ($_template->source->handler->uncompiled) {
  4.             $_template->source->handler->renderUncompiled($_template->source$_template);
  5.         } else {
  6.             $this->getRenderedTemplateCode($_template);
  7.         }
  8.         if ($_template->caching && $this->has_nocache_code) {
  9.             $_template->cached->hashes$this->nocache_hash ] = true;
  10.         }
  11.         if ($_template->smarty->debugging) {
  1.                 $smarty->_debug->end_template($tpl);
  2.                 $smarty->_debug->end_render($tpl);
  3.             }
  4.         } else {
  5.             if (isset($tpl->compiled)) {
  6.                 $tpl->compiled->render($tpl);
  7.             } else {
  8.                 $tpl->render();
  9.             }
  10.         }
  11.     }
  1.         }
  2.         if (isset($template) && (($tpl->parent->_isTplObj() && $tpl->parent->source->type !== 'extends')
  3.                                  || $tpl->smarty->extends_recursion)
  4.         ) {
  5.             $tpl->_subTemplateRender(
  6.                 $template,
  7.                 $tpl->cache_id,
  8.                 $tpl->compile_id,
  9.                 $tpl->caching 9999 0,
  10.                 $tpl->cache_lifetime,
  11.                 array(),
  1. $_smarty_tpl->inheritance->instanceBlock($_smarty_tpl'Block_183812485765f5c464a64d57_27394693''path');
  2. ?>
  3. <?php 
  4. $_smarty_tpl->inheritance->instanceBlock($_smarty_tpl'Block_16057997165f5c464a66390_73402339''content');
  5. $_smarty_tpl->inheritance->endChild($_smarty_tpl'../legacy.htm');
  6. }
  7. /* {block 'title'} */
  8. class Block_160419232965f5c464a60778_48305365 extends Smarty_Internal_Block
  9. {
  10. public $subBlocks = array (
  1.             if ($_template->startRenderCallbacks) {
  2.                 foreach ($_template->startRenderCallbacks as $callback) {
  3.                     call_user_func($callback$_template);
  4.                 }
  5.             }
  6.             $unifunc($_template);
  7.             foreach ($_template->endRenderCallbacks as $callback) {
  8.                 call_user_func($callback$_template);
  9.             }
  10.             $_template->isRenderingCache false;
  11.         } catch (Exception $e) {
  1.                 array_merge($_template->cached->file_dependency$this->file_dependency);
  2.         }
  3.         if ($_template->source->handler->uncompiled) {
  4.             $_template->source->handler->renderUncompiled($_template->source$_template);
  5.         } else {
  6.             $this->getRenderedTemplateCode($_template);
  7.         }
  8.         if ($_template->caching && $this->has_nocache_code) {
  9.             $_template->cached->hashes$this->nocache_hash ] = true;
  10.         }
  11.         if ($_template->smarty->debugging) {
  1.     {
  2.         ob_start();
  3.         if (!isset($_template->compiled)) {
  4.             $_template->loadCompiled();
  5.         }
  6.         $_template->compiled->render($_template);
  7.         if ($_template->smarty->debugging) {
  8.             $_template->smarty->_debug->start_cache($_template);
  9.         }
  10.         $this->removeNoCacheHash($cached$_template$no_output_filter);
  11.         $compile_check = (int)$_template->compile_check;
  1.             if ($_template->smarty->debugging) {
  2.                 $_template->smarty->_debug->end_cache($_template);
  3.             }
  4.             return;
  5.         } else {
  6.             $_template->smarty->ext->_updateCache->updateCache($this$_template$no_output_filter);
  7.         }
  8.     }
  9.     /**
  10.      * Check if cache is valid, lock cache if required
  1.             if (!isset($this->cached) || $this->cached->cache_id !== $this->cache_id
  2.                 || $this->cached->compile_id !== $this->compile_id
  3.             ) {
  4.                 $this->loadCached(true);
  5.             }
  6.             $this->cached->render($this$no_output_filter);
  7.         } else {
  8.             if (!isset($this->compiled) || $this->compiled->compile_id !== $this->compile_id) {
  9.                 $this->loadCompiled(true);
  10.             }
  11.             $this->compiled->render($this);
  1.                 ob_start();
  2.                 $template->_mergeVars();
  3.                 if (!empty(Smarty::$global_tpl_vars)) {
  4.                     $template->tpl_vars array_merge(Smarty::$global_tpl_vars$template->tpl_vars);
  5.                 }
  6.                 $result $template->render(false$function);
  7.                 $template->_cleanUp();
  8.                 if ($saveVars) {
  9.                     $template->tpl_vars $savedTplVars;
  10.                     $template->config_vars $savedConfigVars;
  11.                 } else {
  1.      * @throws SmartyException
  2.      * @return string rendered template output
  3.      */
  4.     public function fetch($template null$cache_id null$compile_id null$parent null)
  5.     {
  6.         $result $this->_execute($template$cache_id$compile_id$parent0);
  7.         return $result === null ob_get_clean() : $result;
  8.     }
  9.     /**
  10.      * displays a Smarty template
Smarty_Internal_TemplateBase->fetch() in /var/www/l3s658/html/drakestrin/releases/41/legacy/Library/Class/View.php (line 45)
  1.         if ($cacheid) {
  2.             $this->setCaching(Smarty::CACHING_LIFETIME_SAVED);
  3.             $this->setCacheLifetime($cachetime);
  4.         }
  5.         // parent::display(createPath(array('App', 'View', 'standard', $this->_controller, $this->_action . '.htm')), $cacheid);
  6.         $smartyView parent::fetch(createPath(array('App''View''standard'$this->_controller$this->_action '.htm')), $cacheid);
  7.         echo Blade::render($smartyView);
  8.     }
  9.     function clear($action$cacheid NULL$controller NULL)
  10.     {
  1.     function __destruct()
  2.     {
  3.         if (!$this->move) {
  4.             $this->session->savecookie();
  5.             $this->_view->output($this->cacheid);
  6.         }
  7.     }
  8. }
  1.         exit;
  2.     }
  3. }
  4. unregisterGlobals();
  5. callHook($object$action$queryString);
require_once('/var/www/l3s658/html/drakestrin/releases/41/legacy/Library/bootstrap.php') in /var/www/l3s658/html/drakestrin/releases/41/legacy/public/index.php (line 5)
  1. <?php
  2. define('DS'DIRECTORY_SEPARATOR);
  3. define('ROOT'dirname(dirname(__FILE__)));
  4. require_once ROOT DS 'Library' DS 'bootstrap.php';
require('/var/www/l3s658/html/drakestrin/releases/41/legacy/public/index.php') in /var/www/l3s658/html/drakestrin/releases/41/app/Http/legacy.php (line 4)
  1. <?php
  2. // LEGACY: Entry point
  3. require __DIR__ '/../../legacy/public/index.php';
require('/var/www/l3s658/html/drakestrin/releases/41/app/Http/legacy.php') in /var/www/l3s658/html/drakestrin/releases/41/app/Http/Controllers/LegacyController.php (line 42)
  1.         }
  2.         View::share('online'Online::all());
  3.         ob_start();
  4.         require app_path('Http') . '/legacy.php';
  5.         $output ob_get_clean();
  6.         if (str_starts_with($output'##REDIRECT##')) {
  7.             return redirect(substr($output12));
  8.         }
  1.         array_shift($urlArray);
  2.         $action = (isset($urlArray[0]) && $urlArray[0] != '') ? $urlArray[0] : 'std';
  3.         array_shift($urlArray);
  4.         $queryString $urlArray;
  5.         return $this->render($object$action$queryString);
  6.     }
  7.     public function render($object$action$queryString = [])
  8.     {
  9.         if (Auth::check() && $this->setonline) {
  1.      * @param  array  $parameters
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function callAction($method$parameters)
  5.     {
  6.         return $this->{$method}(...array_values($parameters));
  7.     }
  8.     /**
  9.      * Handle calls to missing methods on the controller.
  10.      *
  1.     public function dispatch(Route $route$controller$method)
  2.     {
  3.         $parameters $this->resolveParameters($route$controller$method);
  4.         if (method_exists($controller'callAction')) {
  5.             return $controller->callAction($method$parameters);
  6.         }
  7.         return $controller->{$method}(...array_values($parameters));
  8.     }
  1.      * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
  2.      */
  3.     protected function runController()
  4.     {
  5.         return $this->controllerDispatcher()->dispatch(
  6.             $this$this->getController(), $this->getControllerMethod()
  7.         );
  8.     }
  9.     /**
  10.      * Get the controller instance for the route.
  1.     {
  2.         $this->container $this->container ?: new Container;
  3.         try {
  4.             if ($this->isControllerAction()) {
  5.                 return $this->runController();
  6.             }
  7.             return $this->runCallable();
  8.         } catch (HttpResponseException $e) {
  9.             return $e->getResponse();
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  1.      */
  2.     protected function prepareDestination(Closure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  1. class CheckNewMessage
  2. {
  3.     public function handle(Request $requestClosure $next)
  4.     {
  5.         if (!$request->user()) {
  6.             return $next($request);
  7.         }
  8.         $message Message::where('recipient_user_id'Auth::id())
  9.             ->where('view'0)
  10.             ->exists();
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.             return $this->permits;
  2.         });
  3.         $request->attributes->set('userPermits'$permits);
  4.         return $next($request);
  5.     }
  6.     protected function calculateUserPermissions($userId)
  7.     {
  8.         $permits Permit::all();
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
Pipeline->Illuminate\Pipeline\{closure}() in /var/www/l3s658/html/drakestrin/releases/41/app/Http/Middleware/TrackOnline.php (line 17)
  1. class TrackOnline
  2. {
  3.     public function handle(Request $requestClosure $next)
  4.     {
  5.         if (!$request->user()) {
  6.             return $next($request);
  7.         }
  8.         $currentRoute Route::current();
  9.         $controllerAction explode('@'$currentRoute->getActionName());
  10.         $controller Str::replaceLast('Controller'''class_basename($controllerAction[0]));
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.             }
  2.             throw $exception;
  3.         }
  4.         return $next($request);
  5.     }
  6. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.             $this->isReading($request) ||
  2.             $this->runningUnitTests() ||
  3.             $this->inExceptArray($request) ||
  4.             $this->tokensMatch($request)
  5.         ) {
  6.             return tap($next($request), function ($response) use ($request) {
  7.                 if ($this->shouldAddXsrfTokenCookie()) {
  8.                     $this->addCookieToResponse($request$response);
  9.                 }
  10.             });
  11.         }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         // Putting the errors in the view for every view allows the developer to just
  2.         // assume that some errors are always available, which is convenient since
  3.         // they don't have to continually run checks for the presence of errors.
  4.         return $next($request);
  5.     }
  6. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.             $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() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($cookie);
  9.         }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  10.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  10.      *
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  1.      */
  2.     protected function prepareDestination(Closure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         if ($max && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  3.         }
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Determine the server 'post_max_size' as bytes.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (! $this->hasMatchingPath($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->cors->setOptions($this->container['config']->get('cors', []));
  9.         if ($this->cors->isPreflightRequest($request)) {
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
  1. $app = require_once __DIR__ '/../bootstrap/app.php';
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Stack Trace

ErrorException
ErrorException:
Trying to access array offset on value of type null

  at /var/www/l3s658/html/drakestrin/releases/41/legacy/public/templates_c/edf87ace5a43989aeacfed8764ef76d6c824c886_0.file.bit_user.htm.cache.php:49
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/legacy/public/templates_c/edf87ace5a43989aeacfed8764ef76d6c824c886_0.file.bit_user.htm.cache.php:49)
  at smarty_template_function_bit_user_138171828865f5c464a8dee5_31859199()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_tplfunction.php:38)
  at Smarty_Internal_Runtime_TplFunction->callTemplateFunction()
     (/var/www/l3s658/html/drakestrin/releases/41/legacy/public/templates_c/c87bf6fcc323a0a582c219666f62064a15bb82a4_0.file.view.htm.cache.php:125)
  at Block_16057997165f5c464a66390_73402339->callBlock()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:248)
  at Smarty_Internal_Runtime_Inheritance->callBlock()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:184)
  at Smarty_Internal_Runtime_Inheritance->process()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:186)
  at Smarty_Internal_Runtime_Inheritance->process()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:156)
  at Smarty_Internal_Runtime_Inheritance->instanceBlock()
     (/var/www/l3s658/html/drakestrin/releases/41/legacy/public/templates_c/5ab1f41c210571a508329476bdd750ef32c11281_0.file.legacy.htm.cache.php:49)
  at content_65f4fd4bd0f1d5_56467574()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123)
  at Smarty_Template_Resource_Base->getRenderedTemplateCode()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114)
  at Smarty_Template_Compiled->render()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:384)
  at Smarty_Internal_Template->_subTemplateRender()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php:116)
  at Smarty_Internal_Runtime_Inheritance->endChild()
     (/var/www/l3s658/html/drakestrin/releases/41/legacy/public/templates_c/c87bf6fcc323a0a582c219666f62064a15bb82a4_0.file.view.htm.cache.php:46)
  at content_65f5c464a82361_65911172()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123)
  at Smarty_Template_Resource_Base->getRenderedTemplateCode()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114)
  at Smarty_Template_Compiled->render()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php:38)
  at Smarty_Internal_Runtime_UpdateCache->updateCache()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_template_cached.php:143)
  at Smarty_Template_Cached->render()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:212)
  at Smarty_Internal_Template->render()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238)
  at Smarty_Internal_TemplateBase->_execute()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116)
  at Smarty_Internal_TemplateBase->fetch()
     (/var/www/l3s658/html/drakestrin/releases/41/legacy/Library/Class/View.php:45)
  at Legacy\Library\Class\View->output()
     (/var/www/l3s658/html/drakestrin/releases/41/legacy/Library/Class/Controller.php:101)
  at Legacy\Library\Class\Controller->__destruct()
     (/var/www/l3s658/html/drakestrin/releases/41/legacy/Library/bootstrap.php:101)
  at require_once('/var/www/l3s658/html/drakestrin/releases/41/legacy/Library/bootstrap.php')
     (/var/www/l3s658/html/drakestrin/releases/41/legacy/public/index.php:5)
  at require('/var/www/l3s658/html/drakestrin/releases/41/legacy/public/index.php')
     (/var/www/l3s658/html/drakestrin/releases/41/app/Http/legacy.php:4)
  at require('/var/www/l3s658/html/drakestrin/releases/41/app/Http/legacy.php')
     (/var/www/l3s658/html/drakestrin/releases/41/app/Http/Controllers/LegacyController.php:42)
  at App\Http\Controllers\LegacyController->render()
     (/var/www/l3s658/html/drakestrin/releases/41/app/Http/Controllers/LegacyController.php:26)
  at App\Http\Controllers\LegacyController->__invoke()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54)
  at Illuminate\Routing\Controller->callAction()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43)
  at Illuminate\Routing\ControllerDispatcher->dispatch()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Route.php:260)
  at Illuminate\Routing\Route->runController()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205)
  at Illuminate\Routing\Route->run()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Router.php:806)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/app/Http/Middleware/CheckNewMessage.php:16)
  at App\Http\Middleware\CheckNewMessage->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/app/Http/Middleware/FetchPermissions.php:42)
  at App\Http\Middleware\FetchPermissions->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/app/Http/Middleware/TrackOnline.php:17)
  at App\Http\Middleware\TrackOnline->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Router.php:807)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Router.php:784)
  at Illuminate\Routing\Router->runRoute()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Router.php:748)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Routing/Router.php:737)
  at Illuminate\Routing\Router->dispatch()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:99)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/var/www/l3s658/html/drakestrin/releases/41/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/var/www/l3s658/html/drakestrin/releases/41/public/index.php:52)