Closed nfourtythree closed 4 years ago
Hi @nfourtythree, a new order is created as soon as the "New Order" button is clicked, this is passed through to the orders/update-user action via the orderNumber param.
As a new order should always exist It would be good to understand why $order
is coming back as null on line 209.
Hey @mcjackson18
Will take another look and see if I cant create a reliable replication of the error for testing
https://github.com/KuriousAgency/commerce-admin-orders/blob/e9657a005a8430a81ba466f306c50b8990d5c583/src/controllers/OrdersController.php#L209
That line is the offending line, as basically the
$order
variable is null.