After I open the migration tool, and click on the Migrate button, I see this:
Migration started, please don't close this window...
Moving your language settings...
Language settings has been migrated
Setting languages for posts...
And this is where it gets stuck
[20-Mar-2023 13:50:51 UTC] PHP Warning: Uninitialized string offset 0 in /wp-content/plugins/migrate-polylang-to-wpml-0.4/classes/class-mpw_migrate_posts.php on line 89
Thank you for contacting WPML support, I'd be happy to help you with this issue.
I've requested access to the backup file in the Google Drive link. Please approve the request then I can download the backup file.
I also deleted the part from the path in the first message.
I download the backup file, run the migration on my demo site and see the issue happens when using PHP 8.1. If I downgrade PHP to 7.4 and the migration process will work properly.
I'm asking my 2nd tier support about this issue and update you here when I have something to share.
Hi,
I confirm, that moving back to php 7.4 did solve the issue, I was able to migrate. Please go ahead, and try to fix this issue with php 8+, but hopefully I don't need further help. Feel free, to post it here, when there is a php 8+ compatible solution available for anyone else running into the same issue.
Thank you!