Code Context curl_close($curl);
$data = json_decode($response, true);
foreach ($data as $key => $d) {
$start_code = 'HAN'
$end_code = 'VCA'
$ngay = '30-07-2025'
$start = array(
'Start' => array(
'id' => '2',
'name' => 'Sân bay quốc tế Nội Bài',
'image' => '',
'code' => 'HAN'
)
)
$end = array(
'End' => array(
'id' => '16',
'name' => 'Sân bay quốc tế Cần Thơ',
'image' => '',
'code' => 'VCA'
)
)
$airtickets = array()
$date = '20250730'
$curl = unknown
$response = '<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
'
$data = null
AirticketsController::date() - APP/Plugin/Manager/Controller/AirticketsController.php, line 89
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 491
CroogoAppController::invokeAction() - APP/Vendor/croogo/croogo/Croogo/Controller/CroogoAppController.php, line 220
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
require - APP/webroot/index.php, line 105
[main] - APP/index.php, line 18