/app/Controller/Component/XlrFunctionsComponent.php (line 233)
'CURLINFO_HTTP_CODE: 0'
Warning (2): Division by zero [APP/Controller/PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '674'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '8778',
'bodypart_id' => '10',
'player_id' => '674',
'kills' => '0',
'deaths' => '1',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_arm_upper',
'kills' => '103039',
'teamkills' => '4908',
'suicides' => '33'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '8779',
'bodypart_id' => '14',
'player_id' => '674',
'kills' => '0',
'deaths' => '1',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'left_arm_lower',
'kills' => '132582',
'teamkills' => '4772',
'suicides' => '17'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '8780',
'bodypart_id' => '15',
'player_id' => '674',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'neck',
'kills' => '97394',
'teamkills' => '3369',
'suicides' => '31'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8780',
'bodypart_id' => '15',
'player_id' => '674',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'neck',
'kills' => '97394',
'teamkills' => '3369',
'suicides' => '31'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0'
)
$totalKills = (int) 0
$n = (int) 3
$i = (int) 0
PlayerHitZonesController::view() - APP/Controller/PlayerHitZonesController.php, line 39
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): Division by zero [APP/Controller/PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '674'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '8778',
'bodypart_id' => '10',
'player_id' => '674',
'kills' => '0',
'deaths' => '1',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_arm_upper',
'kills' => '103039',
'teamkills' => '4908',
'suicides' => '33'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '8779',
'bodypart_id' => '14',
'player_id' => '674',
'kills' => '0',
'deaths' => '1',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '14',
'name' => 'left_arm_lower',
'kills' => '132582',
'teamkills' => '4772',
'suicides' => '17'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '8780',
'bodypart_id' => '15',
'player_id' => '674',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'neck',
'kills' => '97394',
'teamkills' => '3369',
'suicides' => '31'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8780',
'bodypart_id' => '15',
'player_id' => '674',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'neck',
'kills' => '97394',
'teamkills' => '3369',
'suicides' => '31'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0'
)
$totalKills = (int) 0
$n = (int) 3
$i = (int) 1
$percentage = false
PlayerHitZonesController::view() - APP/Controller/PlayerHitZonesController.php, line 39
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): Division by zero [APP/Controller/PlayerHitZonesController.php, line 39]Code Context $n = count($hitZones);
for ($i = 0; $i < $n; $i++) {
$percentage = $hitZones[$i]['PlayerHitZone']['kills'] / $totalKills;
$playerID = '674'
$hitZones = array(
(int) 0 => array(
'PlayerHitZone' => array(
'id' => '8778',
'bodypart_id' => '10',
'player_id' => '674',
'kills' => '0',
'deaths' => '1',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '10',
'name' => 'right_arm_upper',
'kills' => '103039',
'teamkills' => '4908',
'suicides' => '33'
)
),
(int) 1 => array(
'PlayerHitZone' => array(
'id' => '8779',
'bodypart_id' => '14',
'player_id' => '674',
'kills' => '0',
'deaths' => '1',
'teamkills' => '0',
'teamdeaths' => '0',
'suicides' => '0',
'percentage' => false
),
'BodyPart' => array(
'id' => '14',
'name' => 'left_arm_lower',
'kills' => '132582',
'teamkills' => '4772',
'suicides' => '17'
)
),
(int) 2 => array(
'PlayerHitZone' => array(
'id' => '8780',
'bodypart_id' => '15',
'player_id' => '674',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'neck',
'kills' => '97394',
'teamkills' => '3369',
'suicides' => '31'
)
)
)
$hitZone = array(
'PlayerHitZone' => array(
'id' => '8780',
'bodypart_id' => '15',
'player_id' => '674',
'kills' => '0',
'deaths' => '0',
'teamkills' => '1',
'teamdeaths' => '0',
'suicides' => '0'
),
'BodyPart' => array(
'id' => '15',
'name' => 'neck',
'kills' => '97394',
'teamkills' => '3369',
'suicides' => '31'
)
)
$kills = array(
(int) 0 => '0',
(int) 1 => '0',
(int) 2 => '0'
)
$totalKills = (int) 0
$n = (int) 3
$i = (int) 2
$percentage = false
PlayerHitZonesController::view() - APP/Controller/PlayerHitZonesController.php, line 39
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): Cannot modify header information - headers already sent by (output started at /home/unszsrv/domains/unsz.pl/public_html/xlrstats/lib/Cake/Utility/Debugger.php:802) [CORE/Cake/Network/CakeResponse.php, line 443]Code Context $name, $c['value'], $c['expire'], $c['path'],
$c['domain'], $c['secure'], $c['httpOnly']
);
$name = 'User[license_invalid]'
$c = array(
'name' => 'User[license_invalid]',
'value' => 'shown',
'expire' => '1737751369',
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false
)
setcookie - [internal], line ??
CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 443
CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 413
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 97
Body Part |
Kills |
Deaths |
Right Arm Upper |
0 |
1 |
Left Arm Lower |
0 |
1 |
Neck |
0 |
0 |