Code Context $findUser = $this->User->find('first',array('conditions'=>array('User.id'=>$order['Order']['user_id'])));
$this->set('order_email',$findUser['User']['username']);
$id = '5d722b46-c848-498c-b509-10fdac68b92b'
$order = array(
'Order' => array(
'id' => '5d722b46-c848-498c-b509-10fdac68b92b',
'code' => 'MP08956CC2',
'user_id' => null,
'status' => '4',
'transaction_id' => '5d722b8a-a030-4b4b-a538-12adac68b92b',
'hash' => null,
'reward_points' => '0',
'discount_value' => '0.00',
'coupon_id' => null,
'giftcard_value' => '0.00',
'giftcard_id' => null,
'total_amount' => '920.00',
'is_process' => '4',
'additional_charges' => '0.00',
'shipping_address_id' => '597a10c3-55e8-4e0d-a278-48a66aba72de',
'shipping_charges' => '0.00',
'billing_address_id' => '597a10c3-55e8-4e0d-a278-48a66aba72de',
'payment_mode' => 'Debit Card',
'gift_to' => null,
'gift_message' => null,
'gift_wrap' => '0',
'delivery_date' => null,
'admin_remarks' => null,
'flag' => false,
'referre_code' => null,
'vendor_id' => '561f838e-98f8-4526-83bb-456b6aba72de',
'created' => '2019-09-06 15:17:50',
'modified' => '2019-09-06 15:17:50'
),
'ShippingAddress' => array(
'id' => '597a10c3-55e8-4e0d-a278-48a66aba72de',
'user_id' => '597a0f69-feb8-46a7-8f15-4f276aba72de',
'name' => 'Nida Farheen',
'line1' => 'L.S. saiyed, Hathikhana, Mithafalia, opp. municipal quarter, fatehpura',
'line2' => 'L.S. saiyed, Hathikhana, Mithafalia, Opp. municipal quarter, fatehpura',
'landmark' => 'Opp. Municipal Quarter Fatehpura',
'pin_code' => '390006',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '7405022957',
'created' => '2017-07-27 21:41:47',
'modified' => '2017-07-27 21:41:47'
),
'BillingAddress' => array(
'id' => '597a10c3-55e8-4e0d-a278-48a66aba72de',
'user_id' => '597a0f69-feb8-46a7-8f15-4f276aba72de',
'name' => 'Nida Farheen',
'line1' => 'L.S. saiyed, Hathikhana, Mithafalia, opp. municipal quarter, fatehpura',
'line2' => 'L.S. saiyed, Hathikhana, Mithafalia, Opp. municipal quarter, fatehpura',
'landmark' => 'Opp. Municipal Quarter Fatehpura',
'pin_code' => '390006',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '7405022957',
'created' => '2017-07-27 21:41:47',
'modified' => '2017-07-27 21:41:47'
),
'OrderItem' => array(
(int) 0 => array(
'id' => '5d722b46-7d38-4467-80fe-10fdac68b92b',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy Birthday Princess","delivery_date":"2019-09-06","delivery_time":"6pm - 9pm"}',
'order_id' => '5d722b46-c848-498c-b509-10fdac68b92b',
'item_id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5d727b2f-4f50-4328-a1d7-02aeac68b92b',
'price' => '920.00',
'tax_price' => '0',
'created' => '2019-09-06 15:17:50',
'modified' => '2019-09-06 15:17:50',
'Item' => array(
[maximum depth reached]
)
)
)
)
$new_order = array(
'Order' => array(
'id' => '5d722b46-c848-498c-b509-10fdac68b92b',
'code' => 'MP08956CC2',
'user_id' => null,
'status' => '4',
'transaction_id' => '5d722b8a-a030-4b4b-a538-12adac68b92b',
'hash' => null,
'reward_points' => '0',
'discount_value' => '0.00',
'coupon_id' => null,
'giftcard_value' => '0.00',
'giftcard_id' => null,
'total_amount' => '920.00',
'is_process' => '4',
'additional_charges' => '0.00',
'shipping_address_id' => '597a10c3-55e8-4e0d-a278-48a66aba72de',
'shipping_charges' => '0.00',
'billing_address_id' => '597a10c3-55e8-4e0d-a278-48a66aba72de',
'payment_mode' => 'Debit Card',
'gift_to' => null,
'gift_message' => null,
'gift_wrap' => '0',
'delivery_date' => null,
'admin_remarks' => null,
'flag' => false,
'referre_code' => null,
'vendor_id' => '561f838e-98f8-4526-83bb-456b6aba72de',
'created' => '2019-09-06 15:17:50',
'modified' => '2019-09-06 15:17:50'
),
'ShippingAddress' => array(
'id' => '597a10c3-55e8-4e0d-a278-48a66aba72de',
'user_id' => '597a0f69-feb8-46a7-8f15-4f276aba72de',
'name' => 'Nida Farheen',
'line1' => 'L.S. saiyed, Hathikhana, Mithafalia, opp. municipal quarter, fatehpura',
'line2' => 'L.S. saiyed, Hathikhana, Mithafalia, Opp. municipal quarter, fatehpura',
'landmark' => 'Opp. Municipal Quarter Fatehpura',
'pin_code' => '390006',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '7405022957',
'created' => '2017-07-27 21:41:47',
'modified' => '2017-07-27 21:41:47'
),
'BillingAddress' => array(
'id' => '597a10c3-55e8-4e0d-a278-48a66aba72de',
'user_id' => '597a0f69-feb8-46a7-8f15-4f276aba72de',
'name' => 'Nida Farheen',
'line1' => 'L.S. saiyed, Hathikhana, Mithafalia, opp. municipal quarter, fatehpura',
'line2' => 'L.S. saiyed, Hathikhana, Mithafalia, Opp. municipal quarter, fatehpura',
'landmark' => 'Opp. Municipal Quarter Fatehpura',
'pin_code' => '390006',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '7405022957',
'created' => '2017-07-27 21:41:47',
'modified' => '2017-07-27 21:41:47'
),
'OrderItem' => array(
(int) 0 => array(
'id' => '5d722b46-7d38-4467-80fe-10fdac68b92b',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy Birthday Princess","delivery_date":"2019-09-06","delivery_time":"6pm - 9pm"}',
'order_id' => '5d722b46-c848-498c-b509-10fdac68b92b',
'item_id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5d727b2f-4f50-4328-a1d7-02aeac68b92b',
'price' => '920.00',
'tax_price' => '0',
'created' => '2019-09-06 15:17:50',
'modified' => '2019-09-06 15:17:50',
'Item' => array(
[maximum depth reached]
)
)
)
)
$order_item = array(
'id' => '5d722b46-7d38-4467-80fe-10fdac68b92b',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy Birthday Princess","delivery_date":"2019-09-06","delivery_time":"6pm - 9pm"}',
'order_id' => '5d722b46-c848-498c-b509-10fdac68b92b',
'item_id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5d727b2f-4f50-4328-a1d7-02aeac68b92b',
'price' => '920.00',
'tax_price' => '0',
'created' => '2019-09-06 15:17:50',
'modified' => '2019-09-06 15:17:50'
)
$new_order_item = array(
'id' => '5d722b46-7d38-4467-80fe-10fdac68b92b',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy Birthday Princess","delivery_date":"2019-09-06","delivery_time":"6pm - 9pm"}',
'order_id' => '5d722b46-c848-498c-b509-10fdac68b92b',
'item_id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5d727b2f-4f50-4328-a1d7-02aeac68b92b',
'price' => '920.00',
'tax_price' => '0',
'created' => '2019-09-06 15:17:50',
'modified' => '2019-09-06 15:17:50',
'Item' => array(
'id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'name' => 'Choco Truffle Cake',
'priority' => '0',
'sku_code' => '81',
'variant' => '1',
'variant_name' => 'KGS',
'weight_in_kg' => '1.000',
'item_id' => '561f6623-2280-4b2b-84c4-477e6aba72de',
'stock_type' => '1',
'featured' => '0',
'item_features' => null,
'is_activated' => '1',
'short_desc' => null,
'long_desc' => '',
'keyword' => '',
'alias' => null,
'item_size' => null,
'item_color' => null,
'item_category_id' => '55f94931-225c-42c0-8eab-1e33bf642048',
'item_type_id' => null,
'tax_price' => '0',
'shipping_charges' => '-1.00',
'item_added_cart' => '0',
'item_viewed' => '0',
'primary_photo' => '81.jpg',
'primary_photo_directory' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'permalink' => null,
'rating' => '0.0',
'franchise_only' => '0',
'vat_percent' => '0.00',
'cst_percent' => '0.00',
'cst_cform_percent' => '0.00',
'created' => '0000-00-00 00:00:00',
'modified' => '2018-10-26 12:01:18'
)
)
$item = array(
'Item' => array(
'id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'name' => 'Choco Truffle Cake',
'priority' => '0',
'sku_code' => '81',
'variant' => '1',
'variant_name' => 'KGS',
'weight_in_kg' => '1.000',
'item_id' => '561f6623-2280-4b2b-84c4-477e6aba72de',
'stock_type' => '1',
'featured' => '0',
'item_features' => null,
'is_activated' => '1',
'short_desc' => null,
'long_desc' => '',
'keyword' => '',
'alias' => null,
'item_size' => null,
'item_color' => null,
'item_category_id' => '55f94931-225c-42c0-8eab-1e33bf642048',
'item_type_id' => null,
'tax_price' => '0',
'shipping_charges' => '-1.00',
'item_added_cart' => '0',
'item_viewed' => '0',
'primary_photo' => '81.jpg',
'primary_photo_directory' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'permalink' => null,
'rating' => '0.0',
'franchise_only' => '0',
'vat_percent' => '0.00',
'cst_percent' => '0.00',
'cst_cform_percent' => '0.00',
'created' => '0000-00-00 00:00:00',
'modified' => '2018-10-26 12:01:18'
),
'Parent' => array(
'id' => '561f6623-2280-4b2b-84c4-477e6aba72de',
'name' => 'Choco Truffle Cake',
'priority' => '0',
'sku_code' => '81',
'variant' => '500',
'variant_name' => 'GMS',
'weight_in_kg' => '0.500',
'item_id' => null,
'stock_type' => '1',
'featured' => '0',
'item_features' => null,
'is_activated' => '1',
'short_desc' => null,
'long_desc' => '',
'keyword' => '',
'alias' => null,
'item_size' => null,
'item_color' => null,
'item_category_id' => '55f94931-225c-42c0-8eab-1e33bf642048',
'item_type_id' => null,
'tax_price' => '0',
'shipping_charges' => '-1.00',
'item_added_cart' => '0',
'item_viewed' => '0',
'primary_photo' => '81.jpg',
'primary_photo_directory' => '561f6623-2280-4b2b-84c4-477e6aba72de',
'permalink' => null,
'rating' => '0.0',
'franchise_only' => '0',
'vat_percent' => '0.00',
'cst_percent' => '0.00',
'cst_cform_percent' => '0.00',
'created' => '0000-00-00 00:00:00',
'modified' => '2018-10-25 16:17:29'
),
'ItemCategory' => array(
'id' => '55f94931-225c-42c0-8eab-1e33bf642048',
'name' => 'Regular cakes',
'category_group_id' => null,
'priority' => '1',
'max_qty' => '-1',
'item_type_id' => 'f132fe4d-68f7-11e5-859e-f23c91737a7d',
'parent_name_alias' => 'premium-cakes',
'desc' => null,
'long_description' => null,
'item_category_id' => '55f8278b-9cc0-4f94-a66b-3460bf642048',
'tags' => 'Mr Puff Gandhi bakery- get regular cakes in vadodara now also available in Ahmedabad, surat ',
'meta' => 'eggless cakes baroda, premium, best cakes, bakery, cookies, muffins',
'permalink' => null,
'primary_photo' => 'cake.png',
'primary_photo_dir' => '55f94931-225c-42c0-8eab-1e33bf642048',
'category_banner' => '1.jpg',
'category_banner_dir' => '55f94931-225c-42c0-8eab-1e33bf642048',
'addon_category' => '0',
'is_active' => '0',
'created' => '2015-09-16 16:19:21',
'modified' => '2021-10-27 17:20:13'
),
'ItemStock' => array(
'id' => '561f6622-11b4-43a3-917a-42cf6aba72de',
'ref_no' => 'IN000561f6622bdfc0',
'item_id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'total_quantity' => '-1',
'exhausted_quantity' => '0',
'order_date' => null,
'delivery_date' => null,
'expiry_date' => null,
'vendor_id' => '53e9c4b2-6c28-4a73-a8c3-3519bf642048',
'price' => '920.00',
'discount_price' => '920.00',
'discount_percentage' => '0.0',
'created' => '2015-10-15 14:08:58',
'modified' => '2015-10-15 14:08:58',
(int) 0 => array(
'id' => '561f6622-11b4-43a3-917a-42cf6aba72de',
'ref_no' => 'IN000561f6622bdfc0',
'item_id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'total_quantity' => '-1',
'exhausted_quantity' => '0',
'order_date' => null,
'delivery_date' => null,
'expiry_date' => null,
'vendor_id' => '53e9c4b2-6c28-4a73-a8c3-3519bf642048',
'price' => '920.00',
'discount_price' => '920.00',
'discount_percentage' => '0.0',
'created' => '2015-10-15 14:08:58',
'modified' => '2015-10-15 14:08:58'
)
),
'ItemVariants' => array(),
'ItemCity' => array(
(int) 0 => array(
'id' => '561f6622-e410-4176-9798-4d5a6aba72de',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'item_id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'shipping_charges' => '-1',
'created' => '2015-10-15 14:08:58',
'modified' => '2015-10-15 14:08:58'
),
(int) 1 => array(
'id' => '56c1f2ff-9440-4cb2-acee-4e036aba72de',
'city_id' => '56265786-825c-4a02-ae2a-40a96aba72de',
'item_id' => '561f6622-4c90-4d9a-80b3-4a696aba72de',
'shipping_charges' => '-1',
'created' => '2016-02-15 21:17:11',
'modified' => '2016-02-15 21:17:11'
)
),
'ItemGalleryPhoto' => array()
)
$findUser = array()
UsersController::track_order() - APP/Controller/UsersController.php, line 1698
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118