Notice (8): Constant PAGE_URL already defined [APP/Controller/AppController.php, line 161]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[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] - /www/wwwroot/tcr.vn/index.php, line 35
Notice (8): Constant PAGE_RECORD_ID already defined [APP/Controller/AppController.php, line 162]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[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] - /www/wwwroot/tcr.vn/index.php, line 35
Notice (8): Constant PAGE_TAG_ID already defined [APP/Controller/AppController.php, line 163]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[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] - /www/wwwroot/tcr.vn/index.php, line 35
Notice (8): Constant PAGE_CATEGORY_ID already defined [APP/Controller/AppController.php, line 164]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[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] - /www/wwwroot/tcr.vn/index.php, line 35
Notice (8): Constant PAGE_BRAND_ID already defined [APP/Controller/AppController.php, line 165]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[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] - /www/wwwroot/tcr.vn/index.php, line 35
Notice (8): Constant PAGE_CATEGORIES_ID already defined [APP/Controller/AppController.php, line 166]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
}define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 166
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] - /www/wwwroot/tcr.vn/index.php, line 35
Notice (8): Constant PAGE_TYPE already defined [APP/Controller/AppController.php, line 167]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
}define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 167
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] - /www/wwwroot/tcr.vn/index.php, line 35
Notice (8): Constant PAGE_CODE already defined [APP/Controller/AppController.php, line 168]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
}define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 168
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] - /www/wwwroot/tcr.vn/index.php, line 35
Notice (8): Constant PAGE_VERSION already defined [APP/Controller/AppController.php, line 169]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' => 'gioi-thieu-ve-cong-ty',
'code' => '1cwafnt',
'type' => 'normal',
'version' => null,
'page_record_id' => null,
'article_id' => null,
'product_id' => null,
'tag_id' => null,
'category_id' => null,
'brand_id' => null,
'page_info' => object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[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 = 'gioi-thieu-ve-cong-ty'
$code = '1cwafnt'
$type = 'normal'
$version = null
$page_record_id = null
$product_id = null
$article_id = null
$tag_id = null
$page_category_id = null
$page_brand_id = null
$page_categories_id = []
$page_info = object(Cake\ORM\Entity) {
'id' => (int) 21,
'template_code' => 'fashion02',
'layout_code' => '2z9evbs',
'code' => '1cwafnt',
'name' => 'Giới thiệu công ty',
'page_type' => 'page',
'type' => 'normal',
'category_id' => null,
'created' => (int) 1695288821,
'updated' => (int) 1696474300,
'url' => 'gioi-thieu-ve-cong-ty',
'lang' => 'vi',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'url' => true,
'lang' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'TemplatesPage'
}define - [internal], line ??
App\Controller\AppController::beforeRender() - APP/Controller/AppController.php, line 169
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] - /www/wwwroot/tcr.vn/index.php, line 35
Warning (512): Unable to emit headers. Headers sent in file=/www/wwwroot/tcr.vn/core/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' => 'An Internal Server Error Occurred'
}
$file = '/www/wwwroot/tcr.vn/core/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 841
$message = 'Unable to emit headers. Headers sent in file=/www/wwwroot/tcr.vn/core/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] - /www/wwwroot/tcr.vn/index.php, line 35
Warning (2): Cannot modify header information - headers already sent by (output started at /www/wwwroot/tcr.vn/core/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' => 'An Internal Server Error Occurred'
}
$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] - /www/wwwroot/tcr.vn/index.php, line 35
Warning (2): Cannot modify header information - headers already sent by (output started at /www/wwwroot/tcr.vn/core/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' => 'An Internal Server Error Occurred'
}
$cookies = []
$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] - /www/wwwroot/tcr.vn/index.php, line 35
An Internal Server Error Occurred