Magento configswatches Call to a member function toOptionArray() on a non-object -
i using magento 1.9.1.0 when in admin goto admin >catalog > configurable swatches
i below error
fatal error: call member function tooptionarray() on non-object in d:\wamp\www\mournewcs3\app\code\core\mage\adminhtml\block\system\config\form.php on line 463
my magento version updated 1.9 1.9.1.0
i not figure out how fix , based on online research when comment below text file "app/code/core/mage/configurableswatches/etc/system.xml"
it works fine
commented text :
<swatch_attributes translate="label"> <label>product attributes show swatches in product detail</label> <frontend_type>multiselect</frontend_type> <source_model>configurableswatches/system_config_source_catalog_product_configattribute</source_model> <sort_order>20</sort_order> <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> <can_be_empty>1</can_be_empty> </swatch_attributes> <product_list_attribute translate="label"> <label>product attribute use swatches in product listing</label> <frontend_type>select</frontend_type> <source_model>configurableswatches/system_config_source_catalog_product_configattribute_select</source_model> <sort_order>30</sort_order> <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> </product_list_attribute>
Comments
Post a Comment