After upgrade to version 126.96.36.199 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 188.8.131.52 any ideas? what could be broken
Just before the
throw new Exception();
on line 193 of app/code/core/Mage/Directory/Model/Currency.php, can you add in the following
and let's see what that outputs.
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?