Skip to main content
added 247 characters in body
Source Link

When i am importing a csv file in magento 2.4.6. It is giving me this error again and again

Additional data: <div class="messages"><div class="message message-error error"><div data-ui-id="messages-message-error" >Warning: Trying to access array offset on value of type null in /chroot/home/html/vendor/magento/module-catalog-import-export/Model/Import/Product.php on line 1721</div></div></div>

Also some imports are working and some are giving this error. Also when i imported a file when it got imported all the other products from category disappeared and only imported products remain. I can make sure that the csv file is valid one. I tried reindexing but having same issue. The error i am encountering is listed above.This is line foreach ($websiteData as $delSku => $websites) { $productId = $this->skuProcessor->getNewSku($delSku)['entity_id']; $delProductId[] = $productId; Please help!

When i am importing a csv file in magento 2.4.6. It is giving me this error again and again

Additional data: <div class="messages"><div class="message message-error error"><div data-ui-id="messages-message-error" >Warning: Trying to access array offset on value of type null in /chroot/home/html/vendor/magento/module-catalog-import-export/Model/Import/Product.php on line 1721</div></div></div>

Also some imports are working and some are giving this error. Also when i imported a file when it got imported all the other products from category disappeared and only imported products remain. I can make sure that the csv file is valid one. I tried reindexing but having same issue. Please help!

When i am importing a csv file in magento 2.4.6. It is giving me this error again and again

Additional data: <div class="messages"><div class="message message-error error"><div data-ui-id="messages-message-error" >Warning: Trying to access array offset on value of type null in /chroot/home/html/vendor/magento/module-catalog-import-export/Model/Import/Product.php on line 1721</div></div></div>

Also some imports are working and some are giving this error. Also when i imported a file when it got imported all the other products from category disappeared and only imported products remain. I can make sure that the csv file is valid one. I tried reindexing but having same issue. The error i am encountering is listed above.This is line foreach ($websiteData as $delSku => $websites) { $productId = $this->skuProcessor->getNewSku($delSku)['entity_id']; $delProductId[] = $productId; Please help!

Source Link

Import not working in magento 2.4.6 and category product disappeared

When i am importing a csv file in magento 2.4.6. It is giving me this error again and again

Additional data: <div class="messages"><div class="message message-error error"><div data-ui-id="messages-message-error" >Warning: Trying to access array offset on value of type null in /chroot/home/html/vendor/magento/module-catalog-import-export/Model/Import/Product.php on line 1721</div></div></div>

Also some imports are working and some are giving this error. Also when i imported a file when it got imported all the other products from category disappeared and only imported products remain. I can make sure that the csv file is valid one. I tried reindexing but having same issue. Please help!