Answers.Body: <p>Looks like there was a broken include in the order template. Sorted now though thanks.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-19T18:08:50.673Z
Answers.Text: I'm currently having the same issue.  Would you care to share how you fixed it?
Answers.UserDisplayName: Eric Chantigny
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-20T12:31:08.077Z
Answers.Text: Hi Eric. Decided not to use order PDFs for now, as they're not necessary for this first iteration of the store.
Answers.UserDisplayName: Ian Ebden
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-12T06:23:14.760Z
Answers.LastActivityDate: 2018-10-12T06:23:14.760Z
Answers.UserDisplayName: Ian Ebden
Body: <p>Like the title says, I cannot output order PDFs in Commerce 2 and not sure how to debug this. Anyone else encountered the same issue?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-11T09:06:18.283Z
Comments.Text: That goes for control panel and front end btw.
Comments.UserDisplayName: Ian Ebden
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-11T09:42:30.337Z
Comments.Text: To further clarify, I am able to output a PDF but it only contains the error message.
Comments.UserDisplayName: Ian Ebden
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-11T18:25:06.320Z
Comments.Text: So you get an actual PDF file, but the contents of it say "An error occurred while generating this PDF"? Is that correct?  Are you using the stock order template for PDFs?
Comments.UserDisplayName: Brad Bell
Tags: <plugin-craftcommerce2>
Title: "An error occurred while generating this PDF." in Commerce 2
ThreadText: # "An error occurred while generating this PDF." in Commerce 2
  
  (Asked by: username_0 on 2018-10-11)
  
  Like the title says, I cannot output order PDFs in Commerce 2 and not sure how to debug this. Anyone else encountered the same issue?
  
  **Tags:** plugin-craftcommerce2
  
  > **Comments:**
  > **username_0**: That goes for control panel and front end btw.  
  > **username_0**: To further clarify, I am able to output a PDF but it only contains the error message.  
  > **username_1**: So you get an actual PDF file, but the contents of it say "An error occurred while generating this PDF"? Is that correct?  Are you using the stock order template for PDFs?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-10-12. Score: 1
  
  Looks like there was a broken include in the order template. Sorted now though thanks.
  
  > **Comments:**
  > **username_2**: I'm currently having the same issue.  Would you care to share how you fixed it?  
  > **username_0**: Hi username_2. Decided not to use order PDFs for now, as they're not necessary for this first iteration of the store.  
  
  ---
  
  