cancel
Showing results for 
Search instead for 
Did you mean: 

Migration Issue Undefined offset

SOLVED

Migration Issue Undefined offset

Hello

 

I try to migrate Magento 1.9.2.4 to Magento 2.3.5. Event if i already unblock several troubles, i'm tryin to find a solution to this notice but i found nothing on forum.

 

Notice: Undefined offset: 18 in xx/xxx/vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php on line 496

 

[2020-06-10 13:42:21][INFO][mode: data][stage: integrity check][step: Data Integrity Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:21][INFO][mode: data][stage: integrity check][step: EAV Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: backend_model. Error: Class productlabels/productlabels_attribute_backend_image is not mapped in record attribute_id=138
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: backend_model. Error: Class productlabels/productlabels_attribute_backend_image is not mapped in record attribute_id=139
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_position is not mapped in record attribute_id=176
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_cmspage is not mapped in record attribute_id=178
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_pattern is not mapped in record attribute_id=184
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_design is not mapped in record attribute_id=192
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_layout is not mapped in record attribute_id=193
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_layout is not mapped in record attribute_id=196
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_position is not mapped in record attribute_id=197
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_layout is not mapped in record attribute_id=198
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class flexibleblock/fblock_attribute_source_position is not mapped in record attribute_id=199
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: backend_model. Error: Class blog/post_attribute_backend_image is not mapped in record attribute_id=209
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class blog/post_attribute_source_author is not mapped in record attribute_id=210
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class blog/post_attribute_source_allowcomment isnot mapped in record attribute_id=212
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class blog/post_attribute_source_layout is not mapped in record attribute_id=219
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: backend_model. Error: Class blog/category_attribute_backend_image is not mapped in record attribute_id=227
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class blog/category_attribute_source_displaymodeis not mapped in record attribute_id=234
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class blog/category_attribute_source_cmsblock isnot mapped in record attribute_id=235
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class blog/post_attribute_source_layout is not mapped in record attribute_id=241
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_model. Error: Class productlabels/productlabels is not mapped in record entity_type_id=9
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: attribute_model. Error: Class productlabels/attribute is not mappedin record entity_type_id=9
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_attribute_collection. Error: Class productlabels/attribute_collection is not mapped in record entity_type_id=9
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_model. Error: Class productlabels/css is not mapped in record entity_type_id=10
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: attribute_model. Error: Class productlabels/attribute is not mappedin record entity_type_id=10
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_attribute_collection. Error: Class productlabels/attribute_collection is not mapped in record entity_type_id=10
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_model. Error: Class flexibleblock/fblock is not mapped in record entity_type_id=11
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: attribute_model. Error: Class flexibleblock/attribute is not mappedin record entity_type_id=11
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_attribute_collection. Error: Class flexibleblock/attribute_collection is not mapped in record entity_type_id=11
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_model. Error: Class blog/post is not mapped in record entity_type_id=12
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: attribute_model. Error: Class blog/attribute is not mapped in record entity_type_id=12
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_attribute_collection. Error: Class blog/attribute_collectionis not mapped in record entity_type_id=12
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_model. Error: Class blog/category is not mapped in record entity_type_id=13
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: attribute_model. Error: Class blog/attribute is not mapped in record entity_type_id=13
[2020-06-10 13:42:21][WARNING]: Incompatibility in data. Source document: eav_entity_type. Field: entity_attribute_collection. Error: Class blog/attribute_collectionis not mapped in record entity_type_id=13
[2020-06-10 13:42:21][INFO][mode: data][stage: integrity check][step: Customer Attributes Step]: started
0% [>---------------------------] Remaining Time: < 1 sec
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:21][INFO][mode: data][stage: integrity check][step: Map Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][WARNING]: Source documents are not mapped: customgrid_options_source,customgrid_options_source_model,customgrid_options_source_option,themeframework_design_change_theme,themeframework_page,themeframework_page_store,themeframework_theme
[2020-06-10 13:42:23][WARNING]: Source fields are not mapped. Document: customer_group. Fields: webform_id,crf_activation_status
[2020-06-10 13:42:23][WARNING]: Source fields are not mapped. Document: sales_bestsellers_aggregated_daily. Fields: product_type_id
[2020-06-10 13:42:23][WARNING]: Source fields are not mapped. Document: sales_bestsellers_aggregated_monthly. Fields: product_type_id
[2020-06-10 13:42:23][WARNING]: Source fields are not mapped. Document: sales_bestsellers_aggregated_yearly. Fields: product_type_id
[2020-06-10 13:42:23][WARNING]: Source fields are not mapped. Document: sales_flat_order. Fields: customer_username,fianet3xcb_state,fianet3xcb_mode
[2020-06-10 13:42:23][WARNING]: Source fields are not mapped. Document: sales_flat_quote. Fields: customer_username
[2020-06-10 13:42:23][INFO][mode: data][stage: integrity check][step: Url Rewrite Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][INFO][mode: data][stage: integrity check][step: Log Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][INFO][mode: data][stage: integrity check][step: Ratings Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][INFO][mode: data][stage: integrity check][step: ConfigurablePrices step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][INFO][mode: data][stage: integrity check][step: OrderGrids Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][INFO][mode: data][stage: integrity check][step: Tier Price Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][INFO][mode: data][stage: integrity check][step: SalesIncrement Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][INFO][mode: data][stage: integrity check][step: Inventory Step]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:23][INFO][mode: data][stage: setup triggers][step: Stage]: started
100% [============================] Remaining Time: < 1 sec
[2020-06-10 13:42:25][INFO][mode: data][stage: data migration][step: EAV Step]: started
100% [============================] Remaining Time: < 1 sec
In ErrorHandler.php line 61:

Notice: Undefined offset: 18 in xx/xxx/vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php on line 496


migrate:data [-r|--reset] [-a|--auto] [--] <config>

System log file :

[2020-06-10 13:42:29] main.ERROR: Notice: Undefined offset: 18 in xx/xxx/vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php on line 496
#0 xx/xxx/vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php(496): Magento\Framework\App\ErrorHandler->handler(8, 'Undefined offse...', '/home/auxilium/...', 496, Array)
#1 xx/xxx/vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php(183): Migration\Step\Eav\Data->migrateCustomEntityAttributes()
#2 xx/xxx/vendor/magento/data-migration-tool/src/Migration/Mode/AbstractMode.php(82): Migration\Step\Eav\Data->perform()
#3xx/xxx/vendor/magento/data-migration-tool/src/Migration/Mode/Data.php(124): Migration\Mode\AbstractMode->runStage(Object(Migration\Step\Eav\Data), 'EAV Step', 'data migration')
#4 xx/xxx/vendor/magento/data-migration-tool/src/Migration/Mode/Data.php(69): Migration\Mode\Data->runData(Array, 'EAV Step')
#5 xx/xxx/vendor/magento/data-migration-tool/src/Migration/Console/MigrateDataCommand.php(59): Migration\Mode\Data->run()
#6 xx/xxx/vendor/symfony/console/Command/Command.php(255): Migration\Console\MigrateDataCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 xx/xxx/vendor/magento/framework/Interception/Interceptor.php(58): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 xx/xxx/vendor/magento/framework/Interception/Interceptor.php(138): Migration\Console\MigrateDataCommand\Interceptor->___callParent('run', Array)
#9 xx/xxx/vendor/magento/framework/Interception/Interceptor.php(153): Migration\Console\MigrateDataCommand\Interceptor->Magento\Framework\Interception\{closure}(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 xx/xxx/generated/code/Migration/Console/MigrateDataCommand/Interceptor.php(104): Migration\Console\MigrateDataCommand\Interceptor->___callPlugins('run', Array, Array)
#11 xx/xxx/vendor/symfony/console/Application.php(1001): Migration\Console\MigrateDataCommand\Interceptor->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 xx/xxx/vendor/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(Migration\Console\MigrateDataCommand\Interceptor), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 xx/xxx/vendor/magento/framework/Console/Cli.php(115): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 xx/xxx/vendor/symfony/console/Application.php(147): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 xx/xxx/bin/magento(23): Symfony\Component\Console\Application->run()
#16 {main} 

is Undefined offset: 18 the attribute_group_id or the attribut_id ?

 

If you have  a solution about this notice, don' hesitate to post (i try to solve this since last friday !!!)

 

 

 

www.webauxilium.com
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Migration Issue Undefined offset

@Bhanu Periwal 

 

Thank you for your answer.

 

The solution is a mixed of those 2 links

www.webauxilium.com

View solution in original post

2 REPLIES 2

Re: Migration Issue Undefined offset

Hi @Webauxilium 

Kindly refer below links :
https://github.com/magento/data-migration-tool/issues/813
https://github.com/magento/data-migration-tool/issues/112

It may can help you to resolve issues.

Problem solved? Click Accept as Solution!

Re: Migration Issue Undefined offset

@Bhanu Periwal 

 

Thank you for your answer.

 

The solution is a mixed of those 2 links

www.webauxilium.com