Can anyone help? I'm having this error in namespace/sales/order/view/order_id/4/: enter image description here

Thank a lot!

  • add block code of Customer history module Jun 24, 2019 at 9:24
  • @MSA could you say more detail? Thanks Jun 24, 2019 at 9:32
  • @MSA thanks for your help. It working. Jun 24, 2019 at 9:43

1 Answer 1


The object(like product) on which you are calling getProductOptions() method is null or not initialised. Thats why you are getting such error. So you can check whether object is initialised properly or not.

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.