Description
Preconditions
- Magento CE 2.1.3
- PHP 7.0.13
- OS: Ubuntu 16.10
- Apache 2.4.18
Steps to reproduce
- In Admin, go to Stores->Configuration->Sales->Sales
- In Minimum Order Amount, Select Yes for Enable
- Fill in Minimum Amount and Description Message.
- Save Config.
- In Frontend, Add product to cart.
- Go to Cart, Change Qty and click Update Shopping Cart.
Expected result
Cart Should be Updated with new quantity.
Actual result
Error 500:
[Wed Jan 25 20:23:35.168951 2017] [:error] [pid 9139] [client 127.0.0.1:55620] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance of Magento\Framework\Phrase, string given, called in /var/www/vendor/magento/module-quote/Model/ShippingAddressManagement.php on line 121 and defined in /var/www/vendor/magento/framework/Exception/InputException.php:51
Stack trace:
#0 /var/www/vendor/magento/module-quote/Model/ShippingAddressManagement.php(121): Magento\Framework\Exception\InputException->__construct('Kindly place an...')
#1 /var/www/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingProcessor.php(66): Magento\Quote\Model\ShippingAddressManagement->assign('3', Object(Magento\Quote\Model\Quote\Address))
#2 /var/www/vendor/magento/module-quote/Model/Quote/ShippingAssignment/ShippingAssignmentProcessor.php(76): Magento\Quote\Model\Quote\ShippingAssignment\ShippingProcessor->s in /var/www/vendor/magento/framework/Exception/InputException.php on line 51, referer: https://localhost/checkout/cart/