1

When I try to print shipment I get this error:

Fatal error: Call to a member function getParentItem() on null in /public_html/includes/src/Mage_Sales_Model_Order_Pdf_Shipment.php on line 121

Please help me to solve this.

7
  • Can you try recompiling under System > Tools > Compilation ? Jun 7, 2016 at 9:54
  • Yes tried but its not working @RaphaelatDigitalPianism Jun 7, 2016 at 9:59
  • 1
    What are you trying to print? Does it work for other pdf types? Do you have any custom product types or extensions that change product behaviour? Jun 7, 2016 at 10:01
  • I am trying to print shipment , all others prints are working @KristofatFooman Jun 7, 2016 at 10:05
  • This error indicates your code is trying to execute some method in a item which is not well registered in your database. A corrupt database is a really big problem, specially if it involves database sales related tables. This happens with a concrete shipment, or it is a general problem? Jun 7, 2016 at 10:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.