Notice (8) : Undefined index: Department [APP/Controller/BrowsesController.php , line 189 ]Code Context
if (! isset( $params [ 'cid' ])) {
$current_category = $this -> Category -> findById ( $dept [ 'Department' ][ 'category_root' ]);
$action = 'index'
$params = array(
'language' => '',
'format' => 'Bookpaper',
'author' => 'Tisa TS.',
'page' => '1',
'dept' => 'all'
)
$filter = false
$filter_key = null
$offset = (int) 0
$system = array(
'store' => array(
'id' => '3',
'name' => 'Bukabuku.com',
'name_label' => 'Bukabuku.com',
'url' => 'www.bukabuku.com',
'email_name' => 'Bukabuku.com',
'key' => '83be148a0563b4bebcb391917485dcc2',
'logo' => 'logo.gif',
'email_order' => 'cs@bukabuku.com',
'email_order_amazon' => 'cs@emails.bukabuku.com',
'address1' => 'Ruko Cempaka Mas Blok M/50',
'address2' => 'Jln. Letjen Suprapto',
'address3' => 'Jakarta Pusat',
'zip' => '10640',
'phone1' => '0896-7269-1122',
'phone2' => '',
'show_language_picker' => 'no',
'show_department_picker' => 'no',
'maintenance_mode' => 'no',
'readonly_mode' => 'no',
'show_banners' => 'yes',
'show_top_20' => 'yes',
'social_media_login' => 'yes',
'email_partnership' => 'partnership@bukabuku.com',
'allow_cod' => 'yes',
'sphinx_host' => 'sphinx2.bukabuku.net',
'sphinx_product_index_local' => 'product_bukabuku',
'sphinx_product_index' => 'product_bukabuku_rt'
)
)
$items_per_page = (int) 20
$sphinxql = object(mysqli) {
affected_rows => null
client_info => null
client_version => null
connect_errno => null
connect_error => null
errno => null
error => null
error_list => null
field_count => null
host_info => null
info => null
insert_id => null
server_info => null
server_version => null
stat => null
sqlstate => null
protocol_version => null
thread_id => null
warning_count => null
}
$param = 'Tisa TS.'
$idx = 'author'
$attributes = array(
(int) 0 => array(
'Attribute' => array(
'id' => '1',
'name' => 'Format',
'key' => 'format',
'type' => 'checkbox',
'size' => '10',
'department_id' => '1'
)
),
(int) 1 => array(
'Attribute' => array(
'id' => '2',
'name' => 'Language',
'key' => 'language',
'type' => 'checkbox',
'size' => '10',
'department_id' => '1'
)
),
(int) 2 => array(
'Attribute' => array(
'id' => '3',
'name' => 'Author',
'key' => 'author',
'type' => 'people',
'size' => '10',
'department_id' => '1'
)
),
(int) 3 => array(
'Attribute' => array(
'id' => '4',
'name' => 'Editor',
'key' => 'editor',
'type' => 'people',
'size' => '10',
'department_id' => '1'
)
),
(int) 4 => array(
'Attribute' => array(
'id' => '5',
'name' => 'Translator',
'key' => 'translator',
'type' => 'people',
'size' => '10',
'department_id' => '1'
)
),
(int) 5 => array(
'Attribute' => array(
'id' => '6',
'name' => 'Reading Level',
'key' => 'reading_level',
'type' => 'checkbox',
'size' => '10',
'department_id' => '1'
)
),
(int) 6 => array(
'Attribute' => array(
'id' => '7',
'name' => 'Illustrator',
'key' => 'illustrator',
'type' => 'people',
'size' => '10',
'department_id' => '1'
)
),
(int) 7 => array(
'Attribute' => array(
'id' => '8',
'name' => 'Color',
'key' => 'color',
'type' => 'checkbox',
'size' => '10',
'department_id' => '2'
)
),
(int) 8 => array(
'Attribute' => array(
'id' => '9',
'name' => 'Size ',
'key' => 'size_clothing',
'type' => 'checkbox',
'size' => '10',
'department_id' => '2'
)
),
(int) 9 => array(
'Attribute' => array(
'id' => '10',
'name' => 'Scale',
'key' => 'scale',
'type' => 'radio',
'size' => '10',
'department_id' => '4'
)
),
(int) 10 => array(
'Attribute' => array(
'id' => '11',
'name' => 'Serie',
'key' => 'serie',
'type' => '',
'size' => '10',
'department_id' => '0'
)
),
(int) 11 => array(
'Attribute' => array(
'id' => '12',
'name' => 'Material',
'key' => 'material',
'type' => 'radio',
'size' => '10',
'department_id' => '4'
)
)
)
$dept = array()
$return = array(
'dept' => 'all'
)
$arr_search = array()
$arr_search_and = array()
$conds = array(
(int) 0 => '(@brand_store_id = 3)'
)
$conds2 = array()
$arr_join = array()
$conds_price = array() BrowsesController::get_data() - APP/Controller/BrowsesController.php, line 189
BrowsesController::index() - APP/Controller/BrowsesController.php, line 910
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110 Notice (8) : Undefined index: title_for_layout [APP/Controller/BrowsesController.php , line 914 ]Code Context $this -> set ( 'dept' , $result [ 'dept' ]);
$this -> set ( 'title_for_layout' , $result [ 'title_for_layout' ]);
$time_start = (float) 1768332364.5671
$result = array(
'dept' => 'all',
'sort_options' => array(
'date' => 'Terbaru',
'popular' => 'Bestseller',
'price-desc' => 'Harga Tertinggi',
'price-asc' => 'Harga Terendah',
'review-most' => 'Review Terbanyak',
'review-avg' => 'Rating',
'az-asc' => 'A-Z',
'az-desc' => 'Z-A'
),
'current_sort' => 'date',
'results' => array(
(int) 0 => array(
'BrandRule' => array(
[maximum depth reached]
),
'ProductReviewCount' => array(
[maximum depth reached]
),
'ProductSold' => array(
[maximum depth reached]
),
'Product' => array(
[maximum depth reached]
),
'ProductChilds' => array(
[maximum depth reached]
)
)
),
'result_depts' => array(
'book' => 'Books'
),
'result_attr' => array(
(int) 0 => array(
'key' => 'author',
'value' => 'Tisa TS.',
'count' => '1'
),
(int) 1 => array(
'key' => 'category',
'value' => ':: Buku :: Fiksi :: Cerita Pendek',
'count' => '1'
),
(int) 2 => array(
'key' => 'format',
'value' => 'Art Paper',
'count' => '1'
),
(int) 3 => array(
'key' => 'format',
'value' => 'Bookpaper',
'count' => '1'
),
(int) 4 => array(
'key' => 'format',
'value' => 'Tanda Tangan',
'count' => '1'
),
(int) 5 => array(
'key' => 'format',
'value' => 'Sticker',
'count' => '1'
),
(int) 6 => array(
'key' => 'language',
'value' => 'Indonesia',
'count' => '1'
)
),
'cats' => array(
(int) 0 => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
),
'current_category' => array(
'Category' => array(
'id' => '484',
'name' => 'Mainan',
'status' => 'active',
'parent' => '0',
'child_ids' => '484,559,485,488,487,489,486,490,491',
'parent_ids' => '0',
'parent_ids_space' => '0',
'cat_names' => ':: Mainan',
'weight' => '0'
)
),
'max_page' => (float) 1,
'max_price' => '69900',
'min_price' => '69900',
'max_price_range' => (int) 0,
'min_price_range' => (int) 0,
'max_result' => '1',
'page_result' => (int) 1,
'current_page' => (int) 1,
'items_per_page' => (int) 20,
'promo' => array()
) BrowsesController::index() - APP/Controller/BrowsesController.php, line 914
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Browses
Apa bener kalo cinta itu selalu menyakitkan? Nggak juga, sih. Cinta diciptain Tuhan buat ngewarnain hidup kita. Yang seringkali manfaatin cinta buat nyakitin itu, ya manusianya, kita sendiri. Contohnya nih ya, kita jatuh cinta sama seseorang, terus kita baper (terbawa persaaan). Karena kita baper, kita jadi ngerasa di PHP (pemberi harapan palsu), t’rus patah hati. Sebenernya sih, mungkin aja dia nggak PHP-in kita, lah kitanya aja yang ke-baper-an dan berharap terlalu tinggi. Sakit hati, ...