Notice (8): Undefined index: products [APP/Controller/CustomersController.php, line 1181]Code Context $product = json_decode($rlt['response'], true);
$response['product'] = $product['products'][0]['title'];
$shop = array(
'Customer' => array(
'id' => '11768',
'charge_id' => '33054327085',
'charge_id2' => null,
'shop_name' => '076ca0-ed.myshopify.com',
'token' => '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',
'token2' => null,
'discount' => 'cod',
'customer_name' => null,
'name' => 'Algerolex',
'shop_created' => '2024-07-03T06:25:07+01:00',
'money_format' => 'DA {{amount}}',
'plan_display_name' => 'Basic Shopify',
'email' => '[email protected]',
'phone' => null,
'country' => 'DZ',
'currency' => 'DZD',
'language' => 'fra',
'countrie_id' => null,
'contacted' => null,
'checked' => null,
'uninstalled' => 'Unavailable Shop',
'created' => '2024-07-03 08:08:05'
)
)
$product_id = '9672006369581'
$data = array()
$access_token = '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'
$shop_name = '076ca0-ed.myshopify.com'
$header = array(
(int) 0 => 'Authorization: Basic Og=='
)
$product_end_points = '/admin/api/2024-10/products.json?ids=9672006369581'
$rlt = array(
'headers' => array(
'status' => 'HTTP/2 402
',
'date' => 'Sun, 29 Dec 2024 07',
'content-type' => 'application/json; charset=utf-8',
'x-sorting-hat-podid' => '300',
'x-sorting-hat-shopid' => '88087757101',
'referrer-policy' => 'origin-when-cross-origin',
'x-frame-options' => 'DENY',
'x-shopid' => '88087757101',
'x-shardid' => '300',
'x-stats-userid' => '',
'x-stats-apiclientid' => '4507285',
'x-stats-apipermissionid' => '719720055085',
'x-shopify-api-version' => '2024-10',
'http_x_shopify_shop_api_call_limit' => '1/40',
'x-shopify-shop-api-call-limit' => '1/40',
'strict-transport-security' => 'max-age=7889238',
'x-request-id' => 'e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456',
'server-timing' => 'cfRequestDuration;dur=208.999872',
'content-security-policy' => 'default-src 'self' data',
'x-content-type-options' => 'nosniff',
'x-download-options' => 'noopen',
'x-permitted-cross-domain-policies' => 'none',
'x-xss-protection' => '1; mode=block; report=/xss-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fproducts&source%5Bsection%5D=admin_api&source%5Buuid%5D=e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456',
'reporting-endpoints' => 'shopify-csp="/csp-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fproducts&source%5Bsection%5D=admin_api&source%5Buuid%5D=e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456"',
'x-dc' => 'gcp-europe-west3,gcp-us-central1,gcp-us-central1',
'alt-svc' => 'h3="',
'cf-cache-status' => 'DYNAMIC',
'report-to' => '{"endpoints"',
'nel' => '{"success_fraction"',
'server' => 'cloudflare',
'cf-ray' => '8f982ed98ee8d113-CDG'
),
'response' => '{"errors":"Unavailable Shop"}'
)
$product = array(
'errors' => 'Unavailable Shop'
)
CustomersController::getProduct() - APP/Controller/CustomersController.php, line 1181
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: products [APP/Controller/CustomersController.php, line 1182]Code Context
$response['product'] = $product['products'][0]['title'];
$response['product_id'] = $product['products'][0]['id'];
$shop = array(
'Customer' => array(
'id' => '11768',
'charge_id' => '33054327085',
'charge_id2' => null,
'shop_name' => '076ca0-ed.myshopify.com',
'token' => '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',
'token2' => null,
'discount' => 'cod',
'customer_name' => null,
'name' => 'Algerolex',
'shop_created' => '2024-07-03T06:25:07+01:00',
'money_format' => 'DA {{amount}}',
'plan_display_name' => 'Basic Shopify',
'email' => '[email protected]',
'phone' => null,
'country' => 'DZ',
'currency' => 'DZD',
'language' => 'fra',
'countrie_id' => null,
'contacted' => null,
'checked' => null,
'uninstalled' => 'Unavailable Shop',
'created' => '2024-07-03 08:08:05'
)
)
$product_id = '9672006369581'
$data = array()
$access_token = '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'
$shop_name = '076ca0-ed.myshopify.com'
$header = array(
(int) 0 => 'Authorization: Basic Og=='
)
$product_end_points = '/admin/api/2024-10/products.json?ids=9672006369581'
$rlt = array(
'headers' => array(
'status' => 'HTTP/2 402
',
'date' => 'Sun, 29 Dec 2024 07',
'content-type' => 'application/json; charset=utf-8',
'x-sorting-hat-podid' => '300',
'x-sorting-hat-shopid' => '88087757101',
'referrer-policy' => 'origin-when-cross-origin',
'x-frame-options' => 'DENY',
'x-shopid' => '88087757101',
'x-shardid' => '300',
'x-stats-userid' => '',
'x-stats-apiclientid' => '4507285',
'x-stats-apipermissionid' => '719720055085',
'x-shopify-api-version' => '2024-10',
'http_x_shopify_shop_api_call_limit' => '1/40',
'x-shopify-shop-api-call-limit' => '1/40',
'strict-transport-security' => 'max-age=7889238',
'x-request-id' => 'e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456',
'server-timing' => 'cfRequestDuration;dur=208.999872',
'content-security-policy' => 'default-src 'self' data',
'x-content-type-options' => 'nosniff',
'x-download-options' => 'noopen',
'x-permitted-cross-domain-policies' => 'none',
'x-xss-protection' => '1; mode=block; report=/xss-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fproducts&source%5Bsection%5D=admin_api&source%5Buuid%5D=e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456',
'reporting-endpoints' => 'shopify-csp="/csp-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fproducts&source%5Bsection%5D=admin_api&source%5Buuid%5D=e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456"',
'x-dc' => 'gcp-europe-west3,gcp-us-central1,gcp-us-central1',
'alt-svc' => 'h3="',
'cf-cache-status' => 'DYNAMIC',
'report-to' => '{"endpoints"',
'nel' => '{"success_fraction"',
'server' => 'cloudflare',
'cf-ray' => '8f982ed98ee8d113-CDG'
),
'response' => '{"errors":"Unavailable Shop"}'
)
$product = array(
'errors' => 'Unavailable Shop'
)
$response = array(
'product' => null
)
CustomersController::getProduct() - APP/Controller/CustomersController.php, line 1182
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: products [APP/Controller/CustomersController.php, line 1183]Code Context $response['product'] = $product['products'][0]['title'];
$response['product_id'] = $product['products'][0]['id'];
$response['price'] = $product['products'][0]['variants'][0]['price'];
$shop = array(
'Customer' => array(
'id' => '11768',
'charge_id' => '33054327085',
'charge_id2' => null,
'shop_name' => '076ca0-ed.myshopify.com',
'token' => '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',
'token2' => null,
'discount' => 'cod',
'customer_name' => null,
'name' => 'Algerolex',
'shop_created' => '2024-07-03T06:25:07+01:00',
'money_format' => 'DA {{amount}}',
'plan_display_name' => 'Basic Shopify',
'email' => '[email protected]',
'phone' => null,
'country' => 'DZ',
'currency' => 'DZD',
'language' => 'fra',
'countrie_id' => null,
'contacted' => null,
'checked' => null,
'uninstalled' => 'Unavailable Shop',
'created' => '2024-07-03 08:08:05'
)
)
$product_id = '9672006369581'
$data = array()
$access_token = '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'
$shop_name = '076ca0-ed.myshopify.com'
$header = array(
(int) 0 => 'Authorization: Basic Og=='
)
$product_end_points = '/admin/api/2024-10/products.json?ids=9672006369581'
$rlt = array(
'headers' => array(
'status' => 'HTTP/2 402
',
'date' => 'Sun, 29 Dec 2024 07',
'content-type' => 'application/json; charset=utf-8',
'x-sorting-hat-podid' => '300',
'x-sorting-hat-shopid' => '88087757101',
'referrer-policy' => 'origin-when-cross-origin',
'x-frame-options' => 'DENY',
'x-shopid' => '88087757101',
'x-shardid' => '300',
'x-stats-userid' => '',
'x-stats-apiclientid' => '4507285',
'x-stats-apipermissionid' => '719720055085',
'x-shopify-api-version' => '2024-10',
'http_x_shopify_shop_api_call_limit' => '1/40',
'x-shopify-shop-api-call-limit' => '1/40',
'strict-transport-security' => 'max-age=7889238',
'x-request-id' => 'e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456',
'server-timing' => 'cfRequestDuration;dur=208.999872',
'content-security-policy' => 'default-src 'self' data',
'x-content-type-options' => 'nosniff',
'x-download-options' => 'noopen',
'x-permitted-cross-domain-policies' => 'none',
'x-xss-protection' => '1; mode=block; report=/xss-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fproducts&source%5Bsection%5D=admin_api&source%5Buuid%5D=e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456',
'reporting-endpoints' => 'shopify-csp="/csp-report?source%5Baction%5D=index&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fproducts&source%5Bsection%5D=admin_api&source%5Buuid%5D=e6146307-1d51-436c-9c01-c999b5c8d42f-1735458456"',
'x-dc' => 'gcp-europe-west3,gcp-us-central1,gcp-us-central1',
'alt-svc' => 'h3="',
'cf-cache-status' => 'DYNAMIC',
'report-to' => '{"endpoints"',
'nel' => '{"success_fraction"',
'server' => 'cloudflare',
'cf-ray' => '8f982ed98ee8d113-CDG'
),
'response' => '{"errors":"Unavailable Shop"}'
)
$product = array(
'errors' => 'Unavailable Shop'
)
$response = array(
'product' => null,
'product_id' => null
)
CustomersController::getProduct() - APP/Controller/CustomersController.php, line 1183
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
{"product":null,"product_id":null,"price":null}