super-table
super-table copied to clipboard
Craft 4: Config Content Table Issue
Describe the bug
For my Craft 4 site, I made some simple config changes but when I applied them from my local to dev it wouldn't apply the changes. I checked "check content Table" on local and got this error.
Steps to reproduce
Craft CMS version
4
Plugin version
2.1.4
Multi-site?
No response
Additional context
No response
I ran into similar issues when trying to apply the project config on my staging environment.
The following comments are from Matt at Servd who looked into the issue for me on their end.
It looks like you might have found a problem with Supertable's project config migration process.
The error:
Getting unknown property: craft\fields\Entries::contentTable
It's firing when a change to SuperTable's data is being applied. Guessing, but I'm thinking contentTable was a custom field which has been removed, but there was a supertable field referencing it. When the supertable field is being cleaned up it's trying to access the contentTable field, but it has already been deleted
There is a quirk of project config where it doesn't maintain the order that you delete things, it just tracks all the deletions then applies them in alphabetical order according to their UIDs. That might be playing a part
Only thing I'm not sure of from what they've said is about the contentTable. This has never been a field on my site, so guessing it's related to your plugin?
I'm getting the exact same error 🤔