My acount: My Orders crash
johanroberthson opened this issue · comments
Steps to reproduce:
- Login to an account that have made som orders.
- Click on My Orders
- A Internal Server Error is visible
Actual result
Get an errormessage and no orders is visible.
Expected result
Customer should see orders that he/she have made.
Versions
- ScandiPwa 6.2.0
- Magento 2.4.6
Additional context
Ther error is in: Model/Resolver/CustomerOrders.php
$orderSort is missing in __construct as a parameter.
Add this on line 80
OrderSort $orderSort,