<?php if (is_numeric($current_category['Category']['parent_id']) && $current_category['Category']['parent_id'] > 0) {
CcontentComponent::get_filter_hang() - APP/Controller/Component/CcontentComponent.php, line 150
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 272
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Trying to access array offset on null [APP/Controller/Component/CcontentComponent.php, line 150]
<?php if (is_numeric($current_category['Category']['parent_id']) && $current_category['Category']['parent_id'] > 0) {
CcontentComponent::get_filter_hang() - APP/Controller/Component/CcontentComponent.php, line 150
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 272
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Undefined array key "Category" [APP/Controller/Component/CcontentComponent.php, line 277]
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 277
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Trying to access array offset on null [APP/Controller/Component/CcontentComponent.php, line 277]
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 277
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Undefined array key "Category" [APP/Controller/Component/CcontentComponent.php, line 310]
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 310
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Trying to access array offset on null [APP/Controller/Component/CcontentComponent.php, line 310]
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 310
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Undefined array key "Category" [APP/Plugin/Default/Model/Node.php, line 150]
Node::getCategoryTree() - APP/Plugin/Default/Model/Node.php, line 150
Node::getPaginate() - APP/Plugin/Default/Model/Node.php, line 22
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 310
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Trying to access array offset on null [APP/Plugin/Default/Model/Node.php, line 150]
Node::getCategoryTree() - APP/Plugin/Default/Model/Node.php, line 150
Node::getPaginate() - APP/Plugin/Default/Model/Node.php, line 22
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 310
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Undefined array key "Category" [APP/Plugin/Default/Model/Node.php, line 151]
Node::getCategoryTree() - APP/Plugin/Default/Model/Node.php, line 151
Node::getPaginate() - APP/Plugin/Default/Model/Node.php, line 22
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 310
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
Warning (2): Trying to access array offset on null [APP/Plugin/Default/Model/Node.php, line 151]
Node::getCategoryTree() - APP/Plugin/Default/Model/Node.php, line 151
Node::getPaginate() - APP/Plugin/Default/Model/Node.php, line 22
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 310
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 75
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 699
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 213
CakePHP: the rapid development php framework:
Errors
Error:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '* FROM `mogxvnlv_mogxvnlv`.`nodes` AS `Node` INNER JOIN ON (`Node`.`id`=.no...' at line 1
SQL Query:
SELECT `Node`.*, .* FROM `mogxvnlv_mogxvnlv`.`nodes` AS `Node` INNER JOIN ON (`Node`.`id`=.node_id) INNER JOIN `mogxvnlv_mogxvnlv`.`category_linkeds` AS `CategoryLinked` ON (`Node`.`id` = `CategoryLinked`.`node_id`) WHERE `Node`.`status` = 1 AND `Node`.`type` IS NULL AND `CategoryLinked`.`category_id` IS NULL GROUP BY `CategoryLinked`.`node_id` ORDER BY `Node`.`pos` desc, `Node`.`id` desc LIMIT 10
Notice:
If you want to customize this error message, create app/View/Errors/pdo_error.ctp
SELECT `Hang`.`id`, `Hang`.`title`, `Hang`.`slug`, `Hang`.`image`, `Hang`.`description`, `Hang`.`content`, `Hang`.`website`, `Hang`.`featured`, `Hang`.`status`, `Hang`.`pos`, `Hang`.`test2`, `Hang`.`test_field` FROM `mogxvnlv_mogxvnlv`.`hangs` AS `Hang` WHERE `Hang`.`status` = 1 ORDER BY `Hang`.`pos` desc, `Hang`.`id` desc
3
3
0
2
SELECT `Lang`.`id`, `Lang`.`key`, `Lang`.`vi`, `Lang`.`en`, `Lang`.`jp`, `Lang`.`cn`, `Lang`.`kr`, `Lang`.`pos` FROM `mogxvnlv_mogxvnlv`.`langs` AS `Lang` WHERE 1 = 1
75
75
1
3
SELECT Setting.name, Setting.value FROM `mogxvnlv_mogxvnlv`.`settings` AS `Setting` WHERE 1 = 1
38
38
0
4
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`parent_id` IS NULL AND `Category`.`menu` = 1 ORDER BY `Node`.`pos` DESC, `Node`.`id` DESC
8
8
1
5
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`navbar` = 1 ORDER BY `Node`.`pos` desc, `Node`.`id` desc
0
0
1
6
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`sidebar` = 1 ORDER BY `Node`.`pos` desc, `Node`.`id` desc
3
3
1
7
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`home_menu` = 1 ORDER BY `Node`.`pos` desc, `Node`.`id` desc
5
5
1
8
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`dropdown` = 1 ORDER BY `Node`.`pos` desc, `Node`.`id` desc
0
0
1
9
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`footer_1` = 1 ORDER BY `Node`.`pos` desc, `Node`.`id` desc
3
3
1
10
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`footer_2` = 1 ORDER BY `Node`.`pos` desc, `Node`.`id` desc
3
3
1
11
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`footer_3` = 1 ORDER BY `Node`.`pos` desc, `Node`.`id` desc
4
4
1
12
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id` = `Category`.`node_id`) WHERE `Node`.`status` = 1 AND `Category`.`footer_4` = 1 ORDER BY `Node`.`pos` desc, `Node`.`id` desc
3
3
1
13
SELECT `Banner`.`id`, `Banner`.`title`, `Banner`.`description`, `Banner`.`image`, `Banner`.`images`, `Banner`.`link`, `Banner`.`type`, `Banner`.`category_id`, `Banner`.`collection_id`, `Banner`.`pos`, `Banner`.`status` FROM `mogxvnlv_mogxvnlv`.`banners` AS `Banner` WHERE `Banner`.`status` = 1 ORDER BY `Banner`.`pos` DESC, `Banner`.`id` DESC
20
20
0
14
SELECT `Size`.* FROM `mogxvnlv_mogxvnlv`.`sizes` AS `Size` WHERE `Size`.`status` = 1 ORDER BY `Size`.`pos` desc, `Size`.`id` desc
0
0
0
15
SELECT `Color`.* FROM `mogxvnlv_mogxvnlv`.`colors` AS `Color` WHERE `Color`.`status` = 1 ORDER BY `Color`.`pos` desc, `Color`.`id` desc
0
0
0
16
SELECT `Node`.`id`, `Node`.`title`, `Node`.`slug`, `Node`.`link`, `Node`.`type`, `Node`.`pos`, `Node`.`robots`, `Node`.`views`, `Node`.`lang`, `Node`.`lang_node_id`, `Node`.`is_ai_content`, `Node`.`created`, `Node`.`modified`, `Node`.`status` FROM `mogxvnlv_mogxvnlv`.`nodes` AS `Node` WHERE `Node`.`slug` = 'muc' LIMIT 1
1
1
0
17
SELECT `Node`.*, `Category`.* FROM `mogxvnlv_mogxvnlv`.`categories` AS `Category` INNER JOIN `mogxvnlv_mogxvnlv`.`nodes` AS `Node` ON (`Node`.`id`=`Category`.`node_id`) WHERE `Node`.`id` = 26 LIMIT 1