小编Sof*_*ons的帖子

从shopware5迁移到shopware6时日志中出现SWAG_MIGRATION_RUN_EXCEPTION

PHP 版本: 8.1

商店软件版本: 6.4.13

预期行为: 数据迁移成功并在后端/前端可见。

实际行为: 迁移的数据在后端/前端中似乎不可见,并且日志中存在错误。

如何重现: 我正在尝试在虚拟环境中的本地开发环境中从带有演示数据的 shopware 5.7 迁移到 shopware 6.4。我已遵循网站 https://docs.shopware.com/en/migration-en/Migrationprocess?category=migration-en/shopware5中提到的所有说明 ,为此我使用了本地网关设置。

虽然迁移的状态是‘成功’。Shopware 6.4 后端看不到迁移的数据,并且迁移过程中的日志中存在错误。我附上了一份日志供参考。

错误日志:


[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: language, sourceId: -
SwagMigrationAssistant\Migration\Logging\Log\ExceptionRunLog::__construct(): Argument #4 ($sourceId) must be of type ?string, int given, called in /var/www/webdev/shopware56/custom/plugins/SwagMigrationAssistant/Migration/Service/MigrationDataConverter.php on line 144

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: category, sourceId: -
SwagMigrationAssistant\Profile\Shopware\Converter\ShopwareConverter::getSourceIdentifier(): Return value must be of type string, int returned

[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: customer_group, sourceId: -
SwagMigrationAssistant\Profile\Shopware\Converter\ShopwareConverter::getSourceIdentifier(): Return value …
Run Code Online (Sandbox Code Playgroud)

migration shopware6 shopware5

3
推荐指数
1
解决办法
604
查看次数

标签 统计

migration ×1

shopware5 ×1

shopware6 ×1