You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to download a credit slip where only the shipping was reimbursed, a NPE exception is thrown.
PrestaShop\PrestaShop\Core\Util\Sorter::natural0:Argument#1(Sarray) must be of type array, null given, called in
/public_html/classes/pdf/HTMLTemplateOrderSlip.phponline167
Expected behavior
The credit slip can be downloaded just fine.
Steps to reproduce
Refund just the shipping for an order (no products)
Go to "Credit slips" and try to download the generated credit slip
You get the NPE
PrestaShop version(s) where the bug happened
8.1.4
PHP version(s) where the bug happened
No response
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
No response
The text was updated successfully, but these errors were encountered:
We use GitHub issues only to discuss about bugs and new features in the PrestaShop project. If you need support, you can find resources to help you on this page: Get help with PrestaShop.
Prerequisites
Describe the bug and add attachments
When trying to download a credit slip where only the shipping was reimbursed, a NPE exception is thrown.
Expected behavior
The credit slip can be downloaded just fine.
Steps to reproduce
PrestaShop version(s) where the bug happened
8.1.4
PHP version(s) where the bug happened
No response
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
No response
The text was updated successfully, but these errors were encountered: