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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_RECORD_ID already defined [APP/Controller/AppController.php, line 158]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_TAG_ID already defined [APP/Controller/AppController.php, line 159]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_CATEGORY_ID already defined [APP/Controller/AppController.php, line 160]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_BRAND_ID already defined [APP/Controller/AppController.php, line 161]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_CATEGORIES_ID already defined [APP/Controller/AppController.php, line 162]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_TYPE already defined [APP/Controller/AppController.php, line 163]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_CODE already defined [APP/Controller/AppController.php, line 164]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_VERSION already defined [APP/Controller/AppController.php, line 165]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_RECORD_ID already defined [APP/Controller/AppController.php, line 158]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_TAG_ID already defined [APP/Controller/AppController.php, line 159]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_CATEGORY_ID already defined [APP/Controller/AppController.php, line 160]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_BRAND_ID already defined [APP/Controller/AppController.php, line 161]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_CATEGORIES_ID already defined [APP/Controller/AppController.php, line 162]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_TYPE already defined [APP/Controller/AppController.php, line 163]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_CODE already defined [APP/Controller/AppController.php, line 164]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Notice (8): Constant PAGE_VERSION already defined [APP/Controller/AppController.php, line 165]Code Contextdefine('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' => 'thi-truong-chung-khoan-chi-tiet', 'code' => 'oqar49w', '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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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 = 'thi-truong-chung-khoan-chi-tiet' $code = 'oqar49w' $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) 216, 'template_code' => 'fashion02', 'layout_code' => '2z9evbs', 'code' => 'oqar49w', 'name' => 'Thị trường_Chứng khoán chi tiết', 'page_type' => 'page', 'type' => 'normal', 'category_id' => null, 'created' => (int) 1665309409, 'updated' => (int) 1665908150, 'url' => 'thi-truong-chung-khoan-chi-tiet', '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::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 384 Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 248 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 138 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Warning (512): Unable to emit headers. Headers sent in file=/home/mytrade/domains/mytrade.vn/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: Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes) </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>Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes)</span> <a>📋</a> </h1> <span class="header-type">Cake\Error\FatalErrorException</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"> /home/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.php:178 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">Cake\Error\BaseErrorHandler->handleFatalError</span> <span class="stack-file"> CORE/src/Error/BaseErrorHandler.php:122 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-2"> <span class="stack-function">Cake\Error\BaseErrorHandler->Cake\Error\{closure}</span> <span class="stack-file"> [internal]:?? </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/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.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="174"></td> <td class="excerpt-line"><code><span style="color: #000000">"><td class="firt-child-td"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><strong><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="175"></td> <td class="excerpt-line"><code><span style="color: #000000"></strong><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><span><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="176"></td> <td class="excerpt-line"><code><span style="color: #000000"></span><span style="color: #0000BB"><?php </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="177"></td> <td class="excerpt-line"><code><span style="color: #000000">}?></td><td stock-buy="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="178"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000">" class="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'class_color'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">;</span><span style="color: #0000BB">?></span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="179"></td> <td class="excerpt-line"><code><span style="color: #000000">"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'B1'</span><span style="color: #007700">])) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="180"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'B1'</span><span style="color: #007700">];</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="181"></td> <td class="excerpt-line"><code><span style="color: #000000">}?></td><td stock-sell="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="182"></td> <td class="excerpt-line"><code><span style="color: #000000">"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'S1'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><span class="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'class_color'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">;</span><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/mytrade/domains/mytrade.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.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="118"></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">handleFatalError</span><span style="color: #007700">(</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="119"></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">'type'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="120"></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">'message'</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"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'file'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="122"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'line'</span><span style="color: #007700">]</span></span></code></span></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> <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">});</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"> </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"></span></span></code></td> </tr> </table> <div id="stack-args-1" style="display: none;"> <pre>(int) 1 'Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes)' '/home/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.php' (int) 178</pre> </div> </div> <div id="stack-frame-2" style="display:none;" class="stack-details"> <div class="stack-frame-header"> <span class="stack-frame-file">[internal]</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"> </table> <div id="stack-args-2" 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/mytrade/domains/mytrade.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 841 $message = 'Unable to emit headers. Headers sent in file=/home/mytrade/domains/mytrade.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php line=841'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 71 Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 214 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Warning (2): Cannot modify header information - headers already sent by (output started at /home/mytrade/domains/mytrade.vn/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: Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes) </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>Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes)</span> <a>📋</a> </h1> <span class="header-type">Cake\Error\FatalErrorException</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"> /home/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.php:178 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">Cake\Error\BaseErrorHandler->handleFatalError</span> <span class="stack-file"> CORE/src/Error/BaseErrorHandler.php:122 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-2"> <span class="stack-function">Cake\Error\BaseErrorHandler->Cake\Error\{closure}</span> <span class="stack-file"> [internal]:?? </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/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.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="174"></td> <td class="excerpt-line"><code><span style="color: #000000">"><td class="firt-child-td"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><strong><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="175"></td> <td class="excerpt-line"><code><span style="color: #000000"></strong><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><span><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="176"></td> <td class="excerpt-line"><code><span style="color: #000000"></span><span style="color: #0000BB"><?php </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="177"></td> <td class="excerpt-line"><code><span style="color: #000000">}?></td><td stock-buy="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="178"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000">" class="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'class_color'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">;</span><span style="color: #0000BB">?></span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="179"></td> <td class="excerpt-line"><code><span style="color: #000000">"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'B1'</span><span style="color: #007700">])) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="180"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'B1'</span><span style="color: #007700">];</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="181"></td> <td class="excerpt-line"><code><span style="color: #000000">}?></td><td stock-sell="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="182"></td> <td class="excerpt-line"><code><span style="color: #000000">"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'S1'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><span class="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'class_color'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">;</span><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/mytrade/domains/mytrade.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.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="118"></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">handleFatalError</span><span style="color: #007700">(</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="119"></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">'type'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="120"></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">'message'</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"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'file'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="122"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'line'</span><span style="color: #007700">]</span></span></code></span></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> <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">});</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"> </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"></span></span></code></td> </tr> </table> <div id="stack-args-1" style="display: none;"> <pre>(int) 1 'Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes)' '/home/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.php' (int) 178</pre> </div> </div> <div id="stack-frame-2" style="display:none;" class="stack-details"> <div class="stack-frame-header"> <span class="stack-frame-file">[internal]</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"> </table> <div id="stack-args-2" 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\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 214 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
Warning (2): Cannot modify header information - headers already sent by (output started at /home/mytrade/domains/mytrade.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/Debugger.php:841) [CORE/src/Http/ResponseEmitter.php, line 197]Code Contextforeach ($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: Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes) </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>Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes)</span> <a>📋</a> </h1> <span class="header-type">Cake\Error\FatalErrorException</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"> /home/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.php:178 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">Cake\Error\BaseErrorHandler->handleFatalError</span> <span class="stack-file"> CORE/src/Error/BaseErrorHandler.php:122 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-2"> <span class="stack-function">Cake\Error\BaseErrorHandler->Cake\Error\{closure}</span> <span class="stack-file"> [internal]:?? </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/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.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="174"></td> <td class="excerpt-line"><code><span style="color: #000000">"><td class="firt-child-td"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><strong><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="175"></td> <td class="excerpt-line"><code><span style="color: #000000"></strong><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><span><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'name'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="176"></td> <td class="excerpt-line"><code><span style="color: #000000"></span><span style="color: #0000BB"><?php </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="177"></td> <td class="excerpt-line"><code><span style="color: #000000">}?></td><td stock-buy="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="178"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000">" class="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'class_color'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">;</span><span style="color: #0000BB">?></span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="179"></td> <td class="excerpt-line"><code><span style="color: #000000">"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'B1'</span><span style="color: #007700">])) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="180"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'B1'</span><span style="color: #007700">];</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="181"></td> <td class="excerpt-line"><code><span style="color: #000000">}?></td><td stock-sell="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'SB'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="182"></td> <td class="excerpt-line"><code><span style="color: #000000">"><span style="color: #0000BB"><?php </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'item'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">[</span><span style="color: #DD0000">'S1'</span><span style="color: #007700">])) {</span><span style="color: #0000BB">?></span><span class="<span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$_smarty_tpl</span><span style="color: #007700">-></span><span style="color: #0000BB">tpl_vars</span><span style="color: #007700">[</span><span style="color: #DD0000">'class_color'</span><span style="color: #007700">]-></span><span style="color: #0000BB">value</span><span style="color: #007700">;</span><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/mytrade/domains/mytrade.vn/public_html/web4s/vendor/cakephp/cakephp/src/Error/BaseErrorHandler.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="118"></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">handleFatalError</span><span style="color: #007700">(</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="119"></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">'type'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="120"></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">'message'</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"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'file'</span><span style="color: #007700">],</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="122"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $error</span><span style="color: #007700">[</span><span style="color: #DD0000">'line'</span><span style="color: #007700">]</span></span></code></span></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> <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">});</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"> </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"></span></span></code></td> </tr> </table> <div id="stack-args-1" style="display: none;"> <pre>(int) 1 'Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes)' '/home/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.php' (int) 178</pre> </div> </div> <div id="stack-frame-2" style="display:none;" class="stack-details"> <div class="stack-frame-header"> <span class="stack-frame-file">[internal]</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"> </table> <div id="stack-args-2" 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 = [] $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\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 214 Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139 Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 221 Cake\Error\BaseErrorHandler::handleFatalError() - CORE/src/Error/BaseErrorHandler.php, line 260 Cake\Error\BaseErrorHandler::Cake\Error\{closure}() - CORE/src/Error/BaseErrorHandler.php, line 122 [main] - [internal], line ??
"><td class="firt-child-td"><?php if (!empty($_smarty_tpl->tpl_vars['item']->value['SB'])) {?><strong><?php echo $_smarty_tpl->tpl_vars['item']->value['SB'];?> |
|
</strong><?php if (!empty($_smarty_tpl->tpl_vars['item']->value['name'])) {?><span><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?> |
|
</span><?php } |
|
}?></td><td stock-buy="<?php echo $_smarty_tpl->tpl_vars['item']->value['SB'];?> |
|
" class="<?php echo $_smarty_tpl->tpl_vars['class_color']->value;?> |
|
"><?php if (!empty($_smarty_tpl->tpl_vars['item']->value['B1'])) { |
|
echo $_smarty_tpl->tpl_vars['item']->value['B1']; |
|
}?></td><td stock-sell="<?php echo $_smarty_tpl->tpl_vars['item']->value['SB'];?> |
|
"><?php if (!empty($_smarty_tpl->tpl_vars['item']->value['S1'])) {?><span class="<?php echo $_smarty_tpl->tpl_vars['class_color']->value;?> |
$this->handleFatalError( |
|
$error['type'], |
|
$error['message'], |
|
$error['file'], |
|
$error['line'] |
|
); |
|
}); |
|
} |
|
|
(int) 1 'Allowed memory size of 536870912 bytes exhausted (tried to allocate 383782912 bytes)' '/home/mytrade/domains/mytrade.vn/public_html/tmp/cache/views/a7e3b571937f69448fafe40a3916d5106a77013d_0.file.kxuomrp.tpl.php' (int) 178
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:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create templates/Error/error500.php