Hi All,
I am trying to export products from my Magento 1.9.2 installation, however, each time I get this error:
Fatal error: Call to undefined method Mage_Adminhtml_Model_System_Config_Source_Yesno::setAttribute() in /app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php on line 389
I have checked the line number mentioned in the error:
public function getSource()
{
if (empty($this->_source)) {
if (!$this->getSourceModel()) {
$this->setSourceModel($this->_getDefaultSourceModel());
}
$source = Mage::getModel($this->getSourceModel());
if (!$source) {
throw Mage::exception('Mage_Eav',
Mage::helper('eav')->__('Source model "%s" not found for attribute "%s"',$this->getSourceModel(), $this->getAttributeCode())
);
}
$this->_source = $source->setAttribute($this);
}
return $this->_source;
}
I created a simple product with the Attributes & the Attribute Set that I required so as to download the same & use that as a template to import my product list.
I have checked all the custom attributes that I created, its still a no go, I have tried checking it on google & also on the forums, however, I am unable to resolve this issue.
I am not a developer, kindly guide me.
Thanks in advance.