0

I'm trying assign product to categories using code like there Assign products:

.........    
$this->categoryLinkManagement->assignProductToCategories(
            $product->getSku(),
            $catIds
        );
............

but receive an error

enter image description here

Is it magento2 bug ? i use version 2.2.7

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.