Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Class 'Mage_Googlecheckout_Helper_Data' not found

Tags:

php

magento

We've just upgraded from Magento version 1.8.0.0 to 1.8.1.0 and now when we go to the configuration section of our site we receive the message:

Fatal error: Class 'Mage_Googlecheckout_Helper_Data' not found in /home/dir/public_html/guides/setup/app/Mage.php on line 547

Any ideas on what might be causing this

like image 879
Matthew Ogborne Avatar asked Dec 13 '13 14:12

Matthew Ogborne


4 Answers

Please check the releasenotes:

  1. Close the Admin Panel browser window.
  2. As a user with root privileges, delete all files except config.xml from the following >directory: magento-install-dir/app/code/core/Mage/GoogleCheckout/etc
  3. When you log back in to the Admin Panel, everything works as expected. If you're still encountering errors, see Getting Help With Your Installation or Upgrade.

-- Magento Community Edition (CE) Release Notes (1.8 and later)

like image 115
Simon H Avatar answered Nov 01 '22 18:11

Simon H


If you get this error it means you are on the right track.

Solution:

Close the Admin Panel browser window. As a user with root privileges, delete all files except config.xml from the following directory: magento-install-dir/app/code/core/Mage/GoogleCheckout/etc When you log back in to the Admin Panel, everything works as expected. If you're still encountering errors, see Getting Help With Your Installation or Upgrade.

The error you get was predicted and documented by the Magento core team. The solution I gave is from the Magento 1.8.1.0 release notes page

like image 45
Marius Avatar answered Nov 01 '22 19:11

Marius


Oddly I recently got this on a Magento 1.9.2.3 install.

The cause is the following missing from the app\code\core\Mage\GoogleCheckout\etc\config.xml

<global>
...
    <helpers>
        <googlecheckout>
            <class>Mage_GoogleCheckout_Helper</class>
        </googlecheckout>
    </helpers>
...
</global>

Results in the autoloader not being able to find the helper file hence reverting to checking for Mage_Googlecheckout.

like image 4
Dominic Avatar answered Nov 01 '22 18:11

Dominic


  • Delete all files except config.xml from /app/code/core/Mage/GoogleCheckout/etc.

  • Clear the cache.

like image 3
KSM Avatar answered Nov 01 '22 17:11

KSM