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) 1242,
'swgoh_id' => 'frednedjam2742',
'ea_id' => 'uXyWVbbrSC2VaVptR-qz3Q',
'ally_code' => '323917259',
'discord_id' => '389910829455376395',
'active' => (int) 1,
'is_bot' => (int) 0,
'guild_id' => null,
'name' => 'Frederic Nedjam',
'squad_arena' => (int) 103,
'role' => (int) 2,
'po_squad_arena' => (int) 103,
'fleet_arena' => (int) 36,
'po_fleet_arena' => (int) 36,
'alert_arena' => false,
'level' => (int) 85,
'zetas' => (int) 85,
'relics' => '{"1":4,"2":2,"3":1,"4":7,"5":6,"6":1,"7":3}',
'relic_score' => (int) 31671240,
'gp' => (int) 4784774,
'gp_chars' => (int) 2727338,
'gp_ships' => (int) 2057436,
'gp_1d' => (int) 0,
'gp_chars_1d' => (int) 0,
'gp_ships_1d' => (int) 0,
'gp_7d' => (int) 13901,
'gp_chars_7d' => (int) 4985,
'gp_ships_7d' => (int) 8916,
'gp_30d' => (int) 112439,
'gp_chars_30d' => (int) 30871,
'gp_ships_30d' => (int) 81568,
'gp_avg' => (int) 3747,
'gp_chars_avg' => (int) 1029,
'gp_ships_avg' => (int) 2718,
'garena_division' => (int) 55,
'garena_league' => 'CHROMIUM',
'garena_score' => (int) 18151,
'garena_rank' => (int) 18477,
'total_tickets' => (int) 497916,
'current_tickets' => (int) 0,
'avg_tickets_7d' => (int) 447,
'avg_tickets_30d' => (int) 482,
'legendary' => (int) 14,
'raid_characters' => (int) 3,
'timezone' => (int) 60,
'guild_name' => '',
'tw_group' => null,
'tracking_in_progress' => (int) 0,
'swgoh_modified' => object(Cake\I18n\FrozenTime) {},
'created' => null,
'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) 103,
'fleet_arena_last' => (int) 36,
'squad_arena_avg' => (float) 84,
'fleet_arena_avg' => (float) 36,
'[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) 1242,
'swgoh_id' => 'frednedjam2742',
'ea_id' => 'uXyWVbbrSC2VaVptR-qz3Q',
'ally_code' => '323917259',
'discord_id' => '389910829455376395',
'active' => (int) 1,
'is_bot' => (int) 0,
'guild_id' => null,
'name' => 'Frederic Nedjam',
'squad_arena' => (int) 103,
'role' => (int) 2,
'po_squad_arena' => (int) 103,
'fleet_arena' => (int) 36,
'po_fleet_arena' => (int) 36,
'alert_arena' => false,
'level' => (int) 85,
'zetas' => (int) 85,
'relics' => '{"1":4,"2":2,"3":1,"4":7,"5":6,"6":1,"7":3}',
'relic_score' => (int) 31671240,
'gp' => (int) 4784774,
'gp_chars' => (int) 2727338,
'gp_ships' => (int) 2057436,
'gp_1d' => (int) 0,
'gp_chars_1d' => (int) 0,
'gp_ships_1d' => (int) 0,
'gp_7d' => (int) 13901,
'gp_chars_7d' => (int) 4985,
'gp_ships_7d' => (int) 8916,
'gp_30d' => (int) 112439,
'gp_chars_30d' => (int) 30871,
'gp_ships_30d' => (int) 81568,
'gp_avg' => (int) 3747,
'gp_chars_avg' => (int) 1029,
'gp_ships_avg' => (int) 2718,
'garena_division' => (int) 55,
'garena_league' => 'CHROMIUM',
'garena_score' => (int) 18151,
'garena_rank' => (int) 18477,
'total_tickets' => (int) 497916,
'current_tickets' => (int) 0,
'avg_tickets_7d' => (int) 447,
'avg_tickets_30d' => (int) 482,
'legendary' => (int) 14,
'raid_characters' => (int) 3,
'timezone' => (int) 60,
'guild_name' => '',
'tw_group' => null,
'tracking_in_progress' => (int) 0,
'swgoh_modified' => object(Cake\I18n\FrozenTime) {},
'created' => null,
'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) {}
],
'guild' => null,
'squad_arena_last_rank' => null,
'fleet_arena_last_rank' => null,
'squad_arena_last' => (int) 103,
'fleet_arena_last' => (int) 36,
'squad_arena_avg' => (float) 84,
'fleet_arena_avg' => (float) 36,
'[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) 1242
]
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