What happened?
Description
I am migrating from 4.13.8 to 5.5.8 (with postgresql).
Exception: Attempt to assign property "type" on null (/var/www/craft/vendor/craftcms/cms/src/migrations/m230617_070415_entrify_matrix_blocks.php:112)
#0 /var/www/craft/vendor/craftcms/cms/src/db/Migration.php(50): craft\migrations\m230617_070415_entrify_matrix_blocks->safeUp()
#1 /var/www/craft/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(758): craft\db\Migration->up()
#2 /var/www/craft/vendor/craftcms/cms/src/console/controllers/MigrateController.php(382): yii\console\controllers\BaseMigrateController->migrateUp()
The $fieldLayoutUid layout uid does exist in the fieldlayouts table, if that helps.
|
$fieldLayout = $fieldLayoutUid ? $fieldsService->getLayoutByUid($fieldLayoutUid) : new FieldLayout(); |
Craft CMS version
5.5.8
PHP version
8.3.6
Operating system and version
Ubuntu 24.04
Database type and version
postgresql 16.6
Image driver and version
No response
Installed plugins and versions
What happened?
Description
I am migrating from 4.13.8 to 5.5.8 (with postgresql).
The
$fieldLayoutUidlayout uid does exist in thefieldlayoutstable, if that helps.cms/src/migrations/m230617_070415_entrify_matrix_blocks.php
Line 111 in ef947d0
Craft CMS version
5.5.8
PHP version
8.3.6
Operating system and version
Ubuntu 24.04
Database type and version
postgresql 16.6
Image driver and version
No response
Installed plugins and versions