0

I sadly was deleting a core file and can't get it back. It is this one:

/magento/vendor/magento/module-sales/Block/Adminhtml/Order/Create/Shipping/Method/Form.php

Can someone post it? Thanks!:-)

0

You can get the file from git. This is from 2.2 branch:

https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method/Form.php

| improve this answer | |
1

All you have to do is run composer update

| improve this answer | |
1

When I accidentaly delete a file, I go to my CPanel and .trash on root folder. Have you tried?

| improve this answer | |

Your Answer

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

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