{"id":16297337,"date":"2022-12-16T19:21:06","date_gmt":"2022-12-16T19:21:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/empty-pdfs\/"},"modified":"2022-12-16T19:21:06","modified_gmt":"2022-12-16T19:21:06","slug":"empty-pdfs","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/empty-pdfs\/","title":{"rendered":"Empty PDFs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi, some of our customers have reported that the attached PDF invoice is blank (with up to 14 pages). I have looked at some invoices in the backend. I see HTML output, but the logo is missing because the server path is wrong. In the preview everything looks correct, but in the invoice itself the graphic address looks like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">https:\/\/example.org\/usr\/local\/www\/apache24\/noexec\/example.org\/wp-content\/uploads\/2021\/12\/mylogo.png<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">instead of<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">https:\/\/example.org\/wp-content\/uploads\/2021\/12\/mylogo.png<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I can&#8217;t find useful information in the debug log.<\/p>\n","protected":false},"template":"","class_list":["post-16297337","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16297337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16297337\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16297337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}