My products are showing out of stock all the time (even though they’re not), so I went to rebuild Inventory Stock Status but get the error:
CatalogInventory Stock Status rebuild error. Please try again later
I’m running it on wamp and its v slow. I read to speed it up during development turn off cache and it seems a little quicker. Could this be it?
Also, it might be related. When updating a product I get:
SQLSTATE[HY000]: General error: 1452 Cannot add or update a child row: a foreign key constraint fails (`cat`.`cataloginventory_stock_status`, CONSTRAINT `FK_CATALOGINVENTORY_STOCK_STATUS_PRODUCT` FOREIGN KEY (`product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CASCADE ON U)