Code Context
$results = json_decode(file_get_contents('https://rgform.eu/api_result.php?id_sut=' . $competition->id_sut), true);
$isLive = false;
$id = '1630'
$idSut = null
$event = object(App\Model\Entity\Event) {
'id_prop' => (int) 1630,
'oblast' => 'RG',
'datum' => object(Cake\I18n\FrozenDate) {},
'nazov' => '2nd Jelgava Rhythmic Gymnastics Open Championship in GROUP EXERCISES',
'vyhlasovatel' => '',
'zast_vyhlasovatel' => '',
'organizator' => 'Rhythmic gymnastic club BALTIC FLOWER with cooperation of JPPI SPORTA SERVISA CENTRS and Jelgava Children and Youth Sport School',
'zast_organizator' => '',
'miesto' => 'Latvija, Jelgava, Kronvalda iela 24, in ZEMGALES OLYMPIC CENTER',
'prihlasovat_do' => object(Cake\I18n\FrozenDate) {},
'ucast' => '',
'plocha' => '',
'fig_event_id' => '',
'veduci' => '',
'tajomnik' => '',
'scitatel' => '',
'rozhodcovia' => '',
'hud_doprovod' => '',
'id_user' => (int) 1691,
'dt_sys' => object(Cake\I18n\FrozenTime) {},
'dt_zmena' => object(Cake\I18n\FrozenTime) {},
'zrusene' => (int) 0,
'dt_schvalil' => object(Cake\I18n\FrozenTime) {},
'schvalil' => '',
'schvalene_nr' => '',
'sprava' => '',
'schvalene_stav' => (int) 1,
'zobraz_prihl' => false,
'rezervovane' => (int) 0,
'schval_rezervaciu' => (int) 0,
'sprava_rezerv' => '',
'idsf' => (int) 0,
'szts' => (int) 0,
'verzia' => (int) 25,
'prihl_enable' => (int) 0,
'prihl_url' => '',
'prop_path' => './uploads/pp_1630_Directives_Open_championship_in_groups_ENG_.pdf##./uploads/pp_1630_Nolikums_Jelgavas_atklatais_cempionas_gr.vingr.2020_LAT__(1).docx##./uploads/pp_1630_Program_GROUPS_ENG_03.03.2020..pdf##./uploads/pp_1630_Programma_GRUPAS_LAT_03.03.2020..pdf##./uploads/pp_1630_FOTOLIFE_ENG.pdf##./uploads/pp_1630_FOTOLIFE_LAT.pdf##./uploads/pp_1630_FOTOLIFE_RUS.pdf##./uploads/pp_1630_Start_List_groups_updated_03.03.2020..pdf##./uploads/pp_1630_2nd_Jelgava_Rhythmic_Gymnastics_Open_Championship_in_GROUP_EXERCISES_06.03.2020..pdf',
'harmonogram' => '',
'adresa' => 'Head judge and coach Irina Smelova (RUS/LAT: +371 29140880; irtuk@inbox.lv), secretary Veronika Stolarova, technical secretary Anzela Mizune and Kristina Voronicka (RUS/LAT/ENG: +371 29150102)',
'telefon' => '',
'email' => '',
'prihl_na_mail' => (int) 0,
'informacie' => '',
'startovne' => '',
'tituly' => '',
'ceny' => '',
'uhrada' => '',
'poznamky' => '',
'vstupne' => '',
'upozornenie' => '',
'vypracoval' => '',
'zmena_text' => '0',
'rezervacia' => (int) 0,
'thumbnail' => '',
'datum_do' => object(Cake\I18n\FrozenDate) {},
'db_folder' => '',
'db_last_file_ts' => (int) 0,
'd_mp3_deadline' => object(Cake\I18n\FrozenTime) {},
'fig' => (int) 0,
'register_volunteers' => (int) 0,
'register_media' => (int) 0,
'private' => (int) 0,
'vol_dt_from' => null,
'vol_dt_to' => null,
'travel_form' => (int) 1,
'publish_start' => (int) 0,
'publish_rotation' => (int) 0,
'ejudge_code' => '',
'hotel_form' => (int) 1,
'print_coach' => (int) 0,
'visa_form' => (int) 1,
'upomienka' => (int) 0,
'stat' => 'LAT',
'meal_form' => (int) 0,
'meal_dt_od' => null,
'meal_dt_do' => null,
'cancelled' => (int) 0,
'postponed' => (int) 0,
'competitions' => [
(int) 0 => object(App\Model\Entity\Competition) {},
(int) 1 => object(App\Model\Entity\Competition) {},
(int) 2 => object(App\Model\Entity\Competition) {},
(int) 3 => object(App\Model\Entity\Competition) {},
(int) 4 => object(App\Model\Entity\Competition) {},
(int) 5 => object(App\Model\Entity\Competition) {},
(int) 6 => object(App\Model\Entity\Competition) {},
(int) 7 => object(App\Model\Entity\Competition) {},
(int) 8 => object(App\Model\Entity\Competition) {},
(int) 9 => object(App\Model\Entity\Competition) {},
(int) 10 => object(App\Model\Entity\Competition) {},
(int) 11 => object(App\Model\Entity\Competition) {},
(int) 12 => object(App\Model\Entity\Competition) {}
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Events'
}
$competition = object(App\Model\Entity\Competition) {
'id_prop' => (int) 1630,
'id_sut' => (int) 55068,
'sutaz' => 'Juniors National B',
'rn' => '2007-2005',
'app1' => '["5ribbon"]',
'app2' => '["5ribbon"]',
'app3' => '',
'app4' => '',
'app5' => '',
'app6' => '',
'appfinal' => '',
'p_vo_finale' => (int) 0,
'type' => 'G',
'max_entry' => (int) 0,
'max_entry_all' => (int) 0,
'max_entry_club' => (int) 0,
'stav' => (int) 1,
'poradie' => (int) 11,
'duration' => (int) 0,
'druh_sutaze' => '',
'private' => (int) 0,
'rule' => (int) 2017,
'wa_d4' => (int) 0,
'old_id_sut' => (int) 0,
'max_d' => '100.00',
'in_team' => (int) 0,
'duration_1' => (int) 0,
'tie' => (int) 1,
'finale' => (int) 0,
'team_group' => '',
'battle' => (int) 0,
'gis_id' => (int) 0,
'results' => [
(int) 0 => object(App\Model\Entity\Result) {},
(int) 1 => object(App\Model\Entity\Result) {},
(int) 2 => object(App\Model\Entity\Result) {},
(int) 3 => object(App\Model\Entity\Result) {},
(int) 4 => object(App\Model\Entity\Result) {},
(int) 5 => object(App\Model\Entity\Result) {},
(int) 6 => object(App\Model\Entity\Result) {},
(int) 7 => object(App\Model\Entity\Result) {},
(int) 8 => object(App\Model\Entity\Result) {},
(int) 9 => object(App\Model\Entity\Result) {},
(int) 10 => object(App\Model\Entity\Result) {},
(int) 11 => object(App\Model\Entity\Result) {}
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Competitions'
}
$singleCompetition = object(App\Model\Entity\Competition) {
'id_prop' => (int) 1630,
'id_sut' => (int) 55068,
'sutaz' => 'Juniors National B',
'rn' => '2007-2005',
'app1' => '["5ribbon"]',
'app2' => '["5ribbon"]',
'app3' => '',
'app4' => '',
'app5' => '',
'app6' => '',
'appfinal' => '',
'p_vo_finale' => (int) 0,
'type' => 'G',
'max_entry' => (int) 0,
'max_entry_all' => (int) 0,
'max_entry_club' => (int) 0,
'stav' => (int) 1,
'poradie' => (int) 11,
'duration' => (int) 0,
'druh_sutaze' => '',
'private' => (int) 0,
'rule' => (int) 2017,
'wa_d4' => (int) 0,
'old_id_sut' => (int) 0,
'max_d' => '100.00',
'in_team' => (int) 0,
'duration_1' => (int) 0,
'tie' => (int) 1,
'finale' => (int) 0,
'team_group' => '',
'battle' => (int) 0,
'gis_id' => (int) 0,
'results' => [
(int) 0 => object(App\Model\Entity\Result) {},
(int) 1 => object(App\Model\Entity\Result) {},
(int) 2 => object(App\Model\Entity\Result) {},
(int) 3 => object(App\Model\Entity\Result) {},
(int) 4 => object(App\Model\Entity\Result) {},
(int) 5 => object(App\Model\Entity\Result) {},
(int) 6 => object(App\Model\Entity\Result) {},
(int) 7 => object(App\Model\Entity\Result) {},
(int) 8 => object(App\Model\Entity\Result) {},
(int) 9 => object(App\Model\Entity\Result) {},
(int) 10 => object(App\Model\Entity\Result) {},
(int) 11 => object(App\Model\Entity\Result) {}
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Competitions'
}file_get_contents - [internal], line ??
App\Controller\EventsController::result() - APP/Controller/EventsController.php, line 256
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 524
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 229
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 118
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90
[main] - ROOT/webroot/index.php, line 40