0

When i select shipping options and click on next button. It gives me error as Unable to save shipping information. Please check input data. The error is coming at this url /checkout/#shipping I have updated the magento version from 2.3.2 to 2.3.3. This issue is coming in 2.3.3 What is the solution for this?

Error in network tab
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance of Magento\Framework\Phrase or null, string given, called in /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/module-quote/Model/ShippingAddressManagement.php on line 121 and defined in /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/framework/Exception/InputException.php:56 Stack trace:

0 /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/module-quote/Model/ShippingAddressManagement.php(121): Magento\Framework\Exception\InputException->__construct('Validate class ...')

1 /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingProcessor.php(66): Magento\Quote\Model\ShippingAddressManagement->assign('3302', Object(Magento\Quote\Model\Quote\Address))

2 /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendo in /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/framework/Exception/InputException.php on line 56

{"messages":{"error":[{"code":500,"message":"Fatal Error: 'Uncaught TypeError: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance of Magento\Framework\Phrase or null, string given, called in /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/module-quote/Model/ShippingAddressManagement.php on line 121 and defined in /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/framework/Exception/InputException.php:56\nStack trace:\n#0 /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/module-quote/Model/ShippingAddressManagement.php(121): Magento\Framework\Exception\InputException->__construct('Validate class ...')\n#1 /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingProcessor.php(66): Magento\Quote\Model\ShippingAddressManagement->assign('3302', Object(Magento\Quote\Model\Quote\Address))\n#2 /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendo' in '/var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/framework/Exception/InputException.php' on line 56","trace":"Trace is not available."}]}}

  • Please check the exception log for more information about this error – Mattia Kozianowski Apr 6 at 6:51
  • 0-04-06 06:36:36] main.CRITICAL: The address failed to save. Verify the address and try again. {"exception":"[object] (Magento\\Framework\\Exception\\InputException(code: 0): The address failed to save. Verify the address and try again. at /var/www/vhosts/mobilemarkantennas.com/dev.mobilemarkantennas.com/vendor/magento/module-quote/Model/ShippingAddressManagement.php:120)"} [] – Steven Harris Apr 6 at 6:51
  • @MattiaKozianowski This is the error which i am getting, Any idea about this? – Steven Harris Apr 6 at 7:30
  • Can anybody help me plz – Steven Harris Apr 6 at 11:39
  • In your exception log you should find more information about this error.. By the way, your exception is thrown in: /vendor/magento/module-quote/Model/ShippingAddressManagement.php:120 Replace throw new InputException(__('The address failed to save. Verify the address and try again.')); with throw new InputException($e->getMessage()); and you will see the specific error – Mattia Kozianowski Apr 6 at 14:56

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.