(Magento\Customer\Model\Customer\Interceptor) with the same ID “16” already exists. Error keeps showing in Health Monitor Suite

magento.stackexchange https://magento.stackexchange.com/questions/336741

  •  12-05-2021
  •  | 
  •  

سؤال

(Magento\Customer\Model\Customer\Interceptor) with the same ID "16" already exists. Error keeps showing in Health Monitor Suite.enter image description here

هل كانت مفيدة؟

المحلول

Please check UI Grid Component column data.

and kindly check if you are saving new customer with static ID or dynamic ID.

Generally, This error comes when you tried to create new instance of the customer with same id.

If this helps then HIT LIKE.

Enjoy your coding :)

Hiren Patel

نصائح أخرى

I recently ran in to this problem. It was caused by duplicate newsletter subscribers. Because of this the MySQL join resulted in two customer records being returned with the same ID when searching in the customer repository via the API.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top