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 = '/home/tsaunders/domains/rtf.tsaunders.net/public_html/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '10', 'name' => 'Delta', 'ship_id' => '208', 'score_cache' => '0.00' ), 'Ship' => array( 'id' => '208', 'name' => 'ISDII Hammer', 'com_id' => null, 'battlegroup_id' => '231', 'score_cache' => '5330.45' ), '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] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '10', 'name' => 'Delta', 'ship_id' => '208', 'score_cache' => '0.00' ), 'Ship' => array( 'id' => '208', 'name' => 'ISDII Hammer', 'com_id' => null, 'battlegroup_id' => '231', 'score_cache' => '5330.45' ), 'Pilot' => array( (int) 0 => array( 'id' => '56517', 'name' => 'Hera Storm', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '1', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 1 => array( 'id' => '55660', 'name' => 'Aval', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '2', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 2 => array( 'id' => '57066', 'name' => 'Cel Gaam', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '3', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 3 => array( 'id' => '13077', 'name' => 'Milo Antu', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '4', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 4 => array( 'id' => '55695', 'name' => 'James379', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '6', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 5 => array( 'id' => '55561', 'name' => 'Syntroth', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '7', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 6 => array( 'id' => '57077', 'name' => 'thatLukeKneller', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '10', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 7 => array( 'id' => '57078', 'name' => 'gotBurner', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '11', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ) ) ) $admin = null $cats = array( 'SP' => (float) 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' => '57078', 'name' => 'gotBurner', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '11', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ) $link = '<a href="/pilots/view/57078">gotBurner</a>' $score = (float) 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 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 107
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 = '/home/tsaunders/domains/rtf.tsaunders.net/public_html/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '10', 'name' => 'Delta', 'ship_id' => '208', 'score_cache' => '0.00' ), 'Ship' => array( 'id' => '208', 'name' => 'ISDII Hammer', 'com_id' => null, 'battlegroup_id' => '231', 'score_cache' => '5330.45' ), '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] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '10', 'name' => 'Delta', 'ship_id' => '208', 'score_cache' => '0.00' ), 'Ship' => array( 'id' => '208', 'name' => 'ISDII Hammer', 'com_id' => null, 'battlegroup_id' => '231', 'score_cache' => '5330.45' ), 'Pilot' => array( (int) 0 => array( 'id' => '56517', 'name' => 'Hera Storm', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '1', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 1 => array( 'id' => '55660', 'name' => 'Aval', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '2', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 2 => array( 'id' => '57066', 'name' => 'Cel Gaam', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '3', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 3 => array( 'id' => '13077', 'name' => 'Milo Antu', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '4', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 4 => array( 'id' => '55695', 'name' => 'James379', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '6', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 5 => array( 'id' => '55561', 'name' => 'Syntroth', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '7', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 6 => array( 'id' => '57077', 'name' => 'thatLukeKneller', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '10', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 7 => array( 'id' => '57078', 'name' => 'gotBurner', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '11', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ) ) ) $admin = null $cats = array( 'SP' => (float) 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' => '57078', 'name' => 'gotBurner', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '11', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ) $link = '<a href="/pilots/view/57078">gotBurner</a>' $score = (float) 0 $points = (int) 0 $cat = 'MP' $i = (int) 1 $colour = 'danger' $size = (float) NANinclude - APP/View/Squadrons/view.ctp, line 39 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 107
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 = '/home/tsaunders/domains/rtf.tsaunders.net/public_html/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '10', 'name' => 'Delta', 'ship_id' => '208', 'score_cache' => '0.00' ), 'Ship' => array( 'id' => '208', 'name' => 'ISDII Hammer', 'com_id' => null, 'battlegroup_id' => '231', 'score_cache' => '5330.45' ), '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] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '10', 'name' => 'Delta', 'ship_id' => '208', 'score_cache' => '0.00' ), 'Ship' => array( 'id' => '208', 'name' => 'ISDII Hammer', 'com_id' => null, 'battlegroup_id' => '231', 'score_cache' => '5330.45' ), 'Pilot' => array( (int) 0 => array( 'id' => '56517', 'name' => 'Hera Storm', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '1', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 1 => array( 'id' => '55660', 'name' => 'Aval', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '2', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 2 => array( 'id' => '57066', 'name' => 'Cel Gaam', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '3', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 3 => array( 'id' => '13077', 'name' => 'Milo Antu', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '4', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 4 => array( 'id' => '55695', 'name' => 'James379', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '6', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 5 => array( 'id' => '55561', 'name' => 'Syntroth', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '7', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 6 => array( 'id' => '57077', 'name' => 'thatLukeKneller', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '10', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 7 => array( 'id' => '57078', 'name' => 'gotBurner', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '11', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ) ) ) $admin = null $cats = array( 'SP' => (float) 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' => '57078', 'name' => 'gotBurner', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '11', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ) $link = '<a href="/pilots/view/57078">gotBurner</a>' $score = (int) 0 $points = (int) 0 $cat = 'Art' $i = (int) 2 $colour = 'info' $size = (float) NANinclude - APP/View/Squadrons/view.ctp, line 39 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 107
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 = '/home/tsaunders/domains/rtf.tsaunders.net/public_html/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '10', 'name' => 'Delta', 'ship_id' => '208', 'score_cache' => '0.00' ), 'Ship' => array( 'id' => '208', 'name' => 'ISDII Hammer', 'com_id' => null, 'battlegroup_id' => '231', 'score_cache' => '5330.45' ), '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] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '10', 'name' => 'Delta', 'ship_id' => '208', 'score_cache' => '0.00' ), 'Ship' => array( 'id' => '208', 'name' => 'ISDII Hammer', 'com_id' => null, 'battlegroup_id' => '231', 'score_cache' => '5330.45' ), 'Pilot' => array( (int) 0 => array( 'id' => '56517', 'name' => 'Hera Storm', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '1', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 1 => array( 'id' => '55660', 'name' => 'Aval', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '2', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 2 => array( 'id' => '57066', 'name' => 'Cel Gaam', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '3', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 3 => array( 'id' => '13077', 'name' => 'Milo Antu', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '4', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 4 => array( 'id' => '55695', 'name' => 'James379', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '6', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 5 => array( 'id' => '55561', 'name' => 'Syntroth', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '7', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 6 => array( 'id' => '57077', 'name' => 'thatLukeKneller', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '10', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ), (int) 7 => array( 'id' => '57078', 'name' => 'gotBurner', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '11', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ) ) ) $admin = null $cats = array( 'SP' => (float) 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' => '57078', 'name' => 'gotBurner', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0.00', 'battlehs' => '0', 'iu' => '0', 'fiction' => '0', 'gfx' => '0', 'loc' => '0.00', 'los' => '0.00', 'dfc' => '0', 'mp_bonus_win' => '0', 'mp_bonus_win2' => '0', 'mp_bonus_loss' => '0', 'bonus' => '0', 'squadron_id' => '10', 'position' => '11', 'tcdb' => '[]', 'SP' => '0.00', 'MP' => '0.00', 'Art' => '0', 'writing' => '0', 'score' => '0.00' ) $link = '<a href="/pilots/view/57078">gotBurner</a>' $score = (int) 0 $points = (int) 0 $cat = 'bonus' $i = (int) 3 $colour = 'success' $size = (float) NANinclude - APP/View/Squadrons/view.ctp, line 39 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 107
No recent activity
Built with CakePHP and Bootstrap by GN Pickled Yoda.