Code Context $findUser = $this->User->find('first',array('conditions'=>array('User.id'=>$order['Order']['user_id'])));
$this->set('order_email',$findUser['User']['username']);
$id = '597449af-cf24-408c-842f-45b56aba72de'
$order = array(
'Order' => array(
'id' => '597449af-cf24-408c-842f-45b56aba72de',
'code' => 'MP07A3A6C4',
'user_id' => null,
'status' => '4',
'transaction_id' => '59744a6d-d2e4-487e-b033-43006aba72de',
'hash' => null,
'reward_points' => '0',
'discount_value' => '0.00',
'coupon_id' => null,
'giftcard_value' => '0.00',
'giftcard_id' => null,
'total_amount' => '1008.00',
'is_process' => '4',
'additional_charges' => '0.00',
'shipping_address_id' => '59452287-d754-4669-8d59-47bb6aba72de',
'shipping_charges' => '0.00',
'billing_address_id' => '59452287-d754-4669-8d59-47bb6aba72de',
'payment_mode' => 'Credit Car',
'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' => '2017-07-23 12:31:03',
'modified' => '2017-07-23 12:31:03'
),
'ShippingAddress' => array(
'id' => '59452287-d754-4669-8d59-47bb6aba72de',
'user_id' => '59452170-edb4-4590-8b18-483d6aba72de',
'name' => 'Shankar Chakurkar',
'line1' => 'L&T Nandishwar Colleny, Near Nandanvan society',
'line2' => 'New Sama Road',
'landmark' => 'Near Nandanvan society',
'pin_code' => '390008',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '7208081227',
'created' => '2017-06-17 18:07:27',
'modified' => '2017-06-17 18:07:27'
),
'BillingAddress' => array(
'id' => '59452287-d754-4669-8d59-47bb6aba72de',
'user_id' => '59452170-edb4-4590-8b18-483d6aba72de',
'name' => 'Shankar Chakurkar',
'line1' => 'L&T Nandishwar Colleny, Near Nandanvan society',
'line2' => 'New Sama Road',
'landmark' => 'Near Nandanvan society',
'pin_code' => '390008',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '7208081227',
'created' => '2017-06-17 18:07:27',
'modified' => '2017-06-17 18:07:27'
),
'OrderItem' => array(
(int) 0 => array(
'id' => '597449af-8694-43ec-809c-4cd66aba72de',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy birthday Prachi","delivery_date":"2017-07-27","delivery_time":"12pm - 3pm"}',
'order_id' => '597449af-cf24-408c-842f-45b56aba72de',
'item_id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5979b421-5d08-4c29-81f7-42cb6aba72de',
'price' => '686.00',
'tax_price' => '0',
'created' => '2017-07-23 12:31:03',
'modified' => '2017-07-23 12:31:03',
'Item' => array(
[maximum depth reached]
)
)
)
)
$new_order = array(
'Order' => array(
'id' => '597449af-cf24-408c-842f-45b56aba72de',
'code' => 'MP07A3A6C4',
'user_id' => null,
'status' => '4',
'transaction_id' => '59744a6d-d2e4-487e-b033-43006aba72de',
'hash' => null,
'reward_points' => '0',
'discount_value' => '0.00',
'coupon_id' => null,
'giftcard_value' => '0.00',
'giftcard_id' => null,
'total_amount' => '1008.00',
'is_process' => '4',
'additional_charges' => '0.00',
'shipping_address_id' => '59452287-d754-4669-8d59-47bb6aba72de',
'shipping_charges' => '0.00',
'billing_address_id' => '59452287-d754-4669-8d59-47bb6aba72de',
'payment_mode' => 'Credit Car',
'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' => '2017-07-23 12:31:03',
'modified' => '2017-07-23 12:31:03'
),
'ShippingAddress' => array(
'id' => '59452287-d754-4669-8d59-47bb6aba72de',
'user_id' => '59452170-edb4-4590-8b18-483d6aba72de',
'name' => 'Shankar Chakurkar',
'line1' => 'L&T Nandishwar Colleny, Near Nandanvan society',
'line2' => 'New Sama Road',
'landmark' => 'Near Nandanvan society',
'pin_code' => '390008',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '7208081227',
'created' => '2017-06-17 18:07:27',
'modified' => '2017-06-17 18:07:27'
),
'BillingAddress' => array(
'id' => '59452287-d754-4669-8d59-47bb6aba72de',
'user_id' => '59452170-edb4-4590-8b18-483d6aba72de',
'name' => 'Shankar Chakurkar',
'line1' => 'L&T Nandishwar Colleny, Near Nandanvan society',
'line2' => 'New Sama Road',
'landmark' => 'Near Nandanvan society',
'pin_code' => '390008',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '7208081227',
'created' => '2017-06-17 18:07:27',
'modified' => '2017-06-17 18:07:27'
),
'OrderItem' => array(
(int) 0 => array(
'id' => '597449af-8694-43ec-809c-4cd66aba72de',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy birthday Prachi","delivery_date":"2017-07-27","delivery_time":"12pm - 3pm"}',
'order_id' => '597449af-cf24-408c-842f-45b56aba72de',
'item_id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5979b421-5d08-4c29-81f7-42cb6aba72de',
'price' => '686.00',
'tax_price' => '0',
'created' => '2017-07-23 12:31:03',
'modified' => '2017-07-23 12:31:03',
'Item' => array(
[maximum depth reached]
)
)
)
)
$order_item = array(
'id' => '597449af-8694-43ec-809c-4cd66aba72de',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy birthday Prachi","delivery_date":"2017-07-27","delivery_time":"12pm - 3pm"}',
'order_id' => '597449af-cf24-408c-842f-45b56aba72de',
'item_id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5979b421-5d08-4c29-81f7-42cb6aba72de',
'price' => '686.00',
'tax_price' => '0',
'created' => '2017-07-23 12:31:03',
'modified' => '2017-07-23 12:31:03'
)
$new_order_item = array(
'id' => '597449af-8694-43ec-809c-4cd66aba72de',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy birthday Prachi","delivery_date":"2017-07-27","delivery_time":"12pm - 3pm"}',
'order_id' => '597449af-cf24-408c-842f-45b56aba72de',
'item_id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5979b421-5d08-4c29-81f7-42cb6aba72de',
'price' => '686.00',
'tax_price' => '0',
'created' => '2017-07-23 12:31:03',
'modified' => '2017-07-23 12:31:03',
'Item' => array(
'id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'name' => 'Choco Bite Cake',
'priority' => '0',
'sku_code' => '71',
'variant' => '1',
'variant_name' => 'KGS',
'weight_in_kg' => '1.000',
'item_id' => '561f6621-e538-4bb2-8756-485a6aba72de',
'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' => '71.jpg',
'primary_photo_directory' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'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 11:58:07'
)
)
$item = array(
'Item' => array(
'id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'name' => 'Choco Bite Cake',
'priority' => '0',
'sku_code' => '71',
'variant' => '1',
'variant_name' => 'KGS',
'weight_in_kg' => '1.000',
'item_id' => '561f6621-e538-4bb2-8756-485a6aba72de',
'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' => '71.jpg',
'primary_photo_directory' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'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 11:58:07'
),
'Parent' => array(
'id' => '561f6621-e538-4bb2-8756-485a6aba72de',
'name' => 'Choco Bite Cake',
'priority' => '0',
'sku_code' => '71',
'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' => '55f946fb-23f8-4b01-954f-219ebf642048',
'item_type_id' => null,
'tax_price' => '0',
'shipping_charges' => '-1.00',
'item_added_cart' => '0',
'item_viewed' => '0',
'primary_photo' => '71.jpg',
'primary_photo_directory' => '561f6621-e538-4bb2-8756-485a6aba72de',
'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:31:19'
),
'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-33ec-42a4-801a-4a656aba72de',
'ref_no' => 'IN000561f662250686',
'item_id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'total_quantity' => '-1',
'exhausted_quantity' => '0',
'order_date' => null,
'delivery_date' => null,
'expiry_date' => null,
'vendor_id' => '53e9c4b2-6c28-4a73-a8c3-3519bf642048',
'price' => '770.00',
'discount_price' => '770.00',
'discount_percentage' => '0.0',
'created' => '2015-10-15 14:08:58',
'modified' => '2015-10-15 14:08:58',
(int) 0 => array(
'id' => '561f6622-33ec-42a4-801a-4a656aba72de',
'ref_no' => 'IN000561f662250686',
'item_id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'total_quantity' => '-1',
'exhausted_quantity' => '0',
'order_date' => null,
'delivery_date' => null,
'expiry_date' => null,
'vendor_id' => '53e9c4b2-6c28-4a73-a8c3-3519bf642048',
'price' => '770.00',
'discount_price' => '770.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-81a8-4828-ad02-43196aba72de',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'item_id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'shipping_charges' => '-1',
'created' => '2015-10-15 14:08:58',
'modified' => '2015-10-15 14:08:58'
),
(int) 1 => array(
'id' => '56c1f2ff-bb84-451c-ad88-48b36aba72de',
'city_id' => '56265786-825c-4a02-ae2a-40a96aba72de',
'item_id' => '561f6622-5110-4d0a-86cf-47b56aba72de',
'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