(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
  •  | 
  •  

Question

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

Était-ce utile?

La solution

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

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top