-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A license without a linked order results in an error #100
Comments
@berrytimmermans could you post the full stack trace please - I will then take a look into it. Thanks |
Thanks @lukeholder for your response, here's the stack trace.
|
@lukeholder have you had a chance to look at the above? Thanks |
…ut-a-linked-order-results-in-an-error Fixed #100 PHP error when eager loading orders on license query
Thank you for raising this with us. We have just pushed version Running Thanks! |
Thanks for the update! |
Description
When one of the licenses is not linked to an order because it was, for instance, manually created, the query below in the example results in: Invalid Argument – yii\base\InvalidArgumentException - Invalid numeric value.
Steps to reproduce
1.Use the example in the template: Displaying the licensed product for the currently logged-in Craft User.
2.Add a license via the control panel, so that no order is linked.
Additional info
Craft Commerce 4.6.2
Digital Products 3.2.3
Freeform 5.3.5
Link Vault 4.0.4
Mollie for Craft Commerce 4.2.0
Redactor 3.1.0
Redactor Anchors 1.5.0
The text was updated successfully, but these errors were encountered: