When I delete an item from my cart (I clicked on X) I have this error:

Fatal error: Call to undefined method Mage_Core_Helper_Data::urlDecodeAndEscape() in /var/www/vhosts/mywebiste/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php on line 787

The page is: http://mywebsite.com/checkout/cart/delete/id/6990/uenc/aHR0cDovL3d3dy5hcnRpc3NpbWFsdWNlLml0L2NoZWNrb3V0L2NhcnQv/

I have Magento

Who can help me?

1 Answer 1


The urlDecodeAndEscape() method was added in version

Did you make a clean install with version or did you an upgrade from an older Magento version.

In case you made an upgrade check in /app/code/core/Mage/Core/Helper/Abstract.php on line 381 if the method urlDecodeAndEscape is available. Else I would suggest you make a fresh install with the latest version from Magento.

  • My files in /app/code/core/Mage/Core/Helper/ were edited (maybe an hacker?). I replaced them with a backup file and it works now! Thanks
    – dabbia
    Feb 21, 2015 at 23:07
  • I had similar situation; in my case the Mage_Core_Helper_Abstract was monkey patched in /app/code/local/Mage/Core/Helper/Abstract.php and this caused the issue; maybe can help someone else Jun 12, 2015 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.