When loading shopping cart in Magento with a new Payment module, I get an error I haven't been able
Posted
by Joseph
on Stack Overflow
See other posts from Stack Overflow
or by Joseph
Published on 2010-05-27T16:23:59Z
Indexed on
2010/05/27
17:11 UTC
Read the original article
Hit count: 234
I am trying to add a new payment module into Magento. However, even after commenting out the vast majority of the code, I still get the following error:
Fatal error: Call to a member function isAvailable() on a non-object in /var/www/html/app/code/core/Mage/Payment/Helper/Data.php on line 71
I am using Magento 1.4.0.1, and have disabled the cache. I even emptied the cache several times just in case.
The only code currently not commented out is based on the tutorials here and here.
The error occurs when the cart is loaded either from the administration area or the front end.
Is there anyone out there that has run into a similar issue? I would post code, but I am not sure what needs to be posted.
Thanks for the assistance.
© Stack Overflow or respective owner