Hello i have created one website magento version 1.9. In admin panel order section when I select any order and select Print invoices from action dropdown and submit then got error like:

"Call to a member function getParentItem() on a non-object in D:\xampp\htdocs\charcoal\app\code\core\Mage\Sales\Model\Order\Pdf\Invoice.php on line 141";

How can I solved this issues?

1 Answer 1


Try to disable all custom extensions which you have installed into Magento and then try to print invoice. After that, enable extension one by one so you will get idea if any extension conflicts with functionality.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.