After upgrade to version 1.9.2.1 via command line everything works fine except "Create new order from admin panel"
When adding products to the new order there's an error:
PHP Fatal error: Call to a member function getCode() on a non-object in /public_html/includes/src/Mage_Directory_Model_Currency.php on line 194
We have base currency as MXN and no other addon currency so we:
Added USD as a second Currency with MXN as a base currency and we could now add products ![]()
BUT when selecting payment method got the same error as before ![]()
Everything was working fine on 1.9.0.1 any ideas? what could be broken
Hi.
Just before the
throw new Exception();
on line 193 of app/code/core/Mage/Directory/Model/Currency.php, can you add in the following
var_dump($toCurrency);
and let's see what that outputs.
Regards,
Andy
Thanks for the quick response iweb_smartie
used: Mage::log('$toCurrency = '.$toCurrency,null,'debug.log',true);
instead of var_dump()
And I got the following:
DEBUG (7): $toCurrency = false
Hey Guys, i get this error - maybe you can help me?
https://community.magento.com/t5/German/Error-Currency-EUR-not-found-HILFE/m-p/29803#U29803