Code Context curl_close($curl);
$data = json_decode($response, true);
foreach ($data as $key => $d) {
$start_code = 'VCL'
$end_code = 'CXR'
$ngay = '29-07-2025'
$start = array(
'Start' => array(
'id' => '17',
'name' => 'Sân bay Chu Lai',
'image' => '',
'code' => 'VCL'
)
)
$end = array(
'End' => array(
'id' => '4',
'name' => 'Sân bay quốc tế Cam Ranh',
'image' => '',
'code' => 'CXR'
)
)
$airtickets = array()
$date = '20250729'
$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