1

I tried to export the customer from the magento i caught the error i didn't got any solution to resolve it.

Notice: Undefined offset: 0 in /var/www/html/development/amt/vendor/magento/module-customer/Ui/Component/DataProvider/Document.php on line 171

Thanks in advance :)

1
  • Did you ever find the solution for this?
    – Louis B.
    Jul 14, 2020 at 8:14

1 Answer 1

0

Looking at the line mentioned in the error message, the issue seems to be with a non-existent website ID.

Looking at the customer records I realized we had some accounts not associated with any website. These were migrated from Magento 1. Maybe something went wrong during the migration or we made an error when creating these accounts in Magento 1.

Here is a screenshot:

enter image description here

My solution was to simply delete these customer accounts, as they were test accounts anyway.

Afterwards I was able to successfully export all customer records.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.