Body: <p>After identifying contacts for a letter from Find Member and picking the template, and clicking on Create pdf or the other formats (same with Preview too). I get a blank page and the following error: "Failed to open <a href="http://www.site.org/administrator/?option=com_civicrm&amp;task=civicrm/member/search" rel="nofollow">http://www.site.org/administrator/?option=com_civicrm&amp;task=civicrm/member/search</a>" with an HTML error: "HTML1527: DOCTYPE expected. Consider adding a valid HTML5 doctype: "".</p>
  
  <p>I am using tokens from both contacts and membership.  I can create a pdf from Contacts but all the membership tokens are blank.  This worked last month when I created the pdfs from membership.  Did something change in .8 .9 or .10?</p>
  
  <p>Aaron
  Joomla 3.6.2, CiviCRM 4.7.10, PHP 5.6.24, </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-15T21:57:15.447Z
Comments.Text: This is happening with contributions as well. We are on Wordpress 4.5.3, Civi 4.7.10, and PHP 5.5.38
Comments.UserDisplayName: Ben
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-26T01:59:47.047Z
Comments.Text: This is still a problem for me. I cannot assemble any merged documents that have custom tokens.  Did something changed betwee Civi 4.7.8 and Civi 4.7.10 dealing with custom tokens?
Comments.UserDisplayName: Hudson Essex Terraplane Club
Tags: <civimember><pdf>
Title: Creating pdf from membership results in blank page
ThreadText: # Creating pdf from membership results in blank page
  
  (Asked by: username_0 on 2016-08-11)
  
  After identifying contacts for a letter from Find Member and picking the template, and clicking on Create pdf or the other formats (same with Preview too). I get a blank page and the following error: "Failed to open <http://www.site.org/administrator/?option=com_civicrm&task=civicrm/member/search>" with an HTML error: "HTML1527: DOCTYPE expected. Consider adding a valid HTML5 doctype: "".
  
  I am using tokens from both contacts and membership. I can create a pdf from Contacts but all the membership tokens are blank. This worked last month when I created the pdfs from membership. Did something change in .8 .9 or .10?
  
  Aaron
  Joomla 3.6.2, CiviCRM 4.7.10, PHP 5.6.24,
  
  **Tags:** civimember, pdf
  
  > **Comments:**
  > **username_1**: This is happening with contributions as well. We are on Wordpress 4.5.3, Civi 4.7.10, and PHP 5.5.38  
  > **username_0**: This is still a problem for me. I cannot assemble any merged documents that have custom tokens.  Did something changed betwee Civi 4.7.8 and Civi 4.7.10 dealing with custom tokens?  
  
  ---
  
  ## 0 answers
  
  