The error simply says, Magento couldn't find Zend_Log
class inside your application. By default, this class resides in \lib\Zend\Log.php
1. So the first thing that you want to make sure is, this class exist in your magento instance.
But the bigger mistake that I can see here is, there is a Core Hack, which you should never do in Magento. If you want to extend Magento functionality, you should either do a rewrite or if possible, use an event handler.
In this case, default Mage_Checkout_Block_Onepage
class do not have a method getAddressesHtmlSelect()
, but it's parent class (Mage_Checkout_Block_Onepage_Abstract
) has one. So I doubt someone is trying to modify it's parent class method behaviour by directly putting the method inside Mage_Checkout_Block_Onepage
. This is completely wrong.
I am enforcing the point. "In order to do this, you should either use any event handler or rewrite the class Mage_Checkout_Block_Onepage
".
Note : We can't see any Zend_Log
class usage in the provided code. So further help is not possible, if you didn't provide more details.
1 - Zend Log class
Mage_Customer_Helper_Data::getIsRequireAdminUserToChangeUserPassword()
was introduced in Magento 1.9, so it sounds like your Mage_Customer_Helper_Data
class is from an older version.
The most likely explanation is an override in app/code/local
. Remove app/code/local/Mage/Customer/Helper/Data.php
or replace it with app/code/core/Mage/Customer/Helper/Data.php
and re-apply your modifications.
Note that code pool overrides in app/code/local/Mage
are bad practice and avoidable in almost all cases. If you really need to change a method of this helper, use a custom module with a class rewrite instead. This way, you can extend the original class and only change selected methods, which is more update-safe.
Best Answer
Most probably, you are using a module called "
Tm_Googlemap
" that has an admin configuration area. When a module uses the admin configuration and role system, it must have a Helper-class defined for translations. I guess you can find the module inapp/code/(local|community)/Tm/Googlemap/
, and it will have asystem.xml
andadminhtml.xml
in itsetc/
-directory.There you will find a node like:
Then, go into the module's
config.xml
file. Either there is already a nodeglobal/helper
, or you must create a new one:After this, check the module directory again. If there ist no folder
Helper/
with a file calledData.php
, create it. Then, insert these contents:Flush cache, logout and login from the admin panel - it should work then! Make sure to uncomment the line you commented, changes in the
/core/
-directory are no-go im Magento.