Cannot assign craft\elements\Address to property webdna\commerce\bulkpricing\adjusters\Tax
Closed this issue · 8 comments
Just installed latest on Craft Craft CMS 4.1.4.1 and Craft Commerce 4.1.x-dev
I have not added the field yet to any product and get this when viewing frontend
Cannot assign craft\elements\Address to property webdna\commerce\bulkpricing\adjusters\Tax::$_address of type ?craft\commerce\models\Address
Created field and added to Product layout and same error
Happens when I'm logged in
I am admin and have 3 addresses in my account
Ah I guess this is because address is now a native craft field/property as well as the user no longer being separate?
Yeah likely. I'm available for testing anything you want as we are on same time zone
I'm just an interested third party but the guys at webdna are pretty responsive. I actually know you from the EE world, long time no see :)
Ah yes of course! Electric Putty days. Feel so old :)
I wasn't experiencing this error but I realised I didn't have any addresses associated with users (still very early in development) and once I added some and tried to manipulate them (for instance, copy billing address to shipping address in an order) the error appears.
Thanks @john-henry and @robzor , we'll get looking into this.
v2.0.0-beta.3 should fix this.
Gotta love a one line fix! Thanks @samuelbirch for smashing these fixes out :)