[SOLVED] Magento Fatal error: Call to a member function toOptionArray() on boolean Adminhtml System Config Form

This article provides a solution to the error occurred while accessing Payment methods section in Magento admin panel.

Problem:

In Magento admin, I tried to go to a configuration settings page, System -> Configuration -> SALES -> Payment Methods and it showed the following fatal error:

Fatal error: Call to a member function toOptionArray() on boolean … includes/src/Mage_Adminhtml_Block_System_Config_Form.php on line 463

Solution:

The following two steps should solve this error.

1) Disable Compilation from System -> Tools -> Compilation
2) Refresh Cache from System -> Cache Management

Hope this helps.
Thanks.