Closed sunscreem closed 1 week ago
Thanks for reporting this!
We have fixed the error.
To get the fix early, change your craftcms/commerce
requirement in composer.json to:
"require": {
"craftcms/commerce": "5.x-dev#5348e43b58a9ee2b0335de999337bdb9cdbeff68 as 5.0.6",
"...": "..."
}
Then run composer update
.
We will update this ticket once the next release is out.
Thanks!
@lukeholder Thank you - That's it working with the fix.
5.0.7 is now out with this fix! Thanks.
What happened?
Description
When running the following query:
The following error is thrown:
Steps to reproduce
Expected behavior
Return an array of "in stock" products.
Actual behavior
Throws the above error.
Craft CMS version
5.1.4
Craft Commerce version
5.0.6
PHP version
8.2
Operating system and version
No response
Database type and version
mysql
Image driver and version
No response
Installed plugins and versions