We are having an issue where we are trying to get our site working as a static site, but everytime we run ssg:generate a portion of our english pages get populated with the japanese data. We are using multisite and have 3 language sites en, cn, jp
The area thats failing is admittedly a pretty tricky setup... we have a fieldset using a GRID block, the grid is pulling in ENTRIES from a collection that has its fields localized. And that then gets added to a page via a "page builder" fieldset that uses a REPLICATOR field type for users to pull in different blocks to build pages.
so somewhere in there there is a bug with SSG because it works fine otherwise... e.g. static cache with full strategy and a php please static:warm generates pages correctly.
I'd give PR #172 a try since I had similar issues with it before. Flushing the Blink cache fixed those problems. This is already included in ssg v3.0.2 (you are using 3.0.1).
We are having an issue where we are trying to get our site working as a static site, but everytime we run ssg:generate a portion of our english pages get populated with the japanese data. We are using multisite and have 3 language sites en, cn, jp
The area thats failing is admittedly a pretty tricky setup... we have a fieldset using a GRID block, the grid is pulling in ENTRIES from a collection that has its fields localized. And that then gets added to a page via a "page builder" fieldset that uses a REPLICATOR field type for users to pull in different blocks to build pages.
so somewhere in there there is a bug with SSG because it works fine otherwise... e.g. static cache with full strategy and a php please static:warm generates pages correctly.
Video showing the issue https://www.loom.com/share/7a463017b8b94943ae8e86aeaf4421e1
Repository the reproduces the problem https://github.com/ChromaTechnology/testssg
Environment Application Name: Statamic Laravel Version: 11.23.5 PHP Version: 8.2.19 Composer Version: 2.7.1 Environment: local Debug Mode: ENABLED URL: testmultisitessg.test Maintenance Mode: OFF Timezone: UTC Locale: en
Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED
Drivers Broadcasting: log Cache: file Database: sqlite Logs: stack / single Mail: log Queue: sync Session: file
Statamic Addons: 1 Sites: 3 (us, cn, jp) Stache Watcher: Enabled (auto) Static Caching: full Version: 5.31.0 PRO
Statamic Addons statamic/ssg: 3.0.1