$sql = "SELECT * FROM merch_categories WHERE id = '$id' AND del_flg <= 0"; $array = $this->query($sql); $name = $array[0]["merch_categories"]["name"];
MerchCategories::getTopicPathArray() - APP/models/merch_categories.php, line 346
ShopController::shop_item_detail() - APP/controllers/shop_controller.php, line 724
Object::dispatchMethod() - CORE/cake/libs/object.php, line 127
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - /home/w-mill/www/index.php, line 123
Notice (8): Undefined offset: 0 [APP/models/merch_categories.php, line 347]
MerchCategories::getTopicPathArray() - APP/models/merch_categories.php, line 347
ShopController::shop_item_detail() - APP/controllers/shop_controller.php, line 724
Object::dispatchMethod() - CORE/cake/libs/object.php, line 127
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - /home/w-mill/www/index.php, line 123