$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 521 Cake\ORM\Query::addDefaultTypes() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 290 Cake\ORM\Query::__construct() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 184 Cake\ORM\Table::query() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1700 Cake\ORM\Table::find() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1255 App\Model\Table\LinksTable::getLanguageByUrl() /home/nhgeelvk/main_default/src/Model/Table/LinksTable.php, line 117 App\Controller\AppController::beforeFilter() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 87 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::startupProcess() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 644 Cake\Controller\ControllerFactory::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 129 Cake\Controller\ControllerFactory::invoke() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Routing\Middleware\RoutingMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 192 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Routing\Middleware\AssetMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 521 Cake\ORM\Query::addDefaultTypes() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 290 Cake\ORM\Query::__construct() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 184 Cake\ORM\Table::query() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1700 Cake\ORM\Table::find() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1255 App\Model\Table\TemplatesPageTable::getInfoPage() /home/nhgeelvk/main_default/src/Model/Table/TemplatesPageTable.php, line 109 App\Controller\AppController::getPageByUrl() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 365 App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 141 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 App\Controller\PageController::index() /home/nhgeelvk/main_default/src/Controller/PageController.php, line 17 Cake\Controller\Controller::invokeAction() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Routing\Middleware\RoutingMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 192 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Routing\Middleware\AssetMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 521 Cake\ORM\Table::getPrimaryKey() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 659 Cake\ORM\Query::_addAssociationsToTypeMap() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 507 Cake\ORM\Query::contain() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 462 App\Model\Table\TemplatesPageTable::getInfoPage() /home/nhgeelvk/main_default/src/Model/Table/TemplatesPageTable.php, line 109 App\Controller\AppController::getPageByUrl() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 365 App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 141 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 App\Controller\PageController::index() /home/nhgeelvk/main_default/src/Controller/PageController.php, line 17 Cake\Controller\Controller::invokeAction() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Routing\Middleware\RoutingMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 192 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Routing\Middleware\AssetMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 521 Cake\ORM\Query::addDefaultTypes() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 290 Cake\ORM\Query::__construct() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 184 Cake\ORM\Table::query() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1700 Cake\ORM\Table::find() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1255 App\Controller\AppController::getPageByUrl() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 413 App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 141 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 App\Controller\PageController::index() /home/nhgeelvk/main_default/src/Controller/PageController.php, line 17 Cake\Controller\Controller::invokeAction() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Routing\Middleware\RoutingMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 192 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Routing\Middleware\AssetMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 521 Cake\ORM\Query::addDefaultTypes() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 290 Cake\ORM\Query::__construct() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 184 Cake\ORM\Table::query() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1700 Cake\ORM\Table::find() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1255 App\Controller\AppController::getPageByUrl() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 421 App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 141 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 App\Controller\PageController::index() /home/nhgeelvk/main_default/src/Controller/PageController.php, line 17 Cake\Controller\Controller::invokeAction() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Routing\Middleware\RoutingMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 192 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Routing\Middleware\AssetMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
$success = $this->_File->ftruncate(0) &&
$this->_File->fwrite($contents) &&
$this->_File->fflush();
SplFileObject::fwrite() [internal], line ?? Cake\Cache\Engine\FileEngine::set() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 140 Cake\Database\Schema\CachedCollection::describe() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php, line 93 Cake\ORM\Table::getSchema() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 521 Cake\ORM\Query::addDefaultTypes() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 290 Cake\ORM\Query::__construct() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Query.php, line 184 Cake\ORM\Table::query() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1700 Cake\ORM\Table::find() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/ORM/Table.php, line 1255 App\Model\Table\CategoriesTable::getCategoriesChild() /home/nhgeelvk/main_default/src/Model/Table/CategoriesTable.php, line 358 App\Model\Table\CategoriesTable::getAllChildCategoryId() /home/nhgeelvk/main_default/src/Model/Table/CategoriesTable.php, line 373 App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 156 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 App\Controller\PageController::index() /home/nhgeelvk/main_default/src/Controller/PageController.php, line 17 Cake\Controller\Controller::invokeAction() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 547 Cake\Controller\ControllerFactory::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 139 Cake\Controller\ControllerFactory::invoke() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php, line 114 Cake\Http\BaseApplication::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/BaseApplication.php, line 320 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 86 Cake\Http\Middleware\CsrfProtectionMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php, line 164 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Routing\Middleware\RoutingMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php, line 192 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Routing\Middleware\AssetMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 131 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_URL', $url);
define('PAGE_RECORD_ID', $page_record_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 160 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_URL', $url);
define('PAGE_RECORD_ID', $page_record_id);
define('PAGE_TAG_ID', $tag_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 161 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_RECORD_ID', $page_record_id);
define('PAGE_TAG_ID', $tag_id);
define('PAGE_CATEGORY_ID', $page_category_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 162 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_TAG_ID', $tag_id);
define('PAGE_CATEGORY_ID', $page_category_id);
define('PAGE_BRAND_ID', $page_brand_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 163 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_CATEGORY_ID', $page_category_id);
define('PAGE_BRAND_ID', $page_brand_id);
define('PAGE_CATEGORIES_ID', $page_categories_id);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 164 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_BRAND_ID', $page_brand_id);
define('PAGE_CATEGORIES_ID', $page_categories_id);
define('PAGE_TYPE', $type);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 165 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_CATEGORIES_ID', $page_categories_id);
define('PAGE_TYPE', $type);
define('PAGE_CODE', $code);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 166 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_TYPE', $type);
define('PAGE_CODE', $code);
define('PAGE_VERSION', $version);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 167 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
define('PAGE_CODE', $code);
define('PAGE_VERSION', $version);
define [internal], line ?? App\Controller\AppController::beforeRender() /home/nhgeelvk/main_default/src/Controller/AppController.php, line 168 App\Controller\ErrorController::beforeRender() /home/nhgeelvk/main_default/src/Controller/ErrorController.php, line 64 Cake\Event\EventManager::_callListener() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 309 Cake\Event\EventManager::dispatch() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventManager.php, line 286 Cake\Controller\Controller::dispatchEvent() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92 Cake\Controller\Controller::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Controller/Controller.php, line 759 Cake\Error\Renderer\WebExceptionRenderer::_outputMessage() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 421 Cake\Error\Renderer\WebExceptionRenderer::render() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 292 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 162 Cake\Error\Middleware\ErrorHandlerMiddleware::process() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 135 Cake\Http\Runner::handle() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 82 Cake\Http\Runner::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Runner.php, line 67 Cake\Http\Server::run() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 90 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
Cake\Http\ResponseEmitter::emit() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71 Cake\Http\Server::emit() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
header [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168 Cake\Http\ResponseEmitter::emit() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 74 Cake\Http\Server::emit() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
foreach ($values as $value) {
header(sprintf(
'%s: %s',
header [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197 Cake\Http\ResponseEmitter::emit() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 75 Cake\Http\Server::emit() /home/nhgeelvk/main_default/vendor/cakephp/cakephp/src/Http/Server.php, line 128 [main] /home/nhgeelvk/nittan.vn/index.php, line 33
CORE/src/Error/Renderer/HtmlErrorRenderer.php
on line 36
📋
$products_viewed = $session->read('PRODUCTS_VIEWED');
|
|
if (empty($products_viewed)) $products_viewed = [];
|
|
if (in_array($page_record_id, $products_viewed)) return;
|
|
array_push($products_viewed, $page_record_id);
|
|
$session->write('PRODUCTS_VIEWED', $products_viewed);
|
|
|
|
$table = TableRegistry::get('Products');
|
|
$get_view = $table->find()->where(['id' => $page_record_id])->select(['view'])->first();
|
|
$view = !empty($get_view['view']) ? intval($get_view['view']) : 0;
|
$page_type = defined('PAGE_TYPE') ? PAGE_TYPE : null;
|
|
|
|
$session = $this->controller->getRequest()->getSession();
|
|
// update the number of views of the product or article
|
|
$this->setCountView($type, $page_type, $page_record_id);
|
|
|
|
// get data of block
|
|
$use_cache = !empty($config['cache']) ? true : false;
|
|
if(!$read_cache){
|
|
|
}
|
|
|
|
// get data of block
|
|
$block_info['data_block'] = $block_component->getDataBlock($block_info);
|
|
|
|
// check block use cache
|
|
$cache_block = !empty($config['cache']) ? true : false;
|
|
if(!$cache_block){
|
$devive = DEVICE;
|
|
if(!empty(TABLET)){
|
|
$devive = 2;
|
|
}
|
|
$structure_page = $this->getStructurePage(PAGE_CODE, $devive, true, PAGE_RECORD_ID);
|
|
$blocks = !empty($structure_page['blocks']) ? $structure_page['blocks'] : [];
|
|
$structure = !empty($structure_page['structure']) ? $structure_page['structure'] : [];
|
|
$cache_page = !empty($structure_page['cache']) ? true : false;
|
|
|
$session = $this->request->getSession();
|
|
|
|
if(!empty($code)){
|
|
// get structure of page
|
|
$structure_page = $this->getDataForTemplate();
|
|
$blocks = !empty($structure_page['blocks']) ? $structure_page['blocks'] : [];
|
|
$structure = !empty($structure_page['structure']) ? $structure_page['structure'] : [];
|
|
$cache_page = !empty($structure_page['cache']) ? true : false;
|
|
|
protected function _callListener(callable $listener, EventInterface $event) |
|
{ |
|
$data = (array)$event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* @inheritDoc |
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
} |
|
|
|
/** @var \Cake\Event\EventInterface $event */ |
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
if ($layout !== null) { |
|
$builder->setLayout($layout); |
|
} |
|
|
|
$event = $this->dispatchEvent('Controller.beforeRender'); |
|
if ($event->getResult() instanceof Response) { |
|
return $event->getResult(); |
|
} |
|
if ($event->isStopped()) { |
}
|
|
|
|
public function index()
|
|
{
|
|
$this->render('index');
|
|
}
|
|
|
|
public function notFound()
|
|
{
|
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $handler); |
|
} |
|
} |
|
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $handler->handle($request); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
// Bind your application to the server.
|
|
$server = new Server(new Application($core_path . '/config'));
|
|
|
|
// Run the request/response through the application and emit the response.
|
|
$server->emit($server->run());
|
|
|
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