I am trying to delete from top minicart and getting this strange error:

Recoverable Error: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance of Magento\Framework\Phrase, string given, called in /home/pocketgrocery/public_html/vendor/magento/module- quote/Model/ShippingAddressManagement.php on line 121 and defined in /home/pocketgrocery/public_html/vendor/magento/framework/Exception/InputException.php on line 51

Any suggestion?

1 Answer 1


I show many similar kind of error posts & questions

Recoverable Error: Argument {digit(s)} passed to...

As per my knowledge this error come because of we injected some class(es) in a constructor of a class,

that respective class already available in generation folder. so need to clean respective file from generation folder or clear generation folder data (except .htaccess file).

See changes in store front error will solved.

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.