craft-freeform icon indicating copy to clipboard operation
craft-freeform copied to clipboard

Failed to migrate m230101_200000_FF4to5_MigrateData.php: targetFieldHash

Open steve-p96 opened this issue 4 months ago • 2 comments

What happened?

am trying to upgrade to Freeform 5.x.x, starting from version 3.13.32. I have attempted several approaches, always beginning with a fresh database. In my latest attempt, I successfully updated to the latest version of Freeform 3 and then to the latest version of Freeform 4, without any issues.

However, the process consistently fails during the execution of the migration file m230101_200000_FF4to5_MigrateData.php.

The error is as follows:

Exception: Undefined property: stdClass::$targetFieldHash (/**mylocalpath**/vendor/solspace/craft-freeform/packages/plugin/src/migrations/m230101_200000_FF4to5_MigrateData.php:352)

Errors and Stack Trace (if available)

No response

How can we reproduce this?

  1. Update from 4.1.22 to 5.6.3 via CLI

Freeform Edition

Pro

Freeform Version

3.13.32

Craft Version

4.12.5

When did this issue start?

After upgrading from older Freeform version

Previous Freeform Version

No response

steve-p96 avatar Oct 02 '24 09:10 steve-p96