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
I get this error on the admin/dashboard and on the store settings. I think it has to do with stores settings not getting correctly updated after removing a site in admin/settings/sites.
I have tried to replicate this issue but am unable to get into the state you mentioned.
When a site is deleted (even soft deleted) the record from the commerce_site_stores table is removed, this is done by Commerce listening to the site delete event from Craft and removing the site store record from Commerce's project config.
Is it possible for you to show the steps that got you to this point?
I tried
Creating a new site
Waiting for it to propagate data
Saw the record in the sites and commerce_site_stores tables
Deleted the site
Observed the dateDeleted being not null in the sites table
Observed that the relationship row in the commerce_site_stores had been removed
What happened?
Description
I get this error on the admin/dashboard and on the store settings. I think it has to do with stores settings not getting correctly updated after removing a site in admin/settings/sites.
Steps to reproduce
Craft CMS version
Craft Pro 5.4.10.1
Craft Commerce version
5.2.2
PHP version
8.2.24
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: