Magento blank sales order view page after SUPEE 7405 patch

If you applied the SUPEE 7405 patch or upgraded to Magento and suddenly you found out that your sales order pages are blank, then here’s a quick fix. Just copy app/code/core/Mage/Adminhtml/Helper/Sales.php to app/code/local/Mage/Adminhtml/Helper/Sales.php, then open it. Find $links = []; then replace it with $links = array(); then save it.

Clear your cache and check your sales order view page. It’s now fixed. This is currently a bug for PHP 5.4 and below, so another fix is just upgrade your PHP version to 5.4 and above to resolve this issue fast.


7 responses to “Magento blank sales order view page after SUPEE 7405 patch”

  1. Thanks a lot bryanv el, this solution figured my problem.

    1. Bryan Veloso Avatar
      Bryan Veloso

      glad it helped! 🙂

  2. Hi,

    I am facing the same problem here! I looked in “app/code/local/ “for a “Mage” folder, but I can not find it! I have: Aitoc, Am, Custom and Meigee!
    Should I copy the whole “Mage” folder from app/code/core/Mage/Adminhtml/Helper/Sales.php to “app/code/local/ ” ?

    I would appreciate some help!


    1. Bryan Veloso Avatar
      Bryan Veloso

      You need to copy the file from the app/code/core to app/code/local

  3. Just wanted to say a big thank you. This helped solve my issue too – my order view screen was broken.

  4. Martin Avatar

    i have the same problem but it didn´t solved the problem.
    Can you maybe help me?

  5. Hi! I’m using magento but this issue still happens for many orders…
    at this magento version this fix already exists.
    my php is 5.5.35 and there is no errors at logs…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.