Notice (8): Undefined index: shop_name [APP/Controller/CustomersController.php, line 883]Code Context $shop = $this->Customer->find('first', array(
'conditions' => array(
'Customer.shop_name' => $data['shop_name']
$data = array()
CustomersController::getUpsell() - APP/Controller/CustomersController.php, line 883
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 890]Code Context 'conditions' => array(
'AND' => array(
'Upsell.customer_id' => $shop['Customer']['id'],
$data = array()
$shop = array()
CustomersController::getUpsell() - APP/Controller/CustomersController.php, line 890
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: product_id [APP/Controller/CustomersController.php, line 891]Code Context 'AND' => array(
'Upsell.customer_id' => $shop['Customer']['id'],
'Upsell.product_id' => 'gid://shopify/Product/'.$data['product_id'],
$data = array()
$shop = array()
CustomersController::getUpsell() - APP/Controller/CustomersController.php, line 891
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