If I try to change file Carrier.php add 'CommercialInvoice' => ['Purpose' => "SOLD"], the error is showing like

[08-Feb-2019 12:20:39 UTC] PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /home/mindbsoul/public_html/staging/vendor/magento/module-fedex/Model/Carrier.php on line 7

But there is no space on this page

kindly suggest

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.