Closed ademers closed 3 years ago
Apparently, changing:
$newSubfields[$key] = [
'name' => $subfield['name'],
'handle' => $subfield['handle'],
'template' => $subfield['defaultValue'],
];
to
$newSubfields[$key] = [
'name' => $subfield['name'],
'handle' => $subfield['handle'],
'template' => $subfield['defaultValue'] ?? null,
];
may fix it. I'll open an issue and/or PR in the plugin repo.
Yeah this needs to be reported to the offending plugin. Nothing we can do about it.
Description
I get the following migration error related to the Asset Metadata plugin when attempting to update from from Craft 3.7.11 to 3.7.13. I had no issues updating to previous versions of 3.7 Migration file: https://github.com/carlcs/craft-assetmetadata/blob/v3/src/migrations/m180919_000000_craft3.php
Steps to reproduce
./craft migrate/all --interactive=0
Additional info