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
After this error, running craft up again just displayed the Your system is up to date message. Running project-config/apply then reset the config again to the previous state (as described in #16086).
Steps to reproduce
Not sure. There were a lot of issues with the project config recently (#16086, #16087, #16145). All of those might have left database in an intermediate stage (though we also tried to restore an earlier backup and got the same error again). And since the config/ is frequently overwritten unexpectedly (see #16086), some changes might get lost on the way. This makes it difficult to isolate those problems and provide a clear way to reproduce them.
We manually added the fix from #16146 to be able to work at all.
Craft CMS version
5.5.1.1
PHP version
8.3
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:
Thanks for reporting that! It was a bug in the logic for restoring a soft-deleted custom field, via project-config/apply. Fixed now in 5.5.2.
As for the site this occurred on, it should be fine after running project-config/apply a second time. The field’s database record should have been restored the first time (when the error occurred), and running it a second time gets the project config data fully in sync.
What happened?
Description
We're getting an error when trying to apply the project config in a specific branch:
Here's the full stack trace:
After this error, running
craft up
again just displayed the Your system is up to date message. Runningproject-config/apply
then reset the config again to the previous state (as described in #16086).Steps to reproduce
Not sure. There were a lot of issues with the project config recently (#16086, #16087, #16145). All of those might have left database in an intermediate stage (though we also tried to restore an earlier backup and got the same error again). And since the
config/
is frequently overwritten unexpectedly (see #16086), some changes might get lost on the way. This makes it difficult to isolate those problems and provide a clear way to reproduce them.We manually added the fix from #16146 to be able to work at all.
Craft CMS version
5.5.1.1
PHP version
8.3
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: