How to fix “Class ‘Mage_Googlecheckout_Helper_Data’ not found” error in Magento

Updated on May 16, 2023

When upgrading Magento, there is a known issue that can occur. This specific error is only possible if you don’t follow the recommended procedure for upgrading Magento

When you access the Admin Panel following the update and choose System → Configuration, a fatal error similar to the following one appears in your browser:

Class 'Mage_Googlecheckout_Helper_Data' not found in /var/www/html/magento/app/Mage.php on line 547

Nevertheless, even if the error occurs, there is an easy fix, and we will share it with you in this post.

This post includes:

How to Address the Error

This error can be addressed easily. The Magento team actually included it as an expected error in their release notes and shared the quick fix. All you need to do is:

  • Close the Magento Admin Panel browser window.
  • Log into your cPanel;
  • Use the cPanel File Manager;

Find File Manager in cPanel

  • Find the directory magento-install-dir/app/code/core/Mage/GoogleCheckout/etc/

Magento Googlecheckout Error Fix

  • You will locate the following files in it: adminhtml.xml, config.xml, system.xml, wsdl.xml, and wsi.xml.
  • As a user with root privileges, delete all files except config.xml;

When you log back into the Admin Panel, everything should work as expected.

Conclusion

Even while some mistakes are simple to resolve on your own, you can always rely on our technical support specialists for help if you need it with your hosting account. All you have to do is open a new support ticket and explain your issue.

First and foremost, we would like to remind you that we generate daily backups for all our customers on shared hosting packages. This means that we will most probably be able to restore your website if the backup that we have on file was generated before the upgrade of your website. However, the actual error message (“Class ‘Mage_Googlecheckout_Helper_Data’ not found”) is quite common and it can easily be resolved, so we believe that a restore will not be necessary.

If you need further assistance, feel free to open a support ticket, we will be glad to help with whatever needed.

We hope you find this article useful. Discover more about FastCloud - the top-rated Hosting Solutions for personal and small business websites in four consecutive years by the HostAdvice Community!

Magento Hosting

  • Free Installation
  • 24/7 Magento Support
  • Hack-free Protection
  • Fast SSD Storage
  • Free Domain Transfer
  • Free Magento Transfer
  • Immediate Activation
  • Free Cloudflare CDN
View More