To give a bit of background, I've upgraded my Magento from 1.4.1 to 1.9.1 then to 188.8.131.52. Since then I've applied all of the patches needed including the patch that address's php 5.4. I've checked all frontend functionality through on my site and it's working fine. All of my dashboard function work fine apart from the print invoice
Here is an example of the url
But instead of downloading the invoice I get a webpage with a lot of text that looks like it's firing a long line of error code. It looks to be over 5000 lines long.
Array (  => Zend_Pdf_Page Object ( [_dictionary:protected] => Zend_Pdf_Element_Object Object ( [_value:protected] => Zend_Pdf_Element_Dictionary Object ( [_items:Zend_Pdf_Element_Dictionary:private] => Array ( [Type] => Zend_Pdf_Element_Name Object ( [value] => Page [_parentObject:Zend_Pdf_Element:private] => ) [LastModified] => Zend_Pdf_Element_String Object ( [value] => D:20150910113836+00'00' [_parentObject:Zend_Pdf_Element:private] => ) [Resources] => Zend_Pdf_Element_Dictionary Object ( [_items:Zend_Pdf_Element_Dictionary:private] =>
This is just a small snippet of the code on my page. Can anyone help?