I recently upgraded our starter commerce build from Commerce 4 to Commerce 5. After upgrading, when I attempt to apply the starter Commerce 5 project config to a new project, the application fails with the error: error: Calling unknown method: craft\models\Site::getStore().
My files have been shared with support@craftcms.com.
Steps to reproduce
Upgrade from Commerce 4 to Commerce 5.
Apply the upgraded Commerce 5 project config to a new project.
What happened?
Description
I recently upgraded our starter commerce build from Commerce 4 to Commerce 5. After upgrading, when I attempt to apply the starter Commerce 5 project config to a new project, the application fails with the error:
error: Calling unknown method: craft\models\Site::getStore()
.My files have been shared with support@craftcms.com.
Steps to reproduce
Craft CMS version
5.1.3
Craft Commerce version
5.0.5
PHP version
8.2.18
Operating system and version
Linux 6.6.26-linuxkit
Database type and version
MySQL 8.3.0
Image driver and version
No response
Installed plugins and versions
No response