Skip to content

Can't save attributes on a configurable product #13177

@bambamboole

Description

@bambamboole

Preconditions

I have a Magento Installation where I can't save attributes on a configurable product. (simple products work!).

Magento Version: 2.2.2
PHP Version: 7.1.13
MySQL Version: 10.1.30-MariaDB

Steps to reproduce

  1. Add a configurable product
  2. Change some attributes (tested with product images and country of manufacturer)
  3. Press Save

Actual Result

The following error occurs:

Warning: array_filter() expects parameter 1 to be array, string given in /var/www/dev.****.com/htdocs/web/vendor/magento/module-configurable-product/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Configurable.php on line 145

Expected Result

The product should be saved normally

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions