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

Domanda

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

È stato utile?

Soluzione

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

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top