int(93) Ronald Acuña Jr. (12079497-e414-450a-8bf2-29f91de646bf)
Ozzie Albies (12079497-e414-450a-8bf2-29f91de646bf)
Nick Allen (12079497-e414-450a-8bf2-29f91de646bf)
Eddy Alvarez (12079497-e414-450a-8bf2-29f91de646bf)
Nacho Alvarez (12079497-e414-450a-8bf2-29f91de646bf)
Brian Anderson (12079497-e414-450a-8bf2-29f91de646bf)
Ian Anderson (12079497-e414-450a-8bf2-29f91de646bf)
Orlando Arcia (12079497-e414-450a-8bf2-29f91de646bf)
Ethan Bagwell (12079497-e414-450a-8bf2-29f91de646bf)
Drake Baldwin (12079497-e414-450a-8bf2-29f91de646bf)
Skye Bolt (12079497-e414-450a-8bf2-29f91de646bf)
Ben Bowden (12079497-e414-450a-8bf2-29f91de646bf)
Aaron Bummer (12079497-e414-450a-8bf2-29f91de646bf)
Hiram Burgos (12079497-e414-450a-8bf2-29f91de646bf)
Cam Caminiti (12079497-e414-450a-8bf2-29f91de646bf)
Conner Capel (12079497-e414-450a-8bf2-29f91de646bf)
Matt Carasiti (12079497-e414-450a-8bf2-29f91de646bf)
Curt Casali (12079497-e414-450a-8bf2-29f91de646bf)
Garrett Cooper (12079497-e414-450a-8bf2-29f91de646bf)
Dylan Covey (12079497-e414-450a-8bf2-29f91de646bf)
Charlie Culberson (12079497-e414-450a-8bf2-29f91de646bf)
Davis Daniel (12079497-e414-450a-8bf2-29f91de646bf)
Luis De Avila (12079497-e414-450a-8bf2-29f91de646bf)
Bryan De La Cruz (12079497-e414-450a-8bf2-29f91de646bf)
Enyel De Los Santos (12079497-e414-450a-8bf2-29f91de646bf)
Travis Demeritte (12079497-e414-450a-8bf2-29f91de646bf)
José Devers (12079497-e414-450a-8bf2-29f91de646bf)
Jake Diekman (12079497-e414-450a-8bf2-29f91de646bf)
Dylan Dodd (12079497-e414-450a-8bf2-29f91de646bf)
Parker Dunshee (12079497-e414-450a-8bf2-29f91de646bf)
Adam Duvall (12079497-e414-450a-8bf2-29f91de646bf)
Bryce Elder (12079497-e414-450a-8bf2-29f91de646bf)
Buck Farmer (12079497-e414-450a-8bf2-29f91de646bf)
David Fletcher (12079497-e414-450a-8bf2-29f91de646bf)
Balbino Fuenmayor (12079497-e414-450a-8bf2-29f91de646bf)
Leury García (12079497-e414-450a-8bf2-29f91de646bf)
Michael Harris II (12079497-e414-450a-8bf2-29f91de646bf)
Daysbel Hernández (12079497-e414-450a-8bf2-29f91de646bf)
Grant Holmes (12079497-e414-450a-8bf2-29f91de646bf)
Carter Holton (12079497-e414-450a-8bf2-29f91de646bf)
Raisel Iglesias (12079497-e414-450a-8bf2-29f91de646bf)
Kolton Ingram (12079497-e414-450a-8bf2-29f91de646bf)
Joe Jiménez (12079497-e414-450a-8bf2-29f91de646bf)
Dany Jiménez (12079497-e414-450a-8bf2-29f91de646bf)
Pierce Johnson (12079497-e414-450a-8bf2-29f91de646bf)
Jarred Kelenic (12079497-e414-450a-8bf2-29f91de646bf)
Ray Kerr (12079497-e414-450a-8bf2-29f91de646bf)
Chad Kuhl (12079497-e414-450a-8bf2-29f91de646bf)
Charles Leblanc (12079497-e414-450a-8bf2-29f91de646bf)
Dylan Lee (12079497-e414-450a-8bf2-29f91de646bf)
Sandy León (12079497-e414-450a-8bf2-29f91de646bf)
Luis Liberato (12079497-e414-450a-8bf2-29f91de646bf)
Zach Logue (12079497-e414-450a-8bf2-29f91de646bf)
Reynaldo López (12079497-e414-450a-8bf2-29f91de646bf)
Lucas Luetge (12079497-e414-450a-8bf2-29f91de646bf)
Kevin Maitan (12079497-e414-450a-8bf2-29f91de646bf)
Jake Marisnick (12079497-e414-450a-8bf2-29f91de646bf)
J.P. Martinez (12079497-e414-450a-8bf2-29f91de646bf)
Tyler Matzek (12079497-e414-450a-8bf2-29f91de646bf)
Collin McHugh (12079497-e414-450a-8bf2-29f91de646bf)
Whit Merrifield (12079497-e414-450a-8bf2-29f91de646bf)
Penn Murfee (12079497-e414-450a-8bf2-29f91de646bf)
Sean Murphy (12079497-e414-450a-8bf2-29f91de646bf)
Matt Olson (12079497-e414-450a-8bf2-29f91de646bf)
Marcell Ozuna (12079497-e414-450a-8bf2-29f91de646bf)
Enoli Paredes (12079497-e414-450a-8bf2-29f91de646bf)
Angel Perdomo (12079497-e414-450a-8bf2-29f91de646bf)
Jurickson Profar (12079497-e414-450a-8bf2-29f91de646bf)
Harold Ramírez (12079497-e414-450a-8bf2-29f91de646bf)
Austin Riley (12079497-e414-450a-8bf2-29f91de646bf)
Dereck Rodríguez (12079497-e414-450a-8bf2-29f91de646bf)
Chris Sale (12079497-e414-450a-8bf2-29f91de646bf)
Royber Salinas (12079497-e414-450a-8bf2-29f91de646bf)
Spencer Schwellenbach (12079497-e414-450a-8bf2-29f91de646bf)
Justus Sheffield (12079497-e414-450a-8bf2-29f91de646bf)
Zack Short (12079497-e414-450a-8bf2-29f91de646bf)
Chasen Shreve (12079497-e414-450a-8bf2-29f91de646bf)
AJ Smith-Shawver (12079497-e414-450a-8bf2-29f91de646bf)
Jackson Stephens (12079497-e414-450a-8bf2-29f91de646bf)
Spencer Strider (12079497-e414-450a-8bf2-29f91de646bf)
Ambioris Tavarez (12079497-e414-450a-8bf2-29f91de646bf)
Chadwick Tromp (12079497-e414-450a-8bf2-29f91de646bf)
Darius Vines (12079497-e414-450a-8bf2-29f91de646bf)
Hurston Waldrep (12079497-e414-450a-8bf2-29f91de646bf)
Jake Walsh (12079497-e414-450a-8bf2-29f91de646bf)
Jordan Weems (12079497-e414-450a-8bf2-29f91de646bf)
Joey Wendle (12079497-e414-450a-8bf2-29f91de646bf)
Eli White (12079497-e414-450a-8bf2-29f91de646bf)
Kodi Whitley (12079497-e414-450a-8bf2-29f91de646bf)
Taylor Widener (12079497-e414-450a-8bf2-29f91de646bf)
Luke Williams (12079497-e414-450a-8bf2-29f91de646bf)
Amos Willingham (12079497-e414-450a-8bf2-29f91de646bf)
Huascar Ynoa (12079497-e414-450a-8bf2-29f91de646bf)
Call to a member function get() on null (500 Internal Server Error)

Symfony Exception

Error

HTTP 500 Internal Server Error

Call to a member function get() on null

Exception

Error

  1.             $pos = ['c','1b','2b','ss','3b','of','dh','sp','rp','sv'];
  2. //            // Filter and sort players using cached playing time
  3.             $filteredSortedPlayers $players->filter(function ($player) use ($pos) {
  4.                 foreach ($pos as $position) {
  5.                     $time $player->playing_time_cache->get($position);
  6.                     if (isset($time) && $time->time 0) {
  7.                         return true;
  8.                     }
  9.                 }
  10.                 return false;
Teams->App\Http\Controllers\{closure}()
  1.      * @param  callable  $callback
  2.      * @return array
  3.      */
  4.     public static function where($array, callable $callback)
  5.     {
  6.         return array_filter($array$callbackARRAY_FILTER_USE_BOTH);
  7.     }
  8.     /**
  9.      * Filter items where the value is not null.
  10.      *
  1.      * @return static
  2.      */
  3.     public function filter(callable $callback null)
  4.     {
  5.         if ($callback) {
  6.             return new static(Arr::where($this->items$callback));
  7.         }
  8.         return new static(array_filter($this->items));
  9.     }
  1. //            }
  2.             $pos = ['c','1b','2b','ss','3b','of','dh','sp','rp','sv'];
  3. //            // Filter and sort players using cached playing time
  4.             $filteredSortedPlayers $players->filter(function ($player) use ($pos) {
  5.                 foreach ($pos as $position) {
  6.                     $time $player->playing_time_cache->get($position);
  7.                     if (isset($time) && $time->time 0) {
  8.                         return true;
  9.                     }
  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.      *
  2.      * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
  3.      */
  4.     protected function runController()
  5.     {
  6.         return $this->controllerDispatcher()->dispatch(
  7.             $this$this->getController(), $this->getControllerMethod()
  8.         );
  9.     }
  10.     /**
  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.     {
  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.         $middleware $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2.         return (new Pipeline($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(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.         $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.         if ($this->shouldSpecifyTrustedHosts()) {
  3.             Request::setTrustedHosts(array_filter($this->hosts()));
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the application should specify trusted hosts.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     public function handle($requestClosure $next)
  2.     {
  3.         $this->authenticate($request);
  4.         /** @var Response $response */
  5.         $response =  $next($request);
  6.         if($provider $this->auth->getAuthenticationProvider()){
  7.             foreach($provider->getCookies() as $cookie){
  8.                 $response->cookie($cookie);
  9.             }
  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.         $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.     {
  2.         $this->requestStartedAt Carbon::now();
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response $this->renderException($request$e);
  9.         }
  1. /** @var \Framework\Http\Kernel $kernel */
  2. $kernel $app->make(Kernel::class);
  3. /** @var \Framework\Http\Response $response */
  4. $response tap($kernel->handle(
  5.     $request \Framework\Http\Request::capture()
  6. ))->send();
  7. $kernel->terminate($request$response);

Stack Trace

Error
Error:
Call to a member function get() on null

  at /home/forge/bbhq.dev.fantasyalarm.com/classes/Http/Controllers/Teams.php:190
  at App\Http\Controllers\Teams->App\Http\Controllers\{closure}()
  at array_filter()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/collections/Arr.php:869)
  at Illuminate\Support\Arr::where()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/collections/Collection.php:387)
  at Illuminate\Support\Collection->filter()
     (/home/forge/bbhq.dev.fantasyalarm.com/classes/Http/Controllers/Teams.php:188)
  at App\Http\Controllers\Teams->nelsonPage()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/Controller.php:54)
  at Illuminate\Routing\Controller->callAction()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/ControllerDispatcher.php:43)
  at Illuminate\Routing\ControllerDispatcher->dispatch()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/Route.php:259)
  at Illuminate\Routing\Route->runController()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/Route.php:205)
  at Illuminate\Routing\Route->run()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/Router.php:806)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/Router.php:805)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/Router.php:784)
  at Illuminate\Routing\Router->runRoute()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/Router.php:748)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/routing/Router.php:737)
  at Illuminate\Routing\Router->dispatch()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/fantasyalarm/framework/src/Foundation/Http/Kernel.php:195)
  at Framework\Http\Kernel->Framework\Http\{closure}()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/http/Middleware/TrustHosts.php:48)
  at Illuminate\Http\Middleware\TrustHosts->handle()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/fantasyalarm/framework-authentication/src/Authentication/Middleware/Authenticate.php:41)
  at Framework\Authentication\Middleware\Authenticate->handle()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/illuminate/pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/fantasyalarm/framework/src/Foundation/Http/Kernel.php:170)
  at Framework\Http\Kernel->sendRequestThroughRouter()
     (/home/forge/bbhq.dev.fantasyalarm.com/vendor/fantasyalarm/framework/src/Foundation/Http/Kernel.php:139)
  at Framework\Http\Kernel->handle()
     (/home/forge/bbhq.dev.fantasyalarm.com/html/index.php:40)