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
craft\commerce\elements\Variant::setOwner(): Argument #1 ($owner) must be of type ?craft\base\ElementInterface, bool given, called in /var/www/html/vendor/craftcms/cms/src/base/NestedElementTrait.php on line 288
What happened?
Description
When trying to eager load the
owner
field on a Variant:Results in the following error:
Replacing
owner
withproduct
works as expected:Craft CMS version
5.3.6
Craft Commerce version
5.2.1
PHP version
8.2.26
Operating system and version
Linux 6.10.14-linuxkit
Database type and version
MySQL 8.0.32
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
The text was updated successfully, but these errors were encountered: