Warning (2): Division by zero [APP/View/Squadrons/view.ctp, line 39]Code Context$i = 0;
foreach ($cats as $cat => $score){
$size = round($score / $squadron['Squadron']['score_cache'] * 100, 4);
$viewFile = '/var/www/rtf18/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '7', 'name' => 'Alpha', 'ship_id' => '22', 'score_cache' => '0' ), 'Ship' => array( 'id' => '22', 'name' => 'ISDII Hammer', 'com_id' => '12464', 'score_cache' => '2151' ), 'Pilot' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '7', 'name' => 'Alpha', 'ship_id' => '22', 'score_cache' => '0' ), 'Ship' => array( 'id' => '22', 'name' => 'ISDII Hammer', 'com_id' => '12464', 'score_cache' => '2151' ), 'Pilot' => array( (int) 0 => array( 'id' => '11691', 'name' => 'Horus Blackheart', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '1', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 1 => array( 'id' => '55676', 'name' => 'Dilandau', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '2', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 2 => array( 'id' => '55561', 'name' => 'Syntroth', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '3', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 3 => array( 'id' => '599', 'name' => 'Jedgar', 'rank_id' => '6', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '5', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 4 => array( 'id' => '13077', 'name' => 'Milo Antu', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '6', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 5 => array( 'id' => '12494', 'name' => 'Sergeyli', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '7', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 6 => array( 'id' => '13014', 'name' => 'Drake Thoros', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '10', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 7 => array( 'id' => '8954', 'name' => 'Ibram Gaunt', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '11', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 8 => array( 'id' => '1818', 'name' => 'Talons Pryde', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '12', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ) ) ) $admin = null $cats = array( 'SP' => (int) 0, 'MP' => (float) 0, 'Art' => (int) 0, 'bonus' => (int) 0 ) $colours = array( (int) 0 => 'danger', (int) 1 => 'info', (int) 2 => 'success', (int) 3 => 'muted' ) $bonus = (int) 0 $pilot = array( 'id' => '1818', 'name' => 'Talons Pryde', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '12', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ) $link = '<a href="/rtf18/pilots/view/1818">Talons Pryde</a>' $score = (int) 0 $points = (int) 0 $cat = 'SP' $i = (int) 0 $colour = 'muted'include - APP/View/Squadrons/view.ctp, line 39 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::render() - CORE/Cake/View/View.php, line 466 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 108
Warning (2): Division by zero [APP/View/Squadrons/view.ctp, line 39]Code Context$i = 0;
foreach ($cats as $cat => $score){
$size = round($score / $squadron['Squadron']['score_cache'] * 100, 4);
$viewFile = '/var/www/rtf18/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '7', 'name' => 'Alpha', 'ship_id' => '22', 'score_cache' => '0' ), 'Ship' => array( 'id' => '22', 'name' => 'ISDII Hammer', 'com_id' => '12464', 'score_cache' => '2151' ), 'Pilot' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '7', 'name' => 'Alpha', 'ship_id' => '22', 'score_cache' => '0' ), 'Ship' => array( 'id' => '22', 'name' => 'ISDII Hammer', 'com_id' => '12464', 'score_cache' => '2151' ), 'Pilot' => array( (int) 0 => array( 'id' => '11691', 'name' => 'Horus Blackheart', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '1', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 1 => array( 'id' => '55676', 'name' => 'Dilandau', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '2', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 2 => array( 'id' => '55561', 'name' => 'Syntroth', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '3', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 3 => array( 'id' => '599', 'name' => 'Jedgar', 'rank_id' => '6', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '5', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 4 => array( 'id' => '13077', 'name' => 'Milo Antu', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '6', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 5 => array( 'id' => '12494', 'name' => 'Sergeyli', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '7', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 6 => array( 'id' => '13014', 'name' => 'Drake Thoros', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '10', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 7 => array( 'id' => '8954', 'name' => 'Ibram Gaunt', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '11', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 8 => array( 'id' => '1818', 'name' => 'Talons Pryde', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '12', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ) ) ) $admin = null $cats = array( 'SP' => (int) 0, 'MP' => (float) 0, 'Art' => (int) 0, 'bonus' => (int) 0 ) $colours = array( (int) 0 => 'danger', (int) 1 => 'info', (int) 2 => 'success', (int) 3 => 'muted' ) $bonus = (int) 0 $pilot = array( 'id' => '1818', 'name' => 'Talons Pryde', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '12', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ) $link = '<a href="/rtf18/pilots/view/1818">Talons Pryde</a>' $score = (float) 0 $points = (int) 0 $cat = 'MP' $i = (int) 1 $colour = 'danger' $size = (float) 0include - APP/View/Squadrons/view.ctp, line 39 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::render() - CORE/Cake/View/View.php, line 466 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 108
Warning (2): Division by zero [APP/View/Squadrons/view.ctp, line 39]Code Context$i = 0;
foreach ($cats as $cat => $score){
$size = round($score / $squadron['Squadron']['score_cache'] * 100, 4);
$viewFile = '/var/www/rtf18/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '7', 'name' => 'Alpha', 'ship_id' => '22', 'score_cache' => '0' ), 'Ship' => array( 'id' => '22', 'name' => 'ISDII Hammer', 'com_id' => '12464', 'score_cache' => '2151' ), 'Pilot' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '7', 'name' => 'Alpha', 'ship_id' => '22', 'score_cache' => '0' ), 'Ship' => array( 'id' => '22', 'name' => 'ISDII Hammer', 'com_id' => '12464', 'score_cache' => '2151' ), 'Pilot' => array( (int) 0 => array( 'id' => '11691', 'name' => 'Horus Blackheart', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '1', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 1 => array( 'id' => '55676', 'name' => 'Dilandau', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '2', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 2 => array( 'id' => '55561', 'name' => 'Syntroth', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '3', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 3 => array( 'id' => '599', 'name' => 'Jedgar', 'rank_id' => '6', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '5', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 4 => array( 'id' => '13077', 'name' => 'Milo Antu', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '6', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 5 => array( 'id' => '12494', 'name' => 'Sergeyli', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '7', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 6 => array( 'id' => '13014', 'name' => 'Drake Thoros', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '10', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 7 => array( 'id' => '8954', 'name' => 'Ibram Gaunt', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '11', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 8 => array( 'id' => '1818', 'name' => 'Talons Pryde', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '12', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ) ) ) $admin = null $cats = array( 'SP' => (int) 0, 'MP' => (float) 0, 'Art' => (int) 0, 'bonus' => (int) 0 ) $colours = array( (int) 0 => 'danger', (int) 1 => 'info', (int) 2 => 'success', (int) 3 => 'muted' ) $bonus = (int) 0 $pilot = array( 'id' => '1818', 'name' => 'Talons Pryde', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '12', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ) $link = '<a href="/rtf18/pilots/view/1818">Talons Pryde</a>' $score = (int) 0 $points = (int) 0 $cat = 'Art' $i = (int) 2 $colour = 'info' $size = (float) 0include - APP/View/Squadrons/view.ctp, line 39 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::render() - CORE/Cake/View/View.php, line 466 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 108
Warning (2): Division by zero [APP/View/Squadrons/view.ctp, line 39]Code Context$i = 0;
foreach ($cats as $cat => $score){
$size = round($score / $squadron['Squadron']['score_cache'] * 100, 4);
$viewFile = '/var/www/rtf18/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '7', 'name' => 'Alpha', 'ship_id' => '22', 'score_cache' => '0' ), 'Ship' => array( 'id' => '22', 'name' => 'ISDII Hammer', 'com_id' => '12464', 'score_cache' => '2151' ), 'Pilot' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '7', 'name' => 'Alpha', 'ship_id' => '22', 'score_cache' => '0' ), 'Ship' => array( 'id' => '22', 'name' => 'ISDII Hammer', 'com_id' => '12464', 'score_cache' => '2151' ), 'Pilot' => array( (int) 0 => array( 'id' => '11691', 'name' => 'Horus Blackheart', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '1', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 1 => array( 'id' => '55676', 'name' => 'Dilandau', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '2', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 2 => array( 'id' => '55561', 'name' => 'Syntroth', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '3', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 3 => array( 'id' => '599', 'name' => 'Jedgar', 'rank_id' => '6', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '5', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 4 => array( 'id' => '13077', 'name' => 'Milo Antu', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '6', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 5 => array( 'id' => '12494', 'name' => 'Sergeyli', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '7', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 6 => array( 'id' => '13014', 'name' => 'Drake Thoros', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '10', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 7 => array( 'id' => '8954', 'name' => 'Ibram Gaunt', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '11', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ), (int) 8 => array( 'id' => '1818', 'name' => 'Talons Pryde', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '12', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ) ) ) $admin = null $cats = array( 'SP' => (int) 0, 'MP' => (float) 0, 'Art' => (int) 0, 'bonus' => (int) 0 ) $colours = array( (int) 0 => 'danger', (int) 1 => 'info', (int) 2 => 'success', (int) 3 => 'muted' ) $bonus = (int) 0 $pilot = array( 'id' => '1818', 'name' => 'Talons Pryde', 'rank_id' => '8', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0', 'los' => '0', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '7', 'position' => '12', 'SP' => '0', 'MP' => '0.0', 'Art' => '0', 'score' => '0.0' ) $link = '<a href="/rtf18/pilots/view/1818">Talons Pryde</a>' $score = (int) 0 $points = (int) 0 $cat = 'bonus' $i = (int) 3 $colour = 'success' $size = (float) 0include - APP/View/Squadrons/view.ctp, line 39 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::render() - CORE/Cake/View/View.php, line 466 Controller::render() - CORE/Cake/Controller/Controller.php, line 954 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 192 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 108
No recent activity
Built with CakePHP and Bootstrap by GN Pickled Yoda.