cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to save attributes in attribute set

Unable to save attributes in attribute set

Servus,

when i try to save Attributes to an Attribute Set, i get the confirmation that its been saved. When i reopen the Set, no attribute is saved to my Set. 

Log file says:

ERR (3): Warning: Cannot use a scalar value as an array in app/code/core/Mage/Adminhtml/controllers/Catalog/Product/SetController.php on line 138

Magento 1.9.3.2

$data = Mage::helper('core')->jsonDecode($this->getRequest()-getPost('data'));$data['attribute_set_name'] = $helper->stripTags($data['attribute_set_name']);$model->organizeData($data);

 

 

1 REPLY 1

Re: Unable to save attributes in attribute set

Hi @CFDynamics,

 

It seems $data isn't an array.

 

- Are you using soem thid party module that change something about attributes or attribute sets?

- What's the value of $data?