After upgrading to the latest Magento 2.3.5,

Assigned categories have automatically removed from the product after sometime add/edit products.

Example: I have assigned the following categories in one product.

enter image description here

After a few minutes, categories auto removed from assigned products.

enter image description here

1 Answer 1


After saving, you might wanna check on db itself and see if the changes are reflected or not. If yes, it may just be matter of cleaning cache and reindexing.

  • I have checked the database table 'catalog_category_product' with an example and after 2 minutes, 4 categories have removed automatically from the database. Strange! Commented Jul 20, 2020 at 7:49
  • I have added one product with 12 categories: prnt.sc/tlmnxe I have refreshed after 2 minutes and 4 categories have removed automatically from the database. prnt.sc/tlmodp Commented Jul 21, 2020 at 4:22
  • I just tried updating categories in my dev env with 2.3.5-p1. it works fine and within debug log I could trace some entries catalog/product/save/
    – rex
    Commented Jul 22, 2020 at 0:58
  • It's possible that your tables might be corrupted or something or it just may be any external service which resets the stock, I may not be able to comment more without knowing all the circumstances. I would recommend watching for/setup db logs to find out more about this issue.
    – rex
    Commented Jul 22, 2020 at 1:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.