0

This question already has an answer here:

Getting error on all add to cart links on product listing page.

=> Please assist me. Thanks!

marked as duplicate by 7ochem, Piyush, Jai, Manashvi Birla, Priyank Jan 24 '18 at 12:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • No. i have just download magento new version and replace all file on root folder with new version. – TheMask Jan 24 '18 at 7:16
  • Than try to check error log. What is it saying ? – Developer Webile Jan 24 '18 at 7:17
  • Try enabling errors logs, and check what errors come – dev_67Commerce Jan 24 '18 at 7:17
  • Exception message: Unsupported data type N httpdocs/lib/Unserialize/Reader/Arr.php(102): Unserialize_Reader_ArrValue->read('N', ';') – TheMask Jan 24 '18 at 7:22
1

It can be because of form key. You need to add following line to add form key just after form tag in give file list

<?php echo $this->getBlockHtml('formkey') ?>

1) For Add to cart in product view app/design/frontend/theme/package/template/catalog/product/view.phtml

2) For login & customer registration app/design/frontend/theme/package/template/persistent/customer/form/login.phtml app/design/frontend/theme/package/template/persistent/customer/form/registration.phtml

3) Update cart app/design/frontend/theme/package/template/checkout/cart.phtml

If this is fine then also possible because of new patches. Please Check: Security Patch SUPEE-10415 - Possible Issues?

https://gist.github.com/balloz/ceaf5feb5ac66caaa82342441d32aa88

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