Cannot add product to basket when assigned a category

We have recently upgraded to Magento 2.4.2-p1 however the products would not add to cart.

I realised that removing the product from any assigned categories it worked.

So I recreated all categories and reassigned products to the new (same) categories and all was well.

Have come back on this morning and again all products won’t add to cart, but removing products from all the categories it will then add to cart.

I’m confused as to what the issue is. Elastic search?

Any help appreciated.

submitted by /u/jameswhufc
[link] [comments]