Code Context
<?php if ( $player->guild->has_bot ) { ?>
<li class="tab col s3">
$viewFile = '/var/www/gohstats/src/Template/Element/Players/menu.ctp'
$dataForView = [
'Auth' => object(Cake\Controller\Component\AuthComponent) {
'components' => [
[maximum depth reached]
],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
},
'player' => object(Cake\ORM\Entity) {
'id' => (int) 740932,
'swgoh_id' => null,
'ea_id' => 'BZL75LC2TUCKu_NhgonSlw',
'ally_code' => '183264995',
'discord_id' => '',
'active' => (int) 1,
'is_bot' => (int) 0,
'guild_id' => null,
'name' => 'Bot Bantha',
'squad_arena' => (int) 4699,
'role' => (int) 3,
'po_squad_arena' => (int) 4597,
'fleet_arena' => null,
'po_fleet_arena' => null,
'alert_arena' => false,
'level' => (int) 57,
'zetas' => (int) 0,
'relics' => '{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0}',
'relic_score' => (int) 0,
'gp' => (int) 76384,
'gp_chars' => (int) 55767,
'gp_ships' => (int) 20617,
'gp_1d' => (int) 0,
'gp_chars_1d' => (int) 0,
'gp_ships_1d' => (int) 0,
'gp_7d' => (int) 0,
'gp_chars_7d' => (int) 0,
'gp_ships_7d' => (int) 0,
'gp_30d' => (int) 9464,
'gp_chars_30d' => (int) 6085,
'gp_ships_30d' => (int) 3379,
'gp_avg' => (int) 315,
'gp_chars_avg' => (int) 202,
'gp_ships_avg' => (int) 112,
'garena_division' => null,
'garena_league' => null,
'garena_score' => null,
'garena_rank' => null,
'total_tickets' => (int) 1200,
'current_tickets' => (int) 0,
'avg_tickets_7d' => (int) 134,
'avg_tickets_30d' => null,
'legendary' => (int) 0,
'raid_characters' => (int) 0,
'timezone' => (int) 120,
'guild_name' => '',
'tw_group' => null,
'tracking_in_progress' => (int) 0,
'swgoh_modified' => object(Cake\I18n\FrozenTime) {},
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'player_histories' => [
[maximum depth reached]
],
'guild' => null,
'squad_arena_last_rank' => null,
'fleet_arena_last_rank' => null,
'squad_arena_last' => (int) 4597,
'fleet_arena_last' => null,
'squad_arena_avg' => (float) 4867,
'fleet_arena_avg' => null,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Players'
},
'playerGears' => []
]
$bufferLevel = (int) 2
$Auth = object(Cake\Controller\Component\AuthComponent) {
'components' => [
(int) 0 => 'RequestHandler',
(int) 1 => 'Flash'
],
'implementedEvents' => [
'Controller.initialize' => 'authCheck',
'Controller.startup' => 'startup'
],
'_config' => [
'authenticate' => [
[maximum depth reached]
],
'authorize' => null,
'ajaxLogin' => null,
'flash' => [
[maximum depth reached]
],
'loginAction' => [
[maximum depth reached]
],
'loginRedirect' => null,
'logoutRedirect' => [
[maximum depth reached]
],
'authError' => 'You are not authorized to access that location.',
'unauthorizedRedirect' => true,
'storage' => 'Session',
'checkAuthIn' => 'Controller.startup'
]
}
$player = object(Cake\ORM\Entity) {
'id' => (int) 740932,
'swgoh_id' => null,
'ea_id' => 'BZL75LC2TUCKu_NhgonSlw',
'ally_code' => '183264995',
'discord_id' => '',
'active' => (int) 1,
'is_bot' => (int) 0,
'guild_id' => null,
'name' => 'Bot Bantha',
'squad_arena' => (int) 4699,
'role' => (int) 3,
'po_squad_arena' => (int) 4597,
'fleet_arena' => null,
'po_fleet_arena' => null,
'alert_arena' => false,
'level' => (int) 57,
'zetas' => (int) 0,
'relics' => '{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0}',
'relic_score' => (int) 0,
'gp' => (int) 76384,
'gp_chars' => (int) 55767,
'gp_ships' => (int) 20617,
'gp_1d' => (int) 0,
'gp_chars_1d' => (int) 0,
'gp_ships_1d' => (int) 0,
'gp_7d' => (int) 0,
'gp_chars_7d' => (int) 0,
'gp_ships_7d' => (int) 0,
'gp_30d' => (int) 9464,
'gp_chars_30d' => (int) 6085,
'gp_ships_30d' => (int) 3379,
'gp_avg' => (int) 315,
'gp_chars_avg' => (int) 202,
'gp_ships_avg' => (int) 112,
'garena_division' => null,
'garena_league' => null,
'garena_score' => null,
'garena_rank' => null,
'total_tickets' => (int) 1200,
'current_tickets' => (int) 0,
'avg_tickets_7d' => (int) 134,
'avg_tickets_30d' => null,
'legendary' => (int) 0,
'raid_characters' => (int) 0,
'timezone' => (int) 120,
'guild_name' => '',
'tw_group' => null,
'tracking_in_progress' => (int) 0,
'swgoh_modified' => object(Cake\I18n\FrozenTime) {},
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'player_histories' => [
(int) 0 => object(App\Model\Entity\PlayerHistory) {},
(int) 1 => object(App\Model\Entity\PlayerHistory) {},
(int) 2 => object(App\Model\Entity\PlayerHistory) {},
(int) 3 => object(App\Model\Entity\PlayerHistory) {},
(int) 4 => object(App\Model\Entity\PlayerHistory) {},
(int) 5 => object(App\Model\Entity\PlayerHistory) {},
(int) 6 => object(App\Model\Entity\PlayerHistory) {},
(int) 7 => object(App\Model\Entity\PlayerHistory) {},
(int) 8 => object(App\Model\Entity\PlayerHistory) {},
(int) 9 => object(App\Model\Entity\PlayerHistory) {},
(int) 10 => object(App\Model\Entity\PlayerHistory) {},
(int) 11 => object(App\Model\Entity\PlayerHistory) {},
(int) 12 => object(App\Model\Entity\PlayerHistory) {},
(int) 13 => object(App\Model\Entity\PlayerHistory) {},
(int) 14 => object(App\Model\Entity\PlayerHistory) {},
(int) 15 => object(App\Model\Entity\PlayerHistory) {},
(int) 16 => object(App\Model\Entity\PlayerHistory) {},
(int) 17 => object(App\Model\Entity\PlayerHistory) {},
(int) 18 => object(App\Model\Entity\PlayerHistory) {},
(int) 19 => object(App\Model\Entity\PlayerHistory) {},
(int) 20 => object(App\Model\Entity\PlayerHistory) {}
],
'guild' => null,
'squad_arena_last_rank' => null,
'fleet_arena_last_rank' => null,
'squad_arena_last' => (int) 4597,
'fleet_arena_last' => null,
'squad_arena_avg' => (float) 4867,
'fleet_arena_avg' => null,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'squad_arena_last_rank' => true,
'fleet_arena_last_rank' => true,
'squad_arena_last' => true,
'fleet_arena_last' => true,
'squad_arena_avg' => true,
'fleet_arena_avg' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Players'
}
$playerGears = []
$isOfficer = true
$isOnPlayerView = false
$url = [
'controller' => 'Players',
'action' => 'legendary',
(int) 0 => (int) 740932
]
include - APP/Template/Element/Players/menu.ctp, line 92
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879
Cake\View\View::element() - CORE/src/View/View.php, line 783
include - APP/Template/Players/arena.ctp, line 9
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::render() - CORE/src/View/View.php, line 892
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88