I am facing a problem whenever I go into

catalog->products->edit product and delete the category from product and click on save button the error is coming. Could not save product "3194" with position 0 to category 12.

This is happening with my all products.

I have searched a lot on this error but could not found a proper solution for that.

Please See Image below for more clarity.

enter image description here

  • Which Magento version you're using? – Sumit Aug 30 at 6:52
  • @Sumit I am Using 2.3.0 – Ali Sultan Khan Aug 30 at 6:54
  • It is not related to any duplicate URL. The category linking is not happening. Check this file: vendor/magento/module-catalog/Model/CategoryLinkRepository.php and check "save" method. – Rahul Anand Aug 30 at 8:20
  • @RahulAnand so according to you what I understand is the problem is in save method but can you explain a bit more why save method not working? cuz I am new to Magento and going to debug this method as well. – Ali Sultan Khan Aug 30 at 10:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.