https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=1421
{"orders":[{"acceptance_decision_date":"2020-12-02T15:21:42Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"102692496","created_date":"2020-12-02T15:20:13Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"MAIPU","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"PAMELA ALEJANDRA","lastname":"LIRA","phone_secondary":"57662448","state":"REG.METROPOLITANA","street_1":"Pasaje Aracari 152","street_2":"152","zip_code":" "},"civility":null,"customer_id":"169357404","firstname":"pamela alejandra","lastname":"lira","locale":null,"shipping_address":{"additional_info":"","city":"MAIPU","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"PAMELA ALEJANDRA","lastname":"LIRA","phone_secondary":"57662448","state":"REG.METROPOLITANA","street_1":"Pasaje Aracari 152","street_2":"152","zip_code":" "}},"customer_debited_date":"2020-12-02T15:33:20.577Z","customer_directly_pays_seller":false,"customer_notification_email":"notification+oxcibb7z6p7vg9haamyyja2l1.olbqcuuqi@us.notification.mirakl.net","delivery_date":null,"fulfillment":{"center":{"code":"DEFAULT"}},"fully_refunded":true,"has_customer_message":false,"has_incident":false,"has_invoice":false,"last_updated_date":"2021-04-19T14:21:03Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"promo","type":"TEXTAREA","value":"DESPACHOGRATIS|Despachogratis|despachogratis-DESPACHO_GOLD&SILVER_GOLD_2020_12_-10776556:-32011.0"}],"order_id":"102692496-C","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD366-AB","category_label":"Libros","commission_fee":2916,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2020-12-02T15:20:13Z","debited_date":"2020-12-02T15:33:20Z","description":null,"fees":[],"last_updated_date":"2021-04-19T14:21:03Z","offer_id":734354,"offer_sku":"1974707989","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"198462031","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":19439,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":19439,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":19439,"product_medias":[{"media_url":"\/media\/product\/image\/0791d63b-0d92-4d79-8a8a-9577c2d3a8c8","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/d256dc47-6c1f-4798-9e29-504eceeeceeb","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/db4d1ec3-15c1-4f87-a490-7f01b75c5346","mime_type":"JPG","type":"MEDIUM"}],"product_shop_sku":"1974707989","product_sku":"MPM00010128224-1","product_title":"Libro BEASTARS Vol. 1 (1)","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":19439,"amount_breakdown":{"parts":[{"amount":19439,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":2916,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":2916,"created_date":"2021-04-16T19:15:13Z","fees":[],"id":"150002","order_refund_id":"9ea58f39-c5b3-451e-9f6e-d5349871c90c","quantity":1,"reason_code":"REFUND_am03","refund_state":"REFUNDED","shipping_amount":0,"shipping_amount_breakdown":{"parts":[{"amount":0,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]}],"shipped_date":"2021-01-20T18:56:25Z","shipping_price":0,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":0,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":2916,"total_price":19439}],"order_refunds":null,"order_state":"CLOSED","order_state_reason_code":"REFUNDED","order_state_reason_label":"Reembolsado","order_tax_mode":"TAX_EXCLUDED","order_taxes":null,"paymentType":"TCGATEWAY_RIPLEY_INST","payment_type":"TCGATEWAY_RIPLEY_INST","payment_workflow":"PAY_ON_ACCEPTANCE","price":19439,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"shipping_carrier_code":null,"shipping_carrier_standard_code":null,"shipping_company":null,"shipping_deadline":"2020-12-07T15:31:50.644Z","shipping_price":0,"shipping_pudo_id":null,"shipping_tracking":null,"shipping_tracking_url":null,"shipping_type_code":"TomTop","shipping_type_label":"Recibe entre 15 a 20 d\u00edas","shipping_type_standard_code":null,"shipping_zone_code":"13112","shipping_zone_label":"Santiago","total_commission":2916,"total_price":19439}],"total_count":5195}
null

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Orders.php

Line Number: 544

Backtrace:

File: /var/www/html/marketplace/application/controllers/Orders.php
Line: 544
Function: _error_handler

File: /var/www/html/marketplace/application/controllers/Orders.php
Line: 77
Function: getOrderGlobalShopex2

File: /var/www/html/marketplace/index.php
Line: 315
Function: require_once