Home > Magento Payment Module > I have installed the module correctly and cleared the cache but, I get an error like this: Fatal error: Call to a member function toOptionArray() on a non-object in <br />[magento

I have installed the module correctly and cleared the cache but, I get an error like this: Fatal error: Call to a member function toOptionArray() on a non-object in <br />[magento

This error usually occurs when you have compilation enabled for Magento.
When compilation is enabled then, you must remember to re-compile after installing a new module.
To re-compile go to: System > Tools > Compilation > Re-run compilation