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
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'purchasables_stores.hasUnlimitedStock' in 'where clause'
The SQL being executed was: SELECT COUNT(*)
FROM `elements` `elements`
[rest of query]
Steps to reproduce
Clean install Craft 5 & Craft Commerce.
Create somewhere to run the above code (I used a module)
Run the query above.
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
none
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: