Notice (8): Undefined index: shop_name [APP/Controller/CustomersController.php, line 385]Code Context $shop = $this->Customer->find('first', array(
'conditions' => array(
'Customer.shop_name' => $data['shop_name']
$data = array()
CustomersController::getPreferences() - APP/Controller/CustomersController.php, line 385
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 117
Notice (8): Undefined index: Customer [APP/Controller/CustomersController.php, line 391]Code Context $preferences = $this->Preference->find('first', array(
'conditions' => array(
'Preference.customer_id' => $shop['Customer']['id']
$data = array()
$shop = array()
CustomersController::getPreferences() - APP/Controller/CustomersController.php, line 391
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 117
Notice (8): Undefined index: Preference [APP/Controller/CustomersController.php, line 395]Code Context ));
($preferences['Preference']['add_to_cart'] == 1) ? $conditions['add_to_cart'] = true : $conditions['add_to_cart'] = false;
$data = array()
$shop = array()
$preferences = array()
CustomersController::getPreferences() - APP/Controller/CustomersController.php, line 395
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 117
Notice (8): Undefined index: Customer [APP/Controller/CustomersController.php, line 396]Code Context
($preferences['Preference']['add_to_cart'] == 1) ? $conditions['add_to_cart'] = true : $conditions['add_to_cart'] = false;
if($shop['Customer']['token'] === ''){
$data = array()
$shop = array()
$preferences = array()
$conditions = array(
'add_to_cart' => false
)
CustomersController::getPreferences() - APP/Controller/CustomersController.php, line 396
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 117
{"add_to_cart":false,"show_form":true}