Skip to content

I’m facing the migration issue magento 1.9.3.9 to magento 2.4.4

There are showing some errors in migration How we can resolve it. anyone can resolve this issue ??

E:xampp81htdocsmagento2>php bin/magento migrate:settings vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.9/config.xml
PHP Fatal error:  During inheritance of Iterator: Uncaught Exception: Deprecated Functionality: Return type of MigrationResourceModelAbstractCollection::current() should either be compatible with Iterator::current(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationResourceModelAbstractCollection.php on line 35 in E:xampp81htdocsmagento2vendormagentoframeworkAppErrorHandler.php:61
Stack trace:
#0 E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationResourceModelAbstractCollection.php(11): MagentoFrameworkAppErrorHandler->handler(8192, 'Return type of ...', 'E:\xampp81\htdo...', 35)
#1 E:xampp81htdocsmagento2vendorcomposerClassLoader.php(578): include('E:\xampp81\htdo...')
#2 E:xampp81htdocsmagento2vendorcomposerClassLoader.php(432): ComposerAutoloadClassLoader::ComposerAutoload{closure}('E:\xampp81\htdo...')
#3 E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationResourceModelDocumentCollection.php(11): ComposerAutoloadClassLoader->loadClass('Migration\Resou...')
#4 E:xampp81htdocsmagento2vendorcomposerClassLoader.php(578): include('E:\xampp81\htdo...')
#5 E:xampp81htdocsmagento2vendorcomposerClassLoader.php(432): ComposerAutoloadClassLoader::ComposerAutoload{closure}('E:\xampp81\htdo...')
#6 [internal function]: ComposerAutoloadClassLoader->loadClass('Migration\Resou...')
#7 E:xampp81htdocsmagento2vendormagentoframeworkGetParameterClassTrait.php(34): ReflectionClass->__construct('Migration\Resou...')
#8 E:xampp81htdocsmagento2vendormagentoframeworkCodeReaderClassReader.php(42): MagentoFrameworkCodeReaderClassReader->getParameterClass(Object(ReflectionParameter))
#9 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerDefinitionRuntime.php(54): MagentoFrameworkCodeReaderClassReader->getConstructor('Migration\Resou...')
#10 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(48): MagentoFrameworkObjectManagerDefinitionRuntime->getParameters('Migration\Resou...')
#11 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Migration\Resou...')
#12 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(170): MagentoFrameworkObjectManagerObjectManager->get('Migration\Resou...')
#13 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(276): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument(Array, 'Migration\Resou...', NULL, 'source', 'Migration\App\S...')
#14 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(239): MagentoFrameworkObjectManagerFactoryAbstractFactory->getResolvedArgument('Migration\App\S...', Array, Array)
#15 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(34): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime('Migration\App\S...', Array, Array)
#16 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(59): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments('Migration\App\S...', Array, Array)
#17 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Migration\App\S...')
#18 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(170): MagentoFrameworkObjectManagerObjectManager->get('Migration\App\S...')
#19 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(276): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument(Array, 'Migration\App\S...', NULL, 'setupDeltaLog', 'Migration\Mode\...')
#20 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(239): MagentoFrameworkObjectManagerFactoryAbstractFactory->getResolvedArgument('Migration\Mode\...', Array, Array)
#21 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(34): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime('Migration\Mode\...', Array, Array)
#22 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(59): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments('Migration\Mode\...', Array, Array)
#23 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Migration\Mode\...')
#24 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(170): MagentoFrameworkObjectManagerObjectManager->get('Migration\Mode\...')
#25 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(276): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument(Array, 'Migration\Mode\...', NULL, 'dataMode', 'Migration\Conso...')
#26 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(239): MagentoFrameworkObjectManagerFactoryAbstractFactory->getResolvedArgument('Migration\Conso...', Array, Array)
#27 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(34): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime('Migration\Conso...', Array, Array)
#28 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(59): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments('Migration\Conso...', Array, Array)
#29 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Migration\Conso...')
#30 E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationConsoleCommandList.php(52): MagentoFrameworkObjectManagerObjectManager->get('Migration\Conso...')
#31 E:xampp81htdocsmagento2vendormagentoframeworkConsoleCli.php(226): MigrationConsoleCommandList->getCommands()
#32 E:xampp81htdocsmagento2vendormagentoframeworkConsoleCli.php(159): MagentoFrameworkConsoleCli->getVendorCommands(Object(MagentoFrameworkAppObjectManager))
#33 E:xampp81htdocsmagento2vendormagentoframeworkConsoleCli.php(134): MagentoFrameworkConsoleCli->getApplicationCommands()
#34 E:xampp81htdocsmagento2vendorsymfonyconsoleApplication.php(1286): MagentoFrameworkConsoleCli->getDefaultCommands()
#35 E:xampp81htdocsmagento2vendorsymfonyconsoleApplication.php(631): SymfonyComponentConsoleApplication->init()
#36 E:xampp81htdocsmagento2vendorsymfonyconsoleApplication.php(237): SymfonyComponentConsoleApplication->find('migrate:setting...')
#37 E:xampp81htdocsmagento2vendormagentoframeworkConsoleCli.php(115): SymfonyComponentConsoleApplication->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#38 E:xampp81htdocsmagento2vendorsymfonyconsoleApplication.php(149): MagentoFrameworkConsoleCli->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#39 E:xampp81htdocsmagento2binmagento(23): SymfonyComponentConsoleApplication->run()
#40 {main} in E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationResourceModelAbstractCollection.php on line 11

Fatal error: During inheritance of Iterator: Uncaught Exception: Deprecated Functionality: Return type of MigrationResourceModelAbstractCollection::current() should either be compatible with Iterator::current(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationResourceModelAbstractCollection.php on line 35 in E:xampp81htdocsmagento2vendormagentoframeworkAppErrorHandler.php:61
Stack trace:
#0 E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationResourceModelAbstractCollection.php(11): MagentoFrameworkAppErrorHandler->handler(8192, 'Return type of ...', 'E:\xampp81\htdo...', 35)
#1 E:xampp81htdocsmagento2vendorcomposerClassLoader.php(578): include('E:\xampp81\htdo...')
#2 E:xampp81htdocsmagento2vendorcomposerClassLoader.php(432): ComposerAutoloadClassLoader::ComposerAutoload{closure}('E:\xampp81\htdo...')
#3 E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationResourceModelDocumentCollection.php(11): ComposerAutoloadClassLoader->loadClass('Migration\Resou...')
#4 E:xampp81htdocsmagento2vendorcomposerClassLoader.php(578): include('E:\xampp81\htdo...')
#5 E:xampp81htdocsmagento2vendorcomposerClassLoader.php(432): ComposerAutoloadClassLoader::ComposerAutoload{closure}('E:\xampp81\htdo...')
#6 [internal function]: ComposerAutoloadClassLoader->loadClass('Migration\Resou...')
#7 E:xampp81htdocsmagento2vendormagentoframeworkGetParameterClassTrait.php(34): ReflectionClass->__construct('Migration\Resou...')
#8 E:xampp81htdocsmagento2vendormagentoframeworkCodeReaderClassReader.php(42): MagentoFrameworkCodeReaderClassReader->getParameterClass(Object(ReflectionParameter))
#9 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerDefinitionRuntime.php(54): MagentoFrameworkCodeReaderClassReader->getConstructor('Migration\Resou...')
#10 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(48): MagentoFrameworkObjectManagerDefinitionRuntime->getParameters('Migration\Resou...')
#11 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Migration\Resou...')
#12 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(170): MagentoFrameworkObjectManagerObjectManager->get('Migration\Resou...')
#13 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(276): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument(Array, 'Migration\Resou...', NULL, 'source', 'Migration\App\S...')
#14 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(239): MagentoFrameworkObjectManagerFactoryAbstractFactory->getResolvedArgument('Migration\App\S...', Array, Array)
#15 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(34): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime('Migration\App\S...', Array, Array)
#16 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(59): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments('Migration\App\S...', Array, Array)
#17 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Migration\App\S...')
#18 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(170): MagentoFrameworkObjectManagerObjectManager->get('Migration\App\S...')
#19 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(276): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument(Array, 'Migration\App\S...', NULL, 'setupDeltaLog', 'Migration\Mode\...')
#20 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(239): MagentoFrameworkObjectManagerFactoryAbstractFactory->getResolvedArgument('Migration\Mode\...', Array, Array)
#21 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(34): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime('Migration\Mode\...', Array, Array)
#22 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(59): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments('Migration\Mode\...', Array, Array)
#23 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Migration\Mode\...')
#24 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(170): MagentoFrameworkObjectManagerObjectManager->get('Migration\Mode\...')
#25 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(276): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument(Array, 'Migration\Mode\...', NULL, 'dataMode', 'Migration\Conso...')
#26 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryAbstractFactory.php(239): MagentoFrameworkObjectManagerFactoryAbstractFactory->getResolvedArgument('Migration\Conso...', Array, Array)
#27 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(34): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgumentsInRuntime('Migration\Conso...', Array, Array)
#28 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerFactoryDynamicDeveloper.php(59): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->_resolveArguments('Migration\Conso...', Array, Array)
#29 E:xampp81htdocsmagento2vendormagentoframeworkObjectManagerObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create('Migration\Conso...')
#30 E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationConsoleCommandList.php(52): MagentoFrameworkObjectManagerObjectManager->get('Migration\Conso...')
#31 E:xampp81htdocsmagento2vendormagentoframeworkConsoleCli.php(226): MigrationConsoleCommandList->getCommands()
#32 E:xampp81htdocsmagento2vendormagentoframeworkConsoleCli.php(159): MagentoFrameworkConsoleCli->getVendorCommands(Object(MagentoFrameworkAppObjectManager))
#33 E:xampp81htdocsmagento2vendormagentoframeworkConsoleCli.php(134): MagentoFrameworkConsoleCli->getApplicationCommands()
#34 E:xampp81htdocsmagento2vendorsymfonyconsoleApplication.php(1286): MagentoFrameworkConsoleCli->getDefaultCommands()
#35 E:xampp81htdocsmagento2vendorsymfonyconsoleApplication.php(631): SymfonyComponentConsoleApplication->init()
#36 E:xampp81htdocsmagento2vendorsymfonyconsoleApplication.php(237): SymfonyComponentConsoleApplication->find('migrate:setting...')
#37 E:xampp81htdocsmagento2vendormagentoframeworkConsoleCli.php(115): SymfonyComponentConsoleApplication->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#38 E:xampp81htdocsmagento2vendorsymfonyconsoleApplication.php(149): MagentoFrameworkConsoleCli->doRun(Object(SymfonyComponentConsoleInputArgvInput), Object(SymfonyComponentConsoleOutputConsoleOutput))
#39 E:xampp81htdocsmagento2binmagento(23): SymfonyComponentConsoleApplication->run()
#40 {main} in E:xampp81htdocsmagento2vendormagentodata-migration-toolsrcMigrationResourceModelAbstractCollection.php on line 11