I got Fatal error in my website

: Call to a member function getId() on a non-object in price.php file


I don't know what is the problem for this.

  • We're going to need more details before we can help you. Can you provide a trace of this error? – Joseph Leedy Jan 8 '16 at 13:37
  • what you thing u need – Magento 2 Jan 8 '16 at 13:38
  • We need a backtrace of the error. Typically, if you are looking at an exception report, it will be included. If you do not have one, you can get it by temporarily placing the PHP function debug_backtrace() on the line that is throwing the error. – Joseph Leedy Jan 8 '16 at 13:54

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.