Magento – Fatal error: Call to a member function toOptionArray() on a non-object in Magento admin

magentomagento-1.7multi-selectshipping

When I click on Shipping Methods tab under Magento system->configuration->SALES tab I am faced with the following error:

Fatal error: Call to a member function toOptionArray() on a non-object in D:\xampp\htdocs\magento\app\code\core\Mage\Adminhtml\Block\System\Config\Form.php on line 463

The most astounding thing is that this is a fresh installation of Magento. Can anyone tell me how can I remove this error?

Best Answer

Add to config.xml

<global>
    <models>
        <stockindicator>
            <class>Namespace_ModuleName_Model</class>
        </stockindicator>
    </models>
</global>
Related Topic