Closed benfeather closed 3 months ago
Judging by the {"fieldUid":"6c34692f-01f3-4bb5-9497-4ef031b39af1","required":false}
config for a field, it looks like you might've been on the dev-craft-5
branch before an official beta was out, and we had finalized some big field layout changes?
We don't handle a migration from the un-tagged development branch.
Strange, this site is currently on Craft v4 and hasn't been upgraded until today (I never used the dev or beta versions). Would deleting the forms/fields and recreating them fix this issue?
Interesting, in that case, let me investigate!
I should also mention that you need to be on 2.1.5 before upgrading, but the plugin should disallow anything under that as soon as it's loaded. Just wondering if some updates to the field layout haven't been done before the migration.
If you're able to, sending your database to support@verbb.io
would be amazing, or at least the formie_newlayout
table.
I've sent the db. All of the plugins were up to date before performing the upgrade.
Many thanks for sending that though. Looks like some of your forms were using the old field layout format, which they shouldn't have, as whenever you save a form, it'll serialize its old field layout, ready for Formie 3's new field layout changes.
Regardless, fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.4"
.
Works perfectly, thanks!
Describe the bug
When upgrading to Craft 5, I get an error during the migration step:
Please let me know if there is any additional information I can provide.
Steps to reproduce
N/A - Was unable to reproduce on fresh install
Form settings
N/A - Forms work correctly, the issue only occurs during the migration.
Craft CMS version
5.0.0
Plugin version
3.0.0-beta.4
Multi-site?
Yes
Additional context