<p>Sorry that your migration to Craft 4 has hit a hiccup! Something I would suggest starting with is deleting the vendor folder in your project, and then re-running composer install. This will pull in a fresh copy of all those internal Craft code files.</p>
<p>You could also try re-applying the project config (select the from YAML files option if prompted).</p>
<p>This has worked for us on some minor upgrade hiccups on our sites.</p>

CC BY-SA 4.0
2023-04-21T05:24:45.223Z
thank you for your answer! I've tried both of those options now, and still no change. Any other ideas? This is getting frustrating and I'm contacting craft now :(
Meinhard Meintjes
CC BY-SA 4.0
2023-04-13T17:52:50.980Z
2023-04-13T17:52:50.980Z
cherrykoda
<p>Our staging environment update to Craft v4 seemed to work fine, but now on production we're getting this error when trying to send email confirmations after successful orders (happens in the queue job):</p>
<pre><code>Getting unknown property: craft\models\Volume::settings 
vendor/yiisoft/yii2/base/Component.php:154
</code></pre>
<p>It happens when order confirmation emails are being sent in the queue.
There are no useful additional infos in the logs.
We have no custom field called settings, so it must be a native field/prop.
There were no migration errors.
I've cleared the cache with no effect (1x via CMS; 1x via Console; 1x manually deleting in storage folder).
It seems this error usually happens when migrations had failed or with project config issues, but &quot;settings&quot; doesn't seem to be a field/column, so I'm not sure that's the issue.
I've re-saved all volumes and filesystems without effect.</p>
<p>Any other ideas that I can try?</p>
<p>Thank you!</p>
<p>PS: Running PHP 8.0.27, MySql 5.7, Craft CMS 4.4.7 and Commerce 4.2.6.</p>

CC BY-SA 4.0
2023-04-21T05:24:45.223Z
thank you for your answer! I've tried both of those options now, and still no change. Any other ideas? This is getting frustrating and I'm contacting craft now :(
Meinhard Meintjes
<migration><commerce4>
After Craft CMS v4 Update: Getting unknown property: craft\models\Volume::settings
# After Craft CMS v4 Update: Getting unknown property: craft\models\Volume::settings

(Asked by: username_0 on 2023-04-12)

Our staging environment update to Craft v4 seemed to work fine, but now on production we're getting this error when trying to send email confirmations after successful orders (happens in the queue job):
Getting unknown property: craft\models\Volume::settings 
vendor/yiisoft/yii2/base/Component.php:154

It happens when order confirmation emails are being sent in the queue.
There are no useful additional infos in the logs.
We have no custom field called settings, so it must be a native field/prop.
There were no migration errors.
I've cleared the cache with no effect (1x via CMS; 1x via Console; 1x manually deleting in storage folder).
It seems this error usually happens when migrations had failed or with project config issues, but "settings" doesn't seem to be a field/column, so I'm not sure that's the issue.
I've re-saved all volumes and filesystems without effect.
Any other ideas that I can try?
Thank you!
PS: Running PHP 8.0.27, MySql 5.7, Craft CMS 4.4.7 and Commerce 4.2.6.

**Tags:** migration, commerce4
> **Comments:**
> **username_1**: thank you for your answer! I've tried both of those options now, and still no change. Any other ideas? This is getting frustrating and I'm contacting craft now :(  

---

## 1 answers

### Answer by username_2 on 2023-04-13. Score: 1

Sorry that your migration to Craft 4 has hit a hiccup! Something I would suggest starting with is deleting the vendor folder in your project, and then re-running composer install. This will pull in a fresh copy of all those internal Craft code files.

You could also try re-applying the project config (select the from YAML files option if prompted).

This has worked for us on some minor upgrade hiccups on our sites.

> **Comments:**
> **username_1**: thank you for your answer! I've tried both of those options now, and still no change. Any other ideas? This is getting frustrating and I'm contacting craft now :(  

---

