After Upgrade from Magento 2.3.3 then, we save a new shipment then show a white blank page. This blank page comes when we add Tracking Information. When we check the shipment generated successfully.

enter image description here

  • Can you please press CTRL + U in keyboard and check is there any error in your view source page? – Kishan Savaliya Nov 5 '19 at 14:50
  • Hello @KishanSavaliya i check with CTRL + U then show all source code but No any error found . – Chirag Gondaliya Nov 6 '19 at 4:44
  • Can you please open your app/bootstrap.php file and uncomment this line there ini_set('display_errors', 1); and then refresh your page and check your view source code. @ChiragGondaliya – Kishan Savaliya Nov 6 '19 at 4:49
  • Try this but same result – Chirag Gondaliya Nov 6 '19 at 5:32
  • Hello, @KishanSavaliya This blank page comes when we add Tracking Information. – Chirag Gondaliya Nov 6 '19 at 6:29

It seems to be a bug in Magento 2.3.3, 2.3.4 and 2.3.5. Try overriding \vendor\magento\module-sales\view\frontend\templates\email\shipment\track.phtml

Replace this code:

<a href="<?= $block->escapeUrl($block->getTrackingUrl()->getUrl($_item)) ?>" target="_blank"> <?= $block->escapeHtml($_item->getNumber()) ?> </a>

With this one:

<?= $block->escapeHtml($_item->getNumber()) ?>

It worked for me.

The solution: https://github.com/magento/magento2/issues/25221


it must have an error.

First, Access to file app/bootstrap.php -> delete the comment of row ini_set('display_errors', 1); Then run bin/magento deploy:mode:set developer to show error.

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.