Notice (8): Undefined variable: kills [APP/Controller/PlayerHitZonesController.php, line 35]Code Context $kills[] = $hitZone['PlayerHitZone']['kills'];
}
$totalKills = array_sum($kills);
$playerID = '5740'
$hitZones = array()
PlayerHitZonesController::view() - APP/Controller/PlayerHitZonesController.php, line 35
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 97
Warning (2): array_sum() expects parameter 1 to be array, null given [APP/Controller/PlayerHitZonesController.php, line 35]Code Context $kills[] = $hitZone['PlayerHitZone']['kills'];
}
$totalKills = array_sum($kills);
$playerID = '5740'
$hitZones = array()
array_sum - [internal], line ??
PlayerHitZonesController::view() - APP/Controller/PlayerHitZonesController.php, line 35
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 97