After installing Magento security patch SUPEE 7405, individual order pages no longer appeared within Magento’s admin section. The orders list page was fine but selecting an order would then display a blank page, except for the text ‘information’.
A server 500 error was given in the background, but no helpful errors were found in the system.log file.
Magento Blank Order Page Solution
The fix is to correct a code error in the file;
app/code/core/Mage/Adminhtml/Helper/Sales.php
copy this file to;
app/code/local/Mage/Adminhtml/Helper/Sales.php
This file will now override the default Magento file. Now find line 131 and the code;
$links = [];
If you open this up in a code editor, you’ll see that it has already been marked as incorrect.
The line should be;
$links = array();
The bug relates to Magento websites that use PHP 5.4 and below, so updating your php version (if possible) would also resolve the issue.
I found this issue on a Magento 1.4.1.0 website, but it can occur on later versions using older PHP versions.
Let me know in the comments below if this fix has helped you.
Thanks for your help! We’ve been struggling with this for over a week and it’s now fixed 🙂
Great to hear that it came in handy, thanks for letting me know!
Andrew, thanks for writing this post, however, this code is missing in grid.php on my installation for some reason. Thoughts?