I am using Magento 2.1.9 when I got checkout page getting this error. if anyone know this error reply me

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/XXX/public_html/XXXX/XXXX/vendor/magento/module-authorizenet/Model/Directpost/Response.php on line 77
  • did you make some modifications related to checkout? – fmsthird Mar 27 at 12:12
  • actually i applied patch regarding this "Auth.net.md5-2019-02-27-11-48-58.patch" after getting issue – Rv Singh Mar 27 at 12:13
  • that could be the source of error. check your vendor/magento/module-authorizenet/Model/Directpost/Response.php on line 77 try to change : to ; and check if that resolves it – fmsthird Mar 27 at 12:15
  • did you solve it? – fmsthird Mar 28 at 7:25
  • no but temorary i have to revert back my patch file after checkout working – Rv Singh Mar 28 at 8:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.