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/rtf22/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '42', 'name' => 'Inferno Squadron', 'ship_id' => '189', 'score_cache' => '0' ), 'Ship' => array( 'id' => '189', 'name' => 'ISDII Challenge', 'com_id' => '12630', 'score_cache' => '27268' ), '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] ), (int) 9 => array( [maximum depth reached] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '42', 'name' => 'Inferno Squadron', 'ship_id' => '189', 'score_cache' => '0' ), 'Ship' => array( 'id' => '189', 'name' => 'ISDII Challenge', 'com_id' => '12630', 'score_cache' => '27268' ), 'Pilot' => array( (int) 0 => array( 'id' => '56182', 'name' => 'LQC-75-3', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '1', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 1 => array( 'id' => '55823', 'name' => 'WoofWolffe', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '2', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 2 => array( 'id' => '55998', 'name' => 'Shiro Kusanagi', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '3', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 3 => array( 'id' => '56333', 'name' => 'Jason Inquisio', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '4', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 4 => array( 'id' => '56001', 'name' => 'Cody Lance', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '5', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 5 => array( 'id' => '56304', 'name' => 'Tond Vax', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '6', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 6 => array( 'id' => '56203', 'name' => 'Saeko Shan', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '7', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 7 => array( 'id' => '56292', 'name' => 'Eliah Syhon', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '10', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 8 => array( 'id' => '55801', 'name' => 'Dougal Ceallaigh', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '11', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 9 => array( 'id' => '56318', 'name' => 'Azrael Kane', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '12', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ) ) ) $admin = null $cats = array( 'SP' => (int) 0, 'MP' => (int) 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' => '56318', 'name' => 'Azrael Kane', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '12', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ) $link = '<a href="/rtf22/pilots/view/56318">Azrael Kane</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/rtf22/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '42', 'name' => 'Inferno Squadron', 'ship_id' => '189', 'score_cache' => '0' ), 'Ship' => array( 'id' => '189', 'name' => 'ISDII Challenge', 'com_id' => '12630', 'score_cache' => '27268' ), '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] ), (int) 9 => array( [maximum depth reached] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '42', 'name' => 'Inferno Squadron', 'ship_id' => '189', 'score_cache' => '0' ), 'Ship' => array( 'id' => '189', 'name' => 'ISDII Challenge', 'com_id' => '12630', 'score_cache' => '27268' ), 'Pilot' => array( (int) 0 => array( 'id' => '56182', 'name' => 'LQC-75-3', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '1', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 1 => array( 'id' => '55823', 'name' => 'WoofWolffe', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '2', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 2 => array( 'id' => '55998', 'name' => 'Shiro Kusanagi', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '3', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 3 => array( 'id' => '56333', 'name' => 'Jason Inquisio', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '4', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 4 => array( 'id' => '56001', 'name' => 'Cody Lance', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '5', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 5 => array( 'id' => '56304', 'name' => 'Tond Vax', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '6', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 6 => array( 'id' => '56203', 'name' => 'Saeko Shan', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '7', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 7 => array( 'id' => '56292', 'name' => 'Eliah Syhon', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '10', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 8 => array( 'id' => '55801', 'name' => 'Dougal Ceallaigh', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '11', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 9 => array( 'id' => '56318', 'name' => 'Azrael Kane', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '12', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ) ) ) $admin = null $cats = array( 'SP' => (int) 0, 'MP' => (int) 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' => '56318', 'name' => 'Azrael Kane', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '12', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ) $link = '<a href="/rtf22/pilots/view/56318">Azrael Kane</a>' $score = (int) 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/rtf22/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '42', 'name' => 'Inferno Squadron', 'ship_id' => '189', 'score_cache' => '0' ), 'Ship' => array( 'id' => '189', 'name' => 'ISDII Challenge', 'com_id' => '12630', 'score_cache' => '27268' ), '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] ), (int) 9 => array( [maximum depth reached] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '42', 'name' => 'Inferno Squadron', 'ship_id' => '189', 'score_cache' => '0' ), 'Ship' => array( 'id' => '189', 'name' => 'ISDII Challenge', 'com_id' => '12630', 'score_cache' => '27268' ), 'Pilot' => array( (int) 0 => array( 'id' => '56182', 'name' => 'LQC-75-3', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '1', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 1 => array( 'id' => '55823', 'name' => 'WoofWolffe', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '2', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 2 => array( 'id' => '55998', 'name' => 'Shiro Kusanagi', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '3', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 3 => array( 'id' => '56333', 'name' => 'Jason Inquisio', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '4', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 4 => array( 'id' => '56001', 'name' => 'Cody Lance', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '5', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 5 => array( 'id' => '56304', 'name' => 'Tond Vax', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '6', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 6 => array( 'id' => '56203', 'name' => 'Saeko Shan', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '7', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 7 => array( 'id' => '56292', 'name' => 'Eliah Syhon', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '10', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 8 => array( 'id' => '55801', 'name' => 'Dougal Ceallaigh', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '11', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 9 => array( 'id' => '56318', 'name' => 'Azrael Kane', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '12', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ) ) ) $admin = null $cats = array( 'SP' => (int) 0, 'MP' => (int) 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' => '56318', 'name' => 'Azrael Kane', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '12', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ) $link = '<a href="/rtf22/pilots/view/56318">Azrael Kane</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/rtf22/app/View/Squadrons/view.ctp' $dataForView = array( 'transactions' => array(), 'squadron' => array( 'Squadron' => array( 'id' => '42', 'name' => 'Inferno Squadron', 'ship_id' => '189', 'score_cache' => '0' ), 'Ship' => array( 'id' => '189', 'name' => 'ISDII Challenge', 'com_id' => '12630', 'score_cache' => '27268' ), '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] ), (int) 9 => array( [maximum depth reached] ) ) ), 'admin' => null ) $transactions = array() $squadron = array( 'Squadron' => array( 'id' => '42', 'name' => 'Inferno Squadron', 'ship_id' => '189', 'score_cache' => '0' ), 'Ship' => array( 'id' => '189', 'name' => 'ISDII Challenge', 'com_id' => '12630', 'score_cache' => '27268' ), 'Pilot' => array( (int) 0 => array( 'id' => '56182', 'name' => 'LQC-75-3', 'rank_id' => '4', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '1', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 1 => array( 'id' => '55823', 'name' => 'WoofWolffe', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '2', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 2 => array( 'id' => '55998', 'name' => 'Shiro Kusanagi', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '3', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 3 => array( 'id' => '56333', 'name' => 'Jason Inquisio', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '4', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 4 => array( 'id' => '56001', 'name' => 'Cody Lance', 'rank_id' => '5', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '5', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 5 => array( 'id' => '56304', 'name' => 'Tond Vax', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '6', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 6 => array( 'id' => '56203', 'name' => 'Saeko Shan', 'rank_id' => '2', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '7', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 7 => array( 'id' => '56292', 'name' => 'Eliah Syhon', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '10', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 8 => array( 'id' => '55801', 'name' => 'Dougal Ceallaigh', 'rank_id' => '3', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '11', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ), (int) 9 => array( 'id' => '56318', 'name' => 'Azrael Kane', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '12', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ) ) ) $admin = null $cats = array( 'SP' => (int) 0, 'MP' => (int) 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' => '56318', 'name' => 'Azrael Kane', 'rank_id' => '1', 'missions' => '0', 'missionhs' => '0', 'battlehs' => '0', 'reviews' => '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' => '42', 'position' => '12', 'tcdb' => '[]', 'SP' => '0', 'MP' => '0', 'Art' => '0', 'writing' => '0', 'score' => '0' ) $link = '<a href="/rtf22/pilots/view/56318">Azrael Kane</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.