Notice (8): Undefined index: Article [APP/Controller/FrontendsController.php, line 988]Code Context$detail = $this->Article->find("first", array("conditions" => array("Article.id" => $id)));
$kategori_id = $detail["Article"]["article_category_id"];
$id = '280' $detail = array()FrontendsController::article_detail() - APP/Controller/FrontendsController.php, line 988 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Notice (8): Undefined index: ArticleCategory [APP/Controller/FrontendsController.php, line 990]Code Context$kategori_id = $detail["Article"]["article_category_id"];
$art_kategori = $this->ArticleCategory->find("first", array("conditions" => array("ArticleCategory.id" => $kategori_id)));
$art_menuid = $art_kategori["ArticleCategory"]["menu_id"];
$id = '280' $detail = array() $kategori_id = null $art_kategori = array()FrontendsController::article_detail() - APP/Controller/FrontendsController.php, line 990 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Notice (8): Undefined index: Article [APP/Controller/FrontendsController.php, line 999]Code Context)
);
$title_for_layout = $detail["Article"][$this->lang["title"]];
$id = '280' $detail = array() $kategori_id = null $art_kategori = array() $art_menuid = null $cek_id = null $data = array( (int) 0 => array( 'element_name' => 'sidebar_info' ) )FrontendsController::article_detail() - APP/Controller/FrontendsController.php, line 999 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Notice (8): Undefined index: Article [APP/Controller/FrontendsController.php, line 1000]Code Context);
$title_for_layout = $detail["Article"][$this->lang["title"]];
$title_for_meta = $detail["Article"]["en_lang"];
$id = '280' $detail = array() $kategori_id = null $art_kategori = array() $art_menuid = null $cek_id = null $data = array( (int) 0 => array( 'element_name' => 'sidebar_info' ) ) $title_for_layout = nullFrontendsController::article_detail() - APP/Controller/FrontendsController.php, line 1000 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Warning (2): krsort() expects parameter 1 to be array, null given [APP/Controller/FrontendsController.php, line 1004]Code Context$getloopid= "";
$showcrum = $this->breadcrum_user($art_menuid, $getloopid);
krsort($showcrum);
$id = '280' $detail = array() $kategori_id = null $art_kategori = array() $art_menuid = null $cek_id = null $data = array( (int) 0 => array( 'element_name' => 'sidebar_info' ) ) $title_for_layout = null $title_for_meta = null $getloopid = '' $showcrum = nullkrsort - [internal], line ?? FrontendsController::article_detail() - APP/Controller/FrontendsController.php, line 1004 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Notice (8): Undefined index: Article [APP/Controller/FrontendsController.php, line 1006]Code Contextkrsort($showcrum);
$meta_description = $detail["Article"]["meta_description"];
$id = '280' $detail = array() $kategori_id = null $art_kategori = array() $art_menuid = null $cek_id = null $data = array( (int) 0 => array( 'element_name' => 'sidebar_info' ) ) $title_for_layout = null $title_for_meta = null $getloopid = '' $showcrum = nullFrontendsController::article_detail() - APP/Controller/FrontendsController.php, line 1006 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Notice (8): Undefined index: Article [APP/Controller/FrontendsController.php, line 1007]Code Context
$meta_description = $detail["Article"]["meta_description"];
$meta_keywords = $detail["Article"]["meta_keywords"];
$id = '280' $detail = array() $kategori_id = null $art_kategori = array() $art_menuid = null $cek_id = null $data = array( (int) 0 => array( 'element_name' => 'sidebar_info' ) ) $title_for_layout = null $title_for_meta = null $getloopid = '' $showcrum = null $meta_description = nullFrontendsController::article_detail() - APP/Controller/FrontendsController.php, line 1007 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Notice (8): Undefined index: Article [APP/Controller/FrontendsController.php, line 1008]Code Context$meta_description = $detail["Article"]["meta_description"];
$meta_keywords = $detail["Article"]["meta_keywords"];
$meta_img = $detail["Article"]["image1"];
$id = '280' $detail = array() $kategori_id = null $art_kategori = array() $art_menuid = null $cek_id = null $data = array( (int) 0 => array( 'element_name' => 'sidebar_info' ) ) $title_for_layout = null $title_for_meta = null $getloopid = '' $showcrum = null $meta_description = null $meta_keywords = nullFrontendsController::article_detail() - APP/Controller/FrontendsController.php, line 1008 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Article.id LIMIT 1' at line 1
SQL Query: SELECT * FROM t_articles AS Article WHERE Article.id > 280 AND Article.article_category_id = ORDER BY Article.id LIMIT 1
Notice: If you want to customize this error message, create public_html/View/Errors/pdo_error.ctp
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_results = $query;
array()
$options += array('log' => $this->fullDebug);
$t = microtime(true);
$this->_result = $this->_execute($sql, $params);
'SELECT * FROM t_articles AS Article WHERE Article.id > 280 AND Article.article_category_id = ORDER BY Article.id LIMIT 1' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
if ($result = $this->execute($sql, array(), $params)) {
$out = array();
'SELECT * FROM t_articles AS Article WHERE Article.id > 280 AND Article.article_category_id = ORDER BY Article.id LIMIT 1' array() array()
$recursive = null;
if (count($args) === 1) {
return $this->fetchAll($args[0]);
} elseif (count($args) > 1 && (strpos($args[0], 'findBy') === 0 || strpos($args[0], 'findAllBy') === 0)) {
'SELECT * FROM t_articles AS Article WHERE Article.id > 280 AND Article.article_category_id = ORDER BY Article.id LIMIT 1'
'SELECT * FROM t_articles AS Article WHERE Article.id > 280 AND Article.article_category_id = ORDER BY Article.id LIMIT 1'
public function query($sql) {
$params = func_get_args();
$db = $this->getDataSource();
return call_user_func_array(array(&$db, 'query'), $params);
}
array( (int) 0 => object(Mysql) {}, (int) 1 => 'query' ) array( (int) 0 => 'SELECT * FROM t_articles AS Article WHERE Article.id > 280 AND Article.article_category_id = ORDER BY Article.id LIMIT 1' )
$meta_img = $detail["Article"]["image1"];
$img_jns = 'articles';
$nextbtn = $this->Article->query("SELECT * FROM t_articles AS Article WHERE Article.id > ".$id." AND Article.article_category_id = ".$kategori_id." ORDER BY Article.id LIMIT 1");
$prevbtn = $this->Article->query("SELECT * FROM t_articles AS Article WHERE Article.id < ".$id." AND Article.article_category_id = ".$kategori_id." ORDER BY Article.id DESC LIMIT 1");
'SELECT * FROM t_articles AS Article WHERE Article.id > 280 AND Article.article_category_id = ORDER BY Article.id LIMIT 1'
'280' 'konsistensi-satu-abad-jamu-iboe-di-industri-herbal-indonesia'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(FrontendsController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) lang => array( [maximum depth reached] ) slide => '' message => '' name => 'Frontends' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Frontends' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'article_detail' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => '' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Frontend' modelKey => 'frontend' validationErrors => null Session => object(SessionComponent) {} Captcha => object(CaptchaComponent) {} WebSetting => object(WebSetting) {} Menu => object(Menu) {} Slide => object(Slide) {} MenuDetail => object(MenuDetail) {} MenuType => object(MenuType) {} Content => object(Content) {} Module => object(Module) {} ProductCategory => object(ProductCategory) {} ProductGroup => object(ProductGroup) {} PushedProduct => object(PushedProduct) {} Product => object(Product) {} ArticleCategory => object(ArticleCategory) {} Article => object(Article) {} Banner => object(AppModel) {} ProductType => object(ProductType) {} ProductTypeDetail => object(ProductTypeDetail) {} Event => object(Event) {} EventUpcoming => object(EventUpcoming) {} EventPast => object(EventPast) {} Question => object(Question) {} Answer => object(Answer) {} Contact => object(Contact) {} Shortcut => object(AppModel) {} Email => object(Email) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => '280', (int) 1 => 'konsistensi-satu-abad-jamu-iboe-di-industri-herbal-indonesia' )
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'frontends/article_detail/280/konsistensi-satu-abad-jamu-iboe-di-industri-herbal-indonesia' base => '' webroot => '/' here => '/frontends/article_detail/280/konsistensi-satu-abad-jamu-iboe-di-industri-herbal-indonesia' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(FrontendsController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) lang => array( [maximum depth reached] ) slide => '' message => '' name => 'Frontends' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Frontends' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'article_detail' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => '' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Frontend' modelKey => 'frontend' validationErrors => null Session => object(SessionComponent) {} Captcha => object(CaptchaComponent) {} WebSetting => object(WebSetting) {} Menu => object(Menu) {} Slide => object(Slide) {} MenuDetail => object(MenuDetail) {} MenuType => object(MenuType) {} Content => object(Content) {} Module => object(Module) {} ProductCategory => object(ProductCategory) {} ProductGroup => object(ProductGroup) {} PushedProduct => object(PushedProduct) {} Product => object(Product) {} ArticleCategory => object(ArticleCategory) {} Article => object(Article) {} Banner => object(AppModel) {} ProductType => object(ProductType) {} ProductTypeDetail => object(ProductTypeDetail) {} Event => object(Event) {} EventUpcoming => object(EventUpcoming) {} EventPast => object(EventPast) {} Question => object(Question) {} Answer => object(Answer) {} Contact => object(Contact) {} Shortcut => object(AppModel) {} Email => object(Email) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'frontends/article_detail/280/konsistensi-satu-abad-jamu-iboe-di-industri-herbal-indonesia' base => '' webroot => '/' here => '/frontends/article_detail/280/konsistensi-satu-abad-jamu-iboe-di-industri-herbal-indonesia' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'frontends/article_detail/280/konsistensi-satu-abad-jamu-iboe-di-industri-herbal-indonesia' base => '' webroot => '/' here => '/frontends/article_detail/280/konsistensi-satu-abad-jamu-iboe-di-industri-herbal-indonesia' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }