cancel
Showing results for 
Search instead for 
Did you mean: 

Could not rebuild index for empty products array

Could not rebuild index for empty products array

Greetings,

 

Using magento 2.3.3.  I get this error when I delete customers.

Could not rebuild index for empty products arrayerror_deleted_customers.jpg

 

5 REPLIES 5

Re: Could not rebuild index for empty products array

@Sheba not able to see the screenshot as it is visible once moderator approves it.

 

Thanks

Re: Could not rebuild index for empty products array

Screenshot shows the error 3 times for the 3 customers I deleted. However,
despite the error, the 3 records were removed.

Re: Could not rebuild index for empty products array

@Sheba Have you checked your logs and try to run the below command from root of your directory.

 

php bin/magento indexer:reindex

Thanks

Re: Could not rebuild index for empty products array

YES. It happens when a record is deleted while in Admin.

Re: Could not rebuild index for empty products array

Hello @Sheba,

 

there should be 2 reasons
-> Ordered products by these customers is not available in Magento now

-> Reviews shared for those products which are not available now

 

please cross check it.

 

Thanks