Notice (8): Undefined variable: kills [APP\Controller\PlayerHitZonesController.php, line 35]Code Context $kills[] = $hitZone['PlayerHitZone']['kills'];
}
$totalKills = array_sum($kills);
$playerID = '4950'
$hitZones = array()
PlayerHitZonesController::view() - APP\Controller\PlayerHitZonesController.php, line 35
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[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 = '4950'
$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 499
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
[main] - APP\webroot\index.php, line 97