$node_id = '35408'
$check = array(
'Node' => array(
'id' => '35408',
'tag_id' => null,
'title' => 'Chia tài sản khi ly hôn và quyền lợi của con chung, con riêng?',
'slug' => 'chia-tai-san-khi-ly-hon-va-quyen-loi-cua-con-chung-con-rieng',
'link' => null,
'type' => 'news',
'pos' => '1',
'robots' => '1',
'read' => '145',
'created' => '1460590751',
'modified' => '1770159497',
'edited' => '1687125600',
'status' => '0'
)
)
$read = (int) 146
$data = array()
News::news_detail() - APP/Plugin/Default/Model/News.php, line 175
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 37
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 967
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Trying to access array offset on value of type null [APP/Plugin/Default/Model/News.php, line 175]
$node_id = '35408'
$check = array(
'Node' => array(
'id' => '35408',
'tag_id' => null,
'title' => 'Chia tài sản khi ly hôn và quyền lợi của con chung, con riêng?',
'slug' => 'chia-tai-san-khi-ly-hon-va-quyen-loi-cua-con-chung-con-rieng',
'link' => null,
'type' => 'news',
'pos' => '1',
'robots' => '1',
'read' => '145',
'created' => '1460590751',
'modified' => '1770159497',
'edited' => '1687125600',
'status' => '0'
)
)
$read = (int) 146
$data = array()
News::news_detail() - APP/Plugin/Default/Model/News.php, line 175
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 37
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 967
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined index: Node [APP/Plugin/Default/Model/News.php, line 225]
News::news_detail() - APP/Plugin/Default/Model/News.php, line 225
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 37
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 967
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Trying to access array offset on value of type null [APP/Plugin/Default/Model/News.php, line 225]
News::news_detail() - APP/Plugin/Default/Model/News.php, line 225
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 37
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 967
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined index: Node [APP/Plugin/Default/Model/News.php, line 256]
News::news_detail() - APP/Plugin/Default/Model/News.php, line 256
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 37
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 967
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Trying to access array offset on value of type null [APP/Plugin/Default/Model/News.php, line 256]
News::news_detail() - APP/Plugin/Default/Model/News.php, line 256
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 37
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 967
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
CakePHP: the rapid development php framework:
Errors
Error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'rand' in 'order clause'
SQL Query:
SELECT `Node`.*, `News`.* FROM `luatminhgia_db`.`news` AS `News` INNER JOIN `luatminhgia_db`.`nodes` AS `Node` ON (`News`.`node_id` = `Node`.`id`) INNER JOIN `luatminhgia_db`.`category_linkeds` AS `CategoryLinked` ON (`Node`.`id` = `CategoryLinked`.`node_id`) WHERE `Node`.`type` = 'news' AND `Node`.`status` = 1 AND `CategoryLinked`.`category_id` IS NULL GROUP BY `CategoryLinked`.`node_id` ORDER BY `rand` ASC LIMIT 10
Notice:
If you want to customize this error message, create app/View/Errors/pdo_error.ctp