Notice (8) : Constant PAGE_URL already defined [APP/Controller/AppController.php , line 157 ]Code Context
define ( 'PAGE_URL' , $url );
define ( 'PAGE_RECORD_ID' , $page_record_id );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 157
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Notice (8) : Constant PAGE_RECORD_ID already defined [APP/Controller/AppController.php , line 158 ]Code Context define ( 'PAGE_URL' , $url );
define ( 'PAGE_RECORD_ID' , $page_record_id );
define ( 'PAGE_TAG_ID' , $tag_id );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 158
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Notice (8) : Constant PAGE_TAG_ID already defined [APP/Controller/AppController.php , line 159 ]Code Context define ( 'PAGE_RECORD_ID' , $page_record_id );
define ( 'PAGE_TAG_ID' , $tag_id );
define ( 'PAGE_CATEGORY_ID' , $page_category_id );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 159
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Notice (8) : Constant PAGE_CATEGORY_ID already defined [APP/Controller/AppController.php , line 160 ]Code Context define ( 'PAGE_TAG_ID' , $tag_id );
define ( 'PAGE_CATEGORY_ID' , $page_category_id );
define ( 'PAGE_BRAND_ID' , $page_brand_id );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 160
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Notice (8) : Constant PAGE_BRAND_ID already defined [APP/Controller/AppController.php , line 161 ]Code Context define ( 'PAGE_CATEGORY_ID' , $page_category_id );
define ( 'PAGE_BRAND_ID' , $page_brand_id );
define ( 'PAGE_CATEGORIES_ID' , $page_categories_id );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 161
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Notice (8) : Constant PAGE_CATEGORIES_ID already defined [APP/Controller/AppController.php , line 162 ]Code Context define ( 'PAGE_BRAND_ID' , $page_brand_id );
define ( 'PAGE_CATEGORIES_ID' , $page_categories_id );
define ( 'PAGE_TYPE' , $type );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 162
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Notice (8) : Constant PAGE_TYPE already defined [APP/Controller/AppController.php , line 163 ]Code Context define ( 'PAGE_CATEGORIES_ID' , $page_categories_id );
define ( 'PAGE_TYPE' , $type );
define ( 'PAGE_CODE' , $code );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 163
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Notice (8) : Constant PAGE_CODE already defined [APP/Controller/AppController.php , line 164 ]Code Context define ( 'PAGE_TYPE' , $type );
define ( 'PAGE_CODE' , $code );
define ( 'PAGE_VERSION' , $version );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 164
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Notice (8) : Constant PAGE_VERSION already defined [APP/Controller/AppController.php , line 165 ]Code Context define ( 'PAGE_CODE' , $code );
define ( 'PAGE_VERSION' , $version );
$event = object(Cake\Event\Event) {
[protected] _name => 'Controller.beforeRender'
[protected] _subject => object(App\Controller\ErrorController) {}
[protected] _data => []
[protected] result => null
[protected] _stopped => false
}
$error = null
$page = [
'url' => 'dich-vu-khach-hang-goldcat',
'code' => 'c38hltr',
'type' => 'article_detail',
'version' => null,
'page_record_id' => (int) 22,
'article_id' => (int) 22,
'product_id' => null,
'tag_id' => null,
'category_id' => (int) 20,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[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]' => 'TemplatesPage'
}
]
$url = 'dich-vu-khach-hang-goldcat'
$code = 'c38hltr'
$type = 'article_detail'
$version = null
$page_record_id = (int) 22
$product_id = null
$article_id = (int) 22
$tag_id = null
$page_category_id = (int) 20
$page_brand_id = null
$page_categories_id = [
(int) 0 => (int) 20
]
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 38,
'template_code' => 'goldcat version 2',
'layout_code' => '2z9evbs',
'code' => 'c38hltr',
'name' => 'Chi tiết bài viết',
'page_type' => 'page',
'type' => 'article_detail',
'category_id' => (int) 0,
'created' => (int) 0,
'updated' => (int) 0,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
} define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 165
App\Controller\ErrorController::beforeRender() - APP/Controller/ErrorController.php, line 64
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 309
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 286
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 675
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 369
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 138
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
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] - /home/www/goldcatvn.com/public_html/index.php, line 35 Warning (512) : Unable to emit headers. Headers sent in file=/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php line=841 [CORE/src/Http/ResponseEmitter.php , line 71 ]Code Context $message = "Unable to emit headers. Headers sent in file= $file line= $line " ;
trigger_error ( $message , E_USER_WARNING );
}
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: SQLSTATE[HY000]: General error: 1364 Field 'session_id' doesn't have a default value </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 5px;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>SQLSTATE[HY000]: General error: 1364 Field 'session_id' doesn't have a default value</span>
<a>📋</a>
</h1>
<span class="header-type">PDOException</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php:39 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">PDOStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php:39 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">Cake\Database\Statement\MysqlStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Connection.php:343 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Database\Connection->Cake\Database\{closure}</span>
<span class="stack-file">
CORE/src/Core/Retry/CommandRetry.php:69 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Core\Retry\CommandRetry->run</span>
<span class="stack-file">
CORE/src/Database/Connection.php:346 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Database\Connection->run</span>
<span class="stack-file">
CORE/src/Database/Query.php:245 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Database\Query->execute</span>
<span class="stack-file">
CORE/src/ORM/Table.php:2036 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\ORM\Table->_insert</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1928 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\ORM\Table->_processSave</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1829 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1529 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/Database/Connection.php:693 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\Database\Connection->transactional</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1530 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">Cake\ORM\Table->_executeTransaction</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1830 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Model/Table/LogAccessTable.php:79 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">App\Model\Table\LogAccessTable->updateLogAccess</span>
<span class="stack-file">
APP/Controller/AppController.php:267 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">App\Controller\AppController->beforeRender</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:309 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Event\EventManager->_callListener</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:286 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">Cake\Event\EventManager->dispatch</span>
<span class="stack-file">
CORE/src/Event/EventDispatcherTrait.php:92 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">Cake\Controller\Controller->dispatchEvent</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:675 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">Cake\Controller\Controller->render</span>
<span class="stack-file">
APP/Controller/PageController.php:17 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-20">
<span class="stack-function">App\Controller\PageController->index</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:521 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-21">
<span class="stack-function">Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:79 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-22">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:229 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-23">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-24">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-25">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:128 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-26">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-27">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-28">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-29">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-30">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:68 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-31">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-32">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-33">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-34">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-35">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php:90 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-36">
<span class="stack-function">Cake\Http\Server->run</span>
<span class="stack-file">
/home/www/goldcatvn.com/public_html/index.php:35 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} finally {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="42"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre></pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} finally {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="42"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="339"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="340"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDisconnectRetry</span><span style="color: #007700">()-></span><span style="color: #0000BB">run</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="344"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="347"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Core/Retry/CommandRetry.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">do {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$action</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">strategy</span><span style="color: #007700">-></span><span style="color: #0000BB">shouldRetry</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">, </span><span style="color: #0000BB">$retryCount</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="344"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="347"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="348"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="349"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="350"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Executes a SQL statement </span><span style="color: #007700">and </span><span style="color: #0000BB">returns the Statement object </span><span style="color: #007700">as </span><span style="color: #0000BB">result</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="241"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="242"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="243"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">execute</span><span style="color: #007700">(): </span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="244"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="245"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="246"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_iterator </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_decorateStatement</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="247"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_dirty </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="248"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="249"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_iterator</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2032"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2033"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2034"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">()-></span><span style="color: #0000BB">insert</span><span style="color: #007700">(</span><span style="color: #0000BB">array_keys</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">))</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2035"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2036"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2037"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2038"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$statement</span><span style="color: #007700">-></span><span style="color: #0000BB">rowCount</span><span style="color: #007700">() !== </span><span style="color: #0000BB">0</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2039"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2040"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $entity</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">$filteredKeys</span><span style="color: #007700">, [</span><span style="color: #DD0000">'guard' </span><span style="color: #007700">=> </span><span style="color: #0000BB">false</span><span style="color: #007700">]);</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1924"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">columns</span><span style="color: #007700">(), </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1925"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $isNew </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">isNew</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1926"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1927"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$isNew</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1928"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_insert</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1929"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1930"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_update</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1931"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1932"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1825"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1826"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1827"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1828"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1829"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1830"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1831"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1832"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1833"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$worker</span><span style="color: #007700">, </span><span style="color: #0000BB">bool $atomic </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1526"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1527"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1528"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1529"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1530"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1531"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="689"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="690"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">begin</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="691"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="692"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="693"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$transaction</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="694"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="695"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">rollback</span><span style="color: #007700">(</span><span style="color: #0000BB">false</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="696"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="697"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1526"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1527"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1528"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1529"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1530"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1531"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1534"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1826"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1827"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1828"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1829"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1830"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1831"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1832"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1833"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1834"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Model.afterSaveCommit'</span><span style="color: #007700">, </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'entity'</span><span style="color: #007700">, </span><span style="color: #DD0000">'options'</span><span style="color: #007700">));</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Model/Table/LogAccessTable.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $conn </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'default'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $conn</span><span style="color: #007700">-></span><span style="color: #0000BB">begin</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $save_log_access </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity_log_access</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$save_log_access</span><span style="color: #007700">-></span><span style="color: #0000BB">session_id</span><span style="color: #007700">)){
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">Exception</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="82"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Controller/AppController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="263"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// write cookie viewed
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="264"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">writeCookieViewed</span><span style="color: #007700">(</span><span style="color: #0000BB">PAGE_TYPE</span><span style="color: #007700">, </span><span style="color: #0000BB">PAGE_RECORD_ID</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="265"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="266"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// cập nhật lượt truy cập
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="267"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> TableRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'LogAccess'</span><span style="color: #007700">)-></span><span style="color: #0000BB">updateLogAccess</span><span style="color: #007700">();
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="268"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="269"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}else{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="270"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error </span><span style="color: #007700">= </span><span style="color: #DD0000">'404'</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="271"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="305"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$listener</span><span style="color: #007700">, </span><span style="color: #0000BB">EventInterface $event</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="306"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="307"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= (array)</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="308"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="309"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$listener</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">, ...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="310"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="311"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="312"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="313"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="282"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$listeners </span><span style="color: #007700">as </span><span style="color: #0000BB">$listener</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="283"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="284"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">break;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="285"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="286"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="287"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">=== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="288"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event</span><span style="color: #007700">-></span><span style="color: #0000BB">stopPropagation</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="289"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="290"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Event\EventInterface $event */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= new </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_eventClass</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$subject</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="671"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$layout </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="672"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $builder</span><span style="color: #007700">-></span><span style="color: #0000BB">setLayout</span><span style="color: #007700">(</span><span style="color: #0000BB">$layout</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="673"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="674"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="675"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.beforeRender'</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="676"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="677"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="678"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="679"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Controller/PageController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="13"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="14"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="15"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">index</span><span style="color: #007700">()
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="16"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="17"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'index'</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="18"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="19"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="20"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">notFound</span><span style="color: #007700">()
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="21"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-20" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-20">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="517"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">UnexpectedValueException </span><span style="color: #007700">If return </span><span style="color: #0000BB">value of action is not </span><span style="color: #007700">`</span><span style="color: #DD0000">null</span><span style="color: #007700">` or `</span><span style="color: #DD0000">ResponseInterface</span><span style="color: #007700">` </span><span style="color: #0000BB">instance</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="518"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="519"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">Closure $action</span><span style="color: #007700">, array </span><span style="color: #0000BB">$args</span><span style="color: #007700">): </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="520"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="521"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$action</span><span style="color: #007700">(...</span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="522"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="523"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">UnexpectedValueException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="524"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Controller actions can only return ResponseInterface instance or null. '</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">. </span><span style="color: #DD0000">'Got %s instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-20" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-21" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-21">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $action </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getAction</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $args </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getRequest</span><span style="color: #007700">()-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$action</span><span style="color: #007700">, </span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">shutdownProcess</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="82"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-21" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-22" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-22">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="225"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="226"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="227"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="228"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="229"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-22" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-23" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-23">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-23" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-24" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-24">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-24" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-25" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-25">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="126"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="127"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="128"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="129"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="130"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="131"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="132"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-25" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-26" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-26">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-26" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-27" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-27">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-27" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-28" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-28">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$handler</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-28" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-29" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-29">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-29" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-30" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-30">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-30" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-31" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-31">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-31" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-32" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-32">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-32" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-33" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-33">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-33" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-34" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-34">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-34" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-35" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-35">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-35" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-36" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-36">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="31"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="32"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">$core_path </span><span style="color: #007700">. </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-36" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>Publishing.TemplatesPageContent</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
}
$file = '/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 841
$message = 'Unable to emit headers. Headers sent in file=/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php line=841' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 71
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - /home/www/goldcatvn.com/public_html/index.php, line 35 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php:841) [CORE/src/Http/ResponseEmitter.php , line 168 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: SQLSTATE[HY000]: General error: 1364 Field 'session_id' doesn't have a default value </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 5px;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>SQLSTATE[HY000]: General error: 1364 Field 'session_id' doesn't have a default value</span>
<a>📋</a>
</h1>
<span class="header-type">PDOException</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php:39 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">PDOStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php:39 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">Cake\Database\Statement\MysqlStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Connection.php:343 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Database\Connection->Cake\Database\{closure}</span>
<span class="stack-file">
CORE/src/Core/Retry/CommandRetry.php:69 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Core\Retry\CommandRetry->run</span>
<span class="stack-file">
CORE/src/Database/Connection.php:346 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Database\Connection->run</span>
<span class="stack-file">
CORE/src/Database/Query.php:245 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Database\Query->execute</span>
<span class="stack-file">
CORE/src/ORM/Table.php:2036 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\ORM\Table->_insert</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1928 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\ORM\Table->_processSave</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1829 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1529 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/Database/Connection.php:693 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\Database\Connection->transactional</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1530 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">Cake\ORM\Table->_executeTransaction</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1830 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Model/Table/LogAccessTable.php:79 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">App\Model\Table\LogAccessTable->updateLogAccess</span>
<span class="stack-file">
APP/Controller/AppController.php:267 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">App\Controller\AppController->beforeRender</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:309 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Event\EventManager->_callListener</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:286 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">Cake\Event\EventManager->dispatch</span>
<span class="stack-file">
CORE/src/Event/EventDispatcherTrait.php:92 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">Cake\Controller\Controller->dispatchEvent</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:675 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">Cake\Controller\Controller->render</span>
<span class="stack-file">
APP/Controller/PageController.php:17 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-20">
<span class="stack-function">App\Controller\PageController->index</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:521 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-21">
<span class="stack-function">Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:79 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-22">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:229 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-23">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-24">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-25">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:128 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-26">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-27">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-28">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-29">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-30">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:68 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-31">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-32">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-33">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-34">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-35">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php:90 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-36">
<span class="stack-function">Cake\Http\Server->run</span>
<span class="stack-file">
/home/www/goldcatvn.com/public_html/index.php:35 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} finally {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="42"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre></pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} finally {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="42"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="339"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="340"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDisconnectRetry</span><span style="color: #007700">()-></span><span style="color: #0000BB">run</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="344"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="347"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Core/Retry/CommandRetry.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">do {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$action</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">strategy</span><span style="color: #007700">-></span><span style="color: #0000BB">shouldRetry</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">, </span><span style="color: #0000BB">$retryCount</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="344"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="347"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="348"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="349"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="350"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Executes a SQL statement </span><span style="color: #007700">and </span><span style="color: #0000BB">returns the Statement object </span><span style="color: #007700">as </span><span style="color: #0000BB">result</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="241"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="242"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="243"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">execute</span><span style="color: #007700">(): </span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="244"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="245"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="246"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_iterator </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_decorateStatement</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="247"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_dirty </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="248"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="249"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_iterator</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2032"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2033"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2034"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">()-></span><span style="color: #0000BB">insert</span><span style="color: #007700">(</span><span style="color: #0000BB">array_keys</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">))</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2035"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2036"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2037"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2038"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$statement</span><span style="color: #007700">-></span><span style="color: #0000BB">rowCount</span><span style="color: #007700">() !== </span><span style="color: #0000BB">0</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2039"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2040"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $entity</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">$filteredKeys</span><span style="color: #007700">, [</span><span style="color: #DD0000">'guard' </span><span style="color: #007700">=> </span><span style="color: #0000BB">false</span><span style="color: #007700">]);</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1924"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">columns</span><span style="color: #007700">(), </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1925"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $isNew </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">isNew</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1926"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1927"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$isNew</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1928"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_insert</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1929"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1930"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_update</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1931"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1932"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1825"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1826"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1827"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1828"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1829"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1830"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1831"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1832"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1833"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$worker</span><span style="color: #007700">, </span><span style="color: #0000BB">bool $atomic </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1526"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1527"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1528"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1529"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1530"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1531"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="689"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="690"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">begin</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="691"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="692"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="693"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$transaction</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="694"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="695"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">rollback</span><span style="color: #007700">(</span><span style="color: #0000BB">false</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="696"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="697"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1526"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1527"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1528"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1529"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1530"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1531"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1534"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1826"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1827"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1828"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1829"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1830"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1831"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1832"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1833"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1834"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Model.afterSaveCommit'</span><span style="color: #007700">, </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'entity'</span><span style="color: #007700">, </span><span style="color: #DD0000">'options'</span><span style="color: #007700">));</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Model/Table/LogAccessTable.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $conn </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'default'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $conn</span><span style="color: #007700">-></span><span style="color: #0000BB">begin</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $save_log_access </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity_log_access</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$save_log_access</span><span style="color: #007700">-></span><span style="color: #0000BB">session_id</span><span style="color: #007700">)){
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">Exception</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="82"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Controller/AppController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="263"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// write cookie viewed
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="264"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">writeCookieViewed</span><span style="color: #007700">(</span><span style="color: #0000BB">PAGE_TYPE</span><span style="color: #007700">, </span><span style="color: #0000BB">PAGE_RECORD_ID</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="265"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="266"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// cập nhật lượt truy cập
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="267"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> TableRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'LogAccess'</span><span style="color: #007700">)-></span><span style="color: #0000BB">updateLogAccess</span><span style="color: #007700">();
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="268"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="269"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}else{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="270"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error </span><span style="color: #007700">= </span><span style="color: #DD0000">'404'</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="271"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="305"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$listener</span><span style="color: #007700">, </span><span style="color: #0000BB">EventInterface $event</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="306"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="307"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= (array)</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="308"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="309"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$listener</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">, ...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="310"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="311"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="312"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="313"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="282"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$listeners </span><span style="color: #007700">as </span><span style="color: #0000BB">$listener</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="283"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="284"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">break;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="285"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="286"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="287"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">=== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="288"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event</span><span style="color: #007700">-></span><span style="color: #0000BB">stopPropagation</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="289"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="290"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Event\EventInterface $event */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= new </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_eventClass</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$subject</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="671"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$layout </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="672"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $builder</span><span style="color: #007700">-></span><span style="color: #0000BB">setLayout</span><span style="color: #007700">(</span><span style="color: #0000BB">$layout</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="673"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="674"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="675"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.beforeRender'</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="676"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="677"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="678"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="679"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Controller/PageController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="13"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="14"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="15"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">index</span><span style="color: #007700">()
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="16"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="17"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'index'</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="18"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="19"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="20"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">notFound</span><span style="color: #007700">()
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="21"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-20" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-20">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="517"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">UnexpectedValueException </span><span style="color: #007700">If return </span><span style="color: #0000BB">value of action is not </span><span style="color: #007700">`</span><span style="color: #DD0000">null</span><span style="color: #007700">` or `</span><span style="color: #DD0000">ResponseInterface</span><span style="color: #007700">` </span><span style="color: #0000BB">instance</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="518"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="519"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">Closure $action</span><span style="color: #007700">, array </span><span style="color: #0000BB">$args</span><span style="color: #007700">): </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="520"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="521"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$action</span><span style="color: #007700">(...</span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="522"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="523"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">UnexpectedValueException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="524"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Controller actions can only return ResponseInterface instance or null. '</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">. </span><span style="color: #DD0000">'Got %s instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-20" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-21" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-21">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $action </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getAction</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $args </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getRequest</span><span style="color: #007700">()-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$action</span><span style="color: #007700">, </span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">shutdownProcess</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="82"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-21" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-22" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-22">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="225"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="226"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="227"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="228"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="229"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-22" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-23" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-23">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-23" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-24" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-24">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-24" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-25" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-25">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="126"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="127"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="128"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="129"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="130"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="131"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="132"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-25" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-26" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-26">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-26" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-27" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-27">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-27" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-28" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-28">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$handler</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-28" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-29" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-29">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-29" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-30" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-30">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-30" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-31" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-31">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-31" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-32" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-32">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-32" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-33" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-33">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-33" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-34" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-34">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-34" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-35" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-35">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-35" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-36" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-36">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="31"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="32"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">$core_path </span><span style="color: #007700">. </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-36" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>Publishing.TemplatesPageContent</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
}
$reasonPhrase = 'Internal Server Error' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 74
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - /home/www/goldcatvn.com/public_html/index.php, line 35 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php:841) [CORE/src/Http/ResponseEmitter.php , line 197 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: SQLSTATE[HY000]: General error: 1364 Field 'session_id' doesn't have a default value </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 5px;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>SQLSTATE[HY000]: General error: 1364 Field 'session_id' doesn't have a default value</span>
<a>📋</a>
</h1>
<span class="header-type">PDOException</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php:39 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">PDOStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php:39 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">Cake\Database\Statement\MysqlStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Connection.php:343 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Database\Connection->Cake\Database\{closure}</span>
<span class="stack-file">
CORE/src/Core/Retry/CommandRetry.php:69 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Core\Retry\CommandRetry->run</span>
<span class="stack-file">
CORE/src/Database/Connection.php:346 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Database\Connection->run</span>
<span class="stack-file">
CORE/src/Database/Query.php:245 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Database\Query->execute</span>
<span class="stack-file">
CORE/src/ORM/Table.php:2036 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\ORM\Table->_insert</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1928 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\ORM\Table->_processSave</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1829 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1529 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/Database/Connection.php:693 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\Database\Connection->transactional</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1530 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">Cake\ORM\Table->_executeTransaction</span>
<span class="stack-file">
CORE/src/ORM/Table.php:1830 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Model/Table/LogAccessTable.php:79 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">App\Model\Table\LogAccessTable->updateLogAccess</span>
<span class="stack-file">
APP/Controller/AppController.php:267 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">App\Controller\AppController->beforeRender</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:309 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Event\EventManager->_callListener</span>
<span class="stack-file">
CORE/src/Event/EventManager.php:286 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">Cake\Event\EventManager->dispatch</span>
<span class="stack-file">
CORE/src/Event/EventDispatcherTrait.php:92 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-18">
<span class="stack-function">Cake\Controller\Controller->dispatchEvent</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:675 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-19">
<span class="stack-function">Cake\Controller\Controller->render</span>
<span class="stack-file">
APP/Controller/PageController.php:17 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-20">
<span class="stack-function">App\Controller\PageController->index</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:521 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-21">
<span class="stack-function">Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:79 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-22">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:229 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-23">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-24">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-25">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:128 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-26">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-27">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-28">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-29">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-30">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:68 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-31">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-32">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:119 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-33">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-34">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-35">
<span class="stack-function">Cake\Http\Runner->run</span>
<span class="stack-file">
CORE/src/Http/Server.php:90 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-36">
<span class="stack-function">Cake\Http\Server->run</span>
<span class="stack-file">
/home/www/goldcatvn.com/public_html/index.php:35 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} finally {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="42"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-0" style="display: none;">
<pre></pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="38"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="39"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="40"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} finally {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="41"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="42"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="43"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="339"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="340"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDisconnectRetry</span><span style="color: #007700">()-></span><span style="color: #0000BB">run</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="344"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="347"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Core/Retry/CommandRetry.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">do {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$action</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">strategy</span><span style="color: #007700">-></span><span style="color: #0000BB">shouldRetry</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">, </span><span style="color: #0000BB">$retryCount</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="344"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="347"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="348"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="349"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="350"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Executes a SQL statement </span><span style="color: #007700">and </span><span style="color: #0000BB">returns the Statement object </span><span style="color: #007700">as </span><span style="color: #0000BB">result</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="241"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="242"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="243"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">execute</span><span style="color: #007700">(): </span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="244"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="245"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="246"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_iterator </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_decorateStatement</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="247"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_dirty </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="248"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="249"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_iterator</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2032"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2033"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2034"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">()-></span><span style="color: #0000BB">insert</span><span style="color: #007700">(</span><span style="color: #0000BB">array_keys</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">))</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2035"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2036"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2037"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2038"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$statement</span><span style="color: #007700">-></span><span style="color: #0000BB">rowCount</span><span style="color: #007700">() !== </span><span style="color: #0000BB">0</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2039"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2040"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $entity</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">$filteredKeys</span><span style="color: #007700">, [</span><span style="color: #DD0000">'guard' </span><span style="color: #007700">=> </span><span style="color: #0000BB">false</span><span style="color: #007700">]);</span></span></code></td>
</tr>
</table>
<div id="stack-args-6" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1924"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">columns</span><span style="color: #007700">(), </span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1925"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $isNew </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">isNew</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1926"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1927"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$isNew</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1928"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_insert</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1929"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1930"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_update</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1931"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1932"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1825"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1826"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1827"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1828"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1829"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1830"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1831"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1832"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1833"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$worker</span><span style="color: #007700">, </span><span style="color: #0000BB">bool $atomic </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1526"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1527"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1528"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1529"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1530"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1531"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="689"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="690"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">begin</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="691"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="692"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="693"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$transaction</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="694"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="695"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">rollback</span><span style="color: #007700">(</span><span style="color: #0000BB">false</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="696"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="697"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1526"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1527"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1528"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1529"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1530"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1531"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1534"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1826"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1827"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1828"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1829"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1830"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1831"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1832"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1833"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1834"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Model.afterSaveCommit'</span><span style="color: #007700">, </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'entity'</span><span style="color: #007700">, </span><span style="color: #DD0000">'options'</span><span style="color: #007700">));</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Model/Table/LogAccessTable.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $conn </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'default'</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $conn</span><span style="color: #007700">-></span><span style="color: #0000BB">begin</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $save_log_access </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity_log_access</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$save_log_access</span><span style="color: #007700">-></span><span style="color: #0000BB">session_id</span><span style="color: #007700">)){
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">Exception</span><span style="color: #007700">();
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="82"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Controller/AppController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="263"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// write cookie viewed
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="264"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">writeCookieViewed</span><span style="color: #007700">(</span><span style="color: #0000BB">PAGE_TYPE</span><span style="color: #007700">, </span><span style="color: #0000BB">PAGE_RECORD_ID</span><span style="color: #007700">);
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="265"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="266"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// cập nhật lượt truy cập
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="267"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> TableRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">'LogAccess'</span><span style="color: #007700">)-></span><span style="color: #0000BB">updateLogAccess</span><span style="color: #007700">();
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="268"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="269"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}else{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="270"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $error </span><span style="color: #007700">= </span><span style="color: #DD0000">'404'</span><span style="color: #007700">;
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="271"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="305"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$listener</span><span style="color: #007700">, </span><span style="color: #0000BB">EventInterface $event</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="306"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="307"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= (array)</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getData</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="308"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="309"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$listener</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">, ...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="310"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="311"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="312"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="313"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">inheritDoc</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventManager.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="282"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$listeners </span><span style="color: #007700">as </span><span style="color: #0000BB">$listener</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="283"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="284"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">break;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="285"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="286"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_callListener</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="287"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">=== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="288"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event</span><span style="color: #007700">-></span><span style="color: #0000BB">stopPropagation</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="289"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="290"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var \Cake\Event\EventInterface $event */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= new </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_eventClass</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$subject</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="671"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$layout </span><span style="color: #007700">!== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="672"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $builder</span><span style="color: #007700">-></span><span style="color: #0000BB">setLayout</span><span style="color: #007700">(</span><span style="color: #0000BB">$layout</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="673"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="674"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="675"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $event </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.beforeRender'</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="676"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="677"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="678"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="679"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">isStopped</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-18" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-19" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/src/Controller/PageController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-19">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="13"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="14"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="15"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">index</span><span style="color: #007700">()
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="16"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="17"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #DD0000">'index'</span><span style="color: #007700">);
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="18"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="19"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="20"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">notFound</span><span style="color: #007700">()
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="21"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{
</span></span></code></td>
</tr>
</table>
<div id="stack-args-19" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-20" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-20">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="517"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">UnexpectedValueException </span><span style="color: #007700">If return </span><span style="color: #0000BB">value of action is not </span><span style="color: #007700">`</span><span style="color: #DD0000">null</span><span style="color: #007700">` or `</span><span style="color: #DD0000">ResponseInterface</span><span style="color: #007700">` </span><span style="color: #0000BB">instance</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="518"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="519"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">Closure $action</span><span style="color: #007700">, array </span><span style="color: #0000BB">$args</span><span style="color: #007700">): </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="520"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="521"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$action</span><span style="color: #007700">(...</span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="522"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="523"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">UnexpectedValueException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="524"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Controller actions can only return ResponseInterface instance or null. '</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">. </span><span style="color: #DD0000">'Got %s instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-20" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-21" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-21">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $action </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getAction</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $args </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getRequest</span><span style="color: #007700">()-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$action</span><span style="color: #007700">, </span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">shutdownProcess</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="82"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-21" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-22" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-22">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="225"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="226"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="227"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="228"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="229"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">controllerFactory</span><span style="color: #007700">-></span><span style="color: #0000BB">invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="230"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="231"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="232"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-22" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-23" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-23">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-23" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-24" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-24">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-24" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-25" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-25">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </span><span style="color: #007700">=== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="125"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="126"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="127"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="128"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="129"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="130"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="131"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="132"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-25" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-26" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-26">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-26" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-27" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-27">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-27" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-28" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-28">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$handler</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="168"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="169"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-28" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-29" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-29">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-29" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-30" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-30">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-30" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-31" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-31">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-31" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-32" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-32">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="115"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="117"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="118"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="122"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-32" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-33" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-33">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">next</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="72"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="73"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="75"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="76"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-33" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-34" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Runner.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-34">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="55"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="56"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="58"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="59"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="60"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="61"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-34" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-35" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Http/Server.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-35">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="87"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="88"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="89"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
</table>
<div id="stack-args-35" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-36" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">/home/www/goldcatvn.com/public_html/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-36">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="31"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="32"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">$core_path </span><span style="color: #007700">. </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.
</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="35"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());
</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-36" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>Publishing.TemplatesPageContent</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
}
$cookies = [
'articles_viewed;;' => object(Cake\Http\Cookie\Cookie) {
[protected] name => 'articles_viewed'
[protected] value => '[22]'
[protected] isExpanded => false
[protected] expiresAt => object(DateTime) {}
[protected] path => ''
[protected] domain => ''
[protected] secure => false
[protected] httpOnly => false
[protected] sameSite => null
[protected] defaults => [
[maximum depth reached]
]
}
]
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 197
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - /home/www/goldcatvn.com/public_html/index.php, line 35 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/www/goldcatvn.com/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php:841) [CORE/src/Http/ResponseEmitter.php , line 235 ]Code Context if ( PHP_VERSION_ID >= 70300 ) {
return setcookie ( $cookie -> getName (), $cookie -> getScalarValue (), $cookie -> getOptions ());
}
$cookie = object(Cake\Http\Cookie\Cookie) {
[protected] name => 'articles_viewed'
[protected] value => '[22]'
[protected] isExpanded => false
[protected] expiresAt => object(DateTime) {}
[protected] path => ''
[protected] domain => ''
[protected] secure => false
[protected] httpOnly => false
[protected] sameSite => null
[protected] defaults => [
'expires' => null,
'path' => '/',
'domain' => '',
'secure' => false,
'httponly' => false,
'samesite' => null
]
} setcookie - [internal], line ??
Cake\Http\ResponseEmitter::setCookie() - CORE/src/Http/ResponseEmitter.php, line 235
Cake\Http\ResponseEmitter::emitCookies() - CORE/src/Http/ResponseEmitter.php, line 218
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 206
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 130
[main] - /home/www/goldcatvn.com/public_html/index.php, line 35
Error: SQLSTATE[HY000]: General error: 1364 Field 'session_id' doesn't have a default value
$connection = $this -> _driver -> getConnection ();
try {
$connection -> setAttribute ( PDO :: MYSQL_ATTR_USE_BUFFERED_QUERY , $this -> _bufferResults );
$result = $this -> _statement -> execute ( $params );
} finally {
$connection -> setAttribute ( PDO :: MYSQL_ATTR_USE_BUFFERED_QUERY , true );
}
$connection = $this -> _driver -> getConnection ();
try {
$connection -> setAttribute ( PDO :: MYSQL_ATTR_USE_BUFFERED_QUERY , $this -> _bufferResults );
$result = $this -> _statement -> execute ( $params );
} finally {
$connection -> setAttribute ( PDO :: MYSQL_ATTR_USE_BUFFERED_QUERY , true );
}
{
return $this -> getDisconnectRetry ()-> run (function () use ( $query ) {
$statement = $this -> prepare ( $query );
$query -> getValueBinder ()-> attachTo ( $statement );
$statement -> execute ();
return $statement ;
});
}
$lastException = null ;
do {
try {
return $action ();
} catch ( Exception $e ) {
$lastException = $e ;
if (! $this -> strategy -> shouldRetry ( $e , $retryCount )) {
throw $e ;
$query -> getValueBinder ()-> attachTo ( $statement );
$statement -> execute ();
return $statement ;
});
}
/**
* Executes a SQL statement and returns the Statement object as result .
* @return \ Cake \ Database \ StatementInterface
*/
public function execute (): StatementInterface
{
$statement = $this -> _connection -> run ( $this );
$this -> _iterator = $this -> _decorateStatement ( $statement );
$this -> _dirty = false ;
return $this -> _iterator ;
}
$statement = $this -> query ()-> insert ( array_keys ( $data ))
-> values ( $data )
-> execute ();
if ( $statement -> rowCount () !== 0 ) {
$success = $entity ;
$entity -> set ( $filteredKeys , [ 'guard' => false ]);
$data = $entity -> extract ( $this -> getSchema ()-> columns (), true );
$isNew = $entity -> isNew ();
if ( $isNew ) {
$success = $this -> _insert ( $entity , $data );
} else {
$success = $this -> _update ( $entity , $data );
}
return $entity ;
}
$success = $this -> _executeTransaction (function () use ( $entity , $options ) {
return $this -> _processSave ( $entity , $options );
}, $options [ 'atomic' ]);
if ( $success ) {
if ( $this -> _transactionCommitted ( $options [ 'atomic' ], $options [ '_primary' ])) {
protected function _executeTransaction (callable $worker , bool $atomic = true )
{
if ( $atomic ) {
return $this -> getConnection ()-> transactional (function () use ( $worker ) {
return $worker ();
});
}
return $worker ();
{
$this -> begin ();
try {
$result = $transaction ( $this );
} catch ( Throwable $e ) {
$this -> rollback ( false );
throw $e ;
}
{
if ( $atomic ) {
return $this -> getConnection ()-> transactional (function () use ( $worker ) {
return $worker ();
});
}
return $worker ();
}
}
$success = $this -> _executeTransaction (function () use ( $entity , $options ) {
return $this -> _processSave ( $entity , $options );
}, $options [ 'atomic' ]);
if ( $success ) {
if ( $this -> _transactionCommitted ( $options [ 'atomic' ], $options [ '_primary' ])) {
$this -> dispatchEvent ( 'Model.afterSaveCommit' , compact ( 'entity' , 'options' ));
$conn = ConnectionManager :: get ( 'default' );
try{
$conn -> begin ();
$save_log_access = $this -> save ( $entity_log_access );
if (empty( $save_log_access -> session_id )){
throw new Exception ();
}
// write cookie viewed
$this -> writeCookieViewed ( PAGE_TYPE , PAGE_RECORD_ID );
// cập nhật lượt truy cập
TableRegistry :: get ( 'LogAccess' )-> updateLogAccess ();
}else{
$error = '404' ;
}
protected function _callListener (callable $listener , EventInterface $event )
{
$data = (array) $event -> getData ();
return $listener ( $event , ... array_values ( $data ));
}
/**
* @ inheritDoc
foreach ( $listeners as $listener ) {
if ( $event -> isStopped ()) {
break;
}
$result = $this -> _callListener ( $listener [ 'callable' ], $event );
if ( $result === false ) {
$event -> stopPropagation ();
}
if ( $result !== null ) {
}
/** @var \Cake\Event\EventInterface $event */
$event = new $this -> _eventClass ( $name , $subject , $data );
$this -> getEventManager ()-> dispatch ( $event );
return $event ;
}
}
if ( $layout !== null ) {
$builder -> setLayout ( $layout );
}
$event = $this -> dispatchEvent ( 'Controller.beforeRender' );
if ( $event -> getResult () instanceof Response ) {
return $event -> getResult ();
}
if ( $event -> isStopped ()) {
}
public function index ()
{
$this -> render ( 'index' );
}
public function notFound ()
{
* @ throws \ UnexpectedValueException If return value of action is not ` null ` or ` ResponseInterface ` instance .
*/
public function invokeAction ( Closure $action , array $args ): void
{
$result = $action (... $args );
if ( $result !== null && ! $result instanceof ResponseInterface ) {
throw new UnexpectedValueException ( sprintf (
'Controller actions can only return ResponseInterface instance or null. '
. 'Got %s instead.' ,
}
$action = $controller -> getAction ();
$args = array_values ( $controller -> getRequest ()-> getParam ( 'pass' ));
$controller -> invokeAction ( $action , $args );
$result = $controller -> shutdownProcess ();
if ( $result instanceof ResponseInterface ) {
return $result ;
}
$controller = $this -> controllerFactory -> create ( $request );
return $this -> controllerFactory -> invoke ( $controller );
}
}
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
}
$response = new Response ([
'body' => 'Middleware queue was exhausted without returning a response '
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
}
$response = new Response ([
'body' => 'Middleware queue was exhausted without returning a response '
if ( $method === 'GET' && $cookieData === null ) {
$token = $this -> createToken ();
$request = $request -> withAttribute ( 'csrfToken' , $token );
/** @var mixed $response */
$response = $handler -> handle ( $request );
return $this -> _addTokenCookie ( $token , $request , $response );
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
$this -> queue = $queue ;
$this -> queue -> rewind ();
$this -> fallbackHandler = $fallbackHandler ;
return $this -> handle ( $request );
}
/**
* Handle incoming server request and return a response .
$middleware = new MiddlewareQueue ( $matching );
$runner = new Runner ();
return $runner -> run ( $middleware , $request , $handler );
}
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
$url = $request -> getUri ()-> getPath ();
if ( strpos ( $url , '..' ) !== false || strpos ( $url , '.' ) === false ) {
return $handler -> handle ( $request );
}
if ( strpos ( $url , '/.' ) !== false ) {
return $handler -> handle ( $request );
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
*/
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
try {
return $handler -> handle ( $request );
} catch ( Throwable $exception ) {
return $this -> handleException ( $exception , $request );
}
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
$this -> queue = $queue ;
$this -> queue -> rewind ();
$this -> fallbackHandler = $fallbackHandler ;
return $this -> handle ( $request );
}
/**
* Handle incoming server request and return a response .
}
$this -> dispatchEvent ( 'Server.buildMiddleware' , [ 'middleware' => $middleware ]);
$response = $this -> runner -> run ( $middleware , $request , $this -> app );
if ( $request instanceof ServerRequest ) {
$request -> getSession ()-> close ();
}
// Bind your application to the server.
$server = new Server (new Application ( $core_path . '/config' ));
// Run the request/response through the application and emit the response.
$server -> emit ( $server -> run ());
Could this be caused by using Auto-Tables?
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table "
instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
The class for the specified table does not exist.
The Table was created with a typo: $this->getTableLocator()->get('Atricles');
The class file has a typo in the name or incorrect namespace: class Atricles extends Table
The file containing the class has a typo or incorrect casing: Atricles.php
The Table was used using associations but the association has a typo: $this->belongsTo('Atricles')
The table class resides in a Plugin but no plugin notation was used in the association definition.
Please try correcting the issue for the following table aliases:
Publishing.TemplatesPageContent
If you want to customize this error message, create
templates/Error/error500.php