PostsController::_view() - APP/Controller/PostsController.php, line 164
PostsController::index() - APP/Controller/PostsController.php, line 33
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98
Notice (8): Undefined index: PostCategory [APP/Controller/PostsController.php, line 173]
$a_related_posts = Cache::read("post_view_relate_$slug",'oneweb');if(!$a_related_posts){ $a_ids = array($a_post['PostCategory']['id']); //Id của danh mục này và các danh mục con của nó
PostsController::_view() - APP/Controller/PostsController.php, line 173
PostsController::index() - APP/Controller/PostsController.php, line 33
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98
Notice (8): Undefined index: PostCategory [APP/Controller/PostsController.php, line 175]
$a_ids = array($a_post['PostCategory']['id']); //Id của danh mục này và các danh mục con của nó $a_child_categories = $this->Post->PostCategory->children($a_post['PostCategory']['id'],false,array('id','status','trash'));
PostsController::_view() - APP/Controller/PostsController.php, line 175
PostsController::index() - APP/Controller/PostsController.php, line 33
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98
Notice (8): Undefined index: id [APP/Controller/PostsController.php, line 198]
$slug = 'cay-trong-biet-thu-le-an'
$lang = 'vi'
$a_post = array(
'Post' => array(
'tag' => array()
)
)
$date_current = (int) 1713544395
$a_related_posts = array(
(int) 0 => array(
'Post' => array(
'id' => '128',
'lang' => 'vi',
'name' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Mộc',
'slug' => 'goi-y-1-so-loai-cay-phong-thuy-cho-nguoi-menh-moc',
'meta_title' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Mộc',
'rel' => 'dofollow',
'image' => 'cay-trau-ba-hop-menh-moc0.jpg',
'summary' => '<p style="text-align: justify;">Người mệnh Mộc là những người có tính cách ôn hòa, bình tĩnh, có ý chí vươn lên, sự kiên cường trong cuộc sống, vậy bạn có biết loại cây nào phù hợp với người mệnh Mộc, cùng cây cảnh Phạm Thương tìm hiểu nhé.</p><br />
',
'target' => '_self',
'public' => '1666442460'
),
'PostCategory' => array(
'id' => '47',
'name' => 'Tin tức',
'slug' => 'tin-tuc',
'meta_title' => 'Tin tức',
'path' => 'tin-tuc',
'position' => '1'
)
),
(int) 1 => array(
'Post' => array(
'id' => '127',
'lang' => 'vi',
'name' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Hỏa',
'slug' => 'goi-y-1-so-loai-cay-phong-thuy-cho-nguoi-menh-hoa',
'meta_title' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Hỏa',
'rel' => 'dofollow',
'image' => 'cay-van-loc-hop-voi-nguoi-menh-hoa0.jpg',
'summary' => '<p style="text-align: justify;">Người mệnh Hỏa có tính cách mạnh mẽ, luôn tràn đầy nhiệt huyết, vậy loại cây nào phù hợp với người mệnh Hỏa, cùng cây cảnh Phạm Thương tìm hiểu nhé.</p>
<p> </p>
',
'target' => '_self',
'public' => '1666440000'
),
'PostCategory' => array(
'id' => '47',
'name' => 'Tin tức',
'slug' => 'tin-tuc',
'meta_title' => 'Tin tức',
'path' => 'tin-tuc',
'position' => '1'
)
),
(int) 2 => array(
'Post' => array(
'id' => '126',
'lang' => 'vi',
'name' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Thổ',
'slug' => 'goi-y-1-so-loai-cay-phong-thuy-cho-nguoi-menh-tho',
'meta_title' => '1 số loại cây phong thủy cho người mệnh Thổ',
'rel' => 'dofollow',
'image' => 'cay-phong-thuy-cho-nguoi-menh-tho0.jpg',
'summary' => '<p>Người mệnh Thổ nên có những lưu ý gì khi chọn cây? Những loài cây phù hợp với người mệnh Thổ? Đây được xem là những câu hỏi quen thuộc xoay quanh về mệnh Thổ. Cùng theo dõi bài viết này để hiểu thêm nha.</p>
<p> </p>
',
'target' => '_self',
'public' => '1665584220'
),
'PostCategory' => array(
'id' => '47',
'name' => 'Tin tức',
'slug' => 'tin-tuc',
'meta_title' => 'Tin tức',
'path' => 'tin-tuc',
'position' => '1'
)
),
(int) 3 => array(
'Post' => array(
'id' => '125',
'lang' => 'vi',
'name' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Thủy',
'slug' => 'goi-y-1-so-loai-cay-phong-thuy-cho-nguoi-menh-thuy',
'meta_title' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Thủy',
'rel' => 'dofollow',
'image' => 'cay-phong-thuy-cho-nguoi-menh-hoa0.jpg',
'summary' => '<p style="text-align: justify;">Loại cây nào hợp cho người mệnh thủy nhất? Người mệnh Thủy nên mua cây gì để bàn, để phòng? Cùng cây cảnh Phạm Thương tham khảo top 5 loại cây nội thất phù hợp với người mệnh Thủy nhé.</p><br />
',
'target' => '_self',
'public' => '1664442540'
),
'PostCategory' => array(
'id' => '47',
'name' => 'Tin tức',
'slug' => 'tin-tuc',
'meta_title' => 'Tin tức',
'path' => 'tin-tuc',
'position' => '1'
)
),
(int) 4 => array(
'Post' => array(
'id' => '124',
'lang' => 'vi',
'name' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Kim',
'slug' => 'goi-y-1-so-loai-cay-phong-thuy-cho-nguoi-menh-kim',
'meta_title' => 'Gợi ý 1 số loại cây phong thủy cho người mệnh Kim',
'rel' => 'dofollow',
'image' => 'cay-phong-thuy-cho-nguoi-menh-kim0.jpg',
'summary' => '<p style="text-align: justify;">Cây phong thủy cho người mệnh Kim, cây nào hợp với người mệnh kim, hay nên mua cây gì cho người mệnh kim là những cây hỏi tôi thường xuyên nhận được trong quá trình tư vấn bán hàng. Vì vậy tôi viết bài viết này mong giúp ích được cho quý khách hàng.</p>
',
'target' => '_self',
'public' => '1661853420'
),
'PostCategory' => array(
'id' => '47',
'name' => 'Tin tức',
'slug' => 'tin-tuc',
'meta_title' => 'Tin tức',
'path' => 'tin-tuc',
'position' => '1'
)
),
(int) 5 => array(
'Post' => array(
'id' => '123',
'lang' => 'vi',
'name' => 'Những loại cây phong thủy hút tài lộc vào nhà',
'slug' => 'nhung-loai-cay-phong-thuy-hut-tai-loc-vao-nha',
'meta_title' => 'Những loại cây phong thủy hút tài lộc vào nhà',
'rel' => 'dofollow',
'image' => 'cay-thuong-xuan0.jpg',
'summary' => '<p style="text-align:justify">Những cây như kim tiền,kim ngân,cây lưỡi hổ,hoa trạng nguyên...là những cây phong thủy giúp gia chủ hút tài lộc,may mắn vào nhà.</p>
',
'target' => '_self',
'public' => '1584049860'
),
'PostCategory' => array(
'id' => '47',
'name' => 'Tin tức',
'slug' => 'tin-tuc',
'meta_title' => 'Tin tức',
'path' => 'tin-tuc',
'position' => '1'
)
),
(int) 6 => array(
'Post' => array(
'id' => '122',
'lang' => 'vi',
'name' => 'Trồng cây sân vườn tại hà nội',
'slug' => 'trong-cay-san-vuon-tai-ha-noi',
'meta_title' => 'Trồng cây sân vườn tại hà nội',
'rel' => 'dofollow',
'image' => 'nh-sn-vn-30.jpg',
'summary' => '',
'target' => '_self',
'public' => '1574780940'
),
'PostCategory' => array(
'id' => '47',
'name' => 'Tin tức',
'slug' => 'tin-tuc',
'meta_title' => 'Tin tức',
'path' => 'tin-tuc',
'position' => '1'
)
),
(int) 7 => array(
'Post' => array(
'id' => '121',
'lang' => 'vi',
'name' => 'Trồng cây ban công tại hà nội',
'slug' => 'trong-cay-ban-cong-tai-ha-noi',
'meta_title' => 'Trồng cây ban công tại hà nội',
'rel' => 'dofollow',
'image' => 'nh-sn-vn-40.jpg',
'summary' => '<p>Nếu như một thành phố hiện đại thiếu đi sự xuất hiện của cây xanh sẽ thiếu sức sống và tạo cảm giác ngột ngạt. Không gian xanh giờ đây đã trở thành tiêu chí để có được đánh giá chất lượng về cuộc sống cũng như văn minh đô thị. Để tìm hiểu các loại cây phổ biến thường được lựa chọn trồng cây công trình bạn hãy cùng theo dõi chi tiết dưới đây nhé!</p>
<p> </p>
',
'target' => '_self',
'public' => '1567823640'
),
'PostCategory' => array(
'id' => '47',
'name' => 'Tin tức',
'slug' => 'tin-tuc',
'meta_title' => 'Tin tức',
'path' => 'tin-tuc',
'position' => '1'
)
)
)
$a_ids = array(
(int) 0 => null,
(int) 1 => '47',
(int) 2 => '56',
(int) 3 => '57',
(int) 4 => '55'
)
$a_child_categories = array(
(int) 0 => array(
'PostCategory' => array(
'id' => '47',
'status' => true,
'trash' => false
)
),
(int) 1 => array(
'PostCategory' => array(
'id' => '56',
'status' => true,
'trash' => false
)
),
(int) 2 => array(
'PostCategory' => array(
'id' => '57',
'status' => true,
'trash' => false
)
),
(int) 3 => array(
'PostCategory' => array(
'id' => '55',
'status' => true,
'trash' => false
)
),
(int) 4 => array(
'PostCategory' => array(
'id' => '58',
'status' => false,
'trash' => false
)
),
(int) 5 => array(
'PostCategory' => array(
'id' => '59',
'status' => false,
'trash' => false
)
),
(int) 6 => array(
'PostCategory' => array(
'id' => '60',
'status' => false,
'trash' => false
)
),
(int) 7 => array(
'PostCategory' => array(
'id' => '61',
'status' => false,
'trash' => false
)
),
(int) 8 => array(
'PostCategory' => array(
'id' => '62',
'status' => false,
'trash' => false
)
),
(int) 9 => array(
'PostCategory' => array(
'id' => '63',
'status' => false,
'trash' => false
)
)
)
$val = array(
'PostCategory' => array(
'id' => '63',
'status' => false,
'trash' => false
)
)
$item_cate = array(
'id' => '63',
'status' => false,
'trash' => false
)
PostsController::_view() - APP/Controller/PostsController.php, line 198
PostsController::index() - APP/Controller/PostsController.php, line 33
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/cakephp-2.4.2/lib/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 98