• Resolved knutselateljee

    (@knutselateljee)


    Dear,

    The pdf invoice our customers and we receive in the mail all contain strange characters. Looks like color codes and font names.

    This results in pdf invoices that can’t be opened on mobile phones (when trying only White page is shown) and pdf invoices sent out with strange characters and fields.

    When opening the pdf in de Admin backend, all looks fine. It seems some strange things happen when pdf is added to outgoing mail. Please help how to fix this??

    This happened after we performed update.

Viewing 15 replies - 1 through 15 (of 19 total)
  • We are experiencing the same issue. When I review the invoices created yesterday, they display strange characters. Today, they appear blank, or the PDF cannot be opened. This issue only affects the invoices sent by email and does not occur with the invoices in the admin system.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @knutselateljee and @saunadofter,

    It could be related with the plugin’s fonts. This often happens when you migrate your site, or when you or a cleanup process accidentally delete the plugin temp folder, located under wp-content/uploads, maybe one of these things happened recently?

    To try to solve this, please go to WooCommerce > PDF Invoices > Advanced > Tools?tab, and click on the?Reinstall plugin fonts button. Then, try to open an existing invoice and check if it looks good.

    Let me know whether it worked, or you need more help!

    Thread Starter knutselateljee

    (@knutselateljee)

    Dear Yordan,

    I’m sorry but solutions didn’t work. Now invoices only show header, no body text. (just blank page with header image).

    This issue only affects the invoices sent by email and does not occur with the invoices in the admin system. In the WP-admin system, pdf invoices open correctly. The pdf-invoices attached to the e-mail sent to customer and to shop-owner however are blank or have very strange characters.

    Please investigate issue and find a fix.

    Many thanks,
    Knutselateljee

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @knutselateljee,

    I tried to reproduce the issue with the latest release, but everything is working fine on my side.

    That said, please go to?WooCommerce > Status > System Status, click on?Get system report, then click on?Download for support, attach the file on?https://www.file.io/, and finally paste the download link in a reply here (the file will be deleted after the first download, so please don’t try to download it yourself).

    Thread Starter knutselateljee

    (@knutselateljee)

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for sharing your system report, @knutselateljee:

    Could you please contact us at [email protected], so we can continue investigating this further?

    banketbakkerijmastenbroek

    (@banketbakkerijmastenbroek)

    Wij hebben bovenstaande allemaal gedaan maar er gebeurt niets Wij houden de meldingen border-color, #e4e4e4; border-width:1 px: border style: solid enz..

    I have also tried reinstall plugin fonts and it dit not solve the issues. Some pdf have strange caracters instead of the bold text, some is just blank and some i cant open the pdf. You find my system report here: https://limewire.com/d/7699a818-1756-4312-bef3-c81dd45bc7a6#MGJHAuAAbrJ8uqoC577w1Zc7PIcfALFn6SKWoClg1G0

    Here is some images how it look like: https://limewire.com/d/64013c30-ad3e-4391-b18d-f9df8858fde7#Owi50AkdAYWEvwxkXEzSf1EAFL-H_XiOaiqhm8J49oA

    Edit: added images of email to customer and a copy of pdf from email that dont work and same pdf from admin that work.

    • This reply was modified 1 month, 4 weeks ago by saunadofter.
    Thread Starter knutselateljee

    (@knutselateljee)

    Dear,

    I activated the “Debug” mode and can see that when order-notification mail is created with pdf invoice attached, a 200:ParseError occurs in the PDF Invoice plug in.

    I’ve reinstalled all lettertypes but nothing changes. ParseError is still cause that no pdf-invoice is correctly attached. When clicking on the attached pdf-invoice, you receive error that file is either in wrong format or damaged and can’t be opened.

    Thread Starter knutselateljee

    (@knutselateljee)

    This is the error the customer and shop manager receives when trying to open the pdf-invoice attached to the order mail of WooCommerce.

    ====================
    Adobe Acrobat could not open “invoice-2025_01_165.pdf” because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn’t correctly decoded).

    To create an Adobe PDF document, go to the source application. Then choose Save as Adobe PDF from the PDF dropdown in the Print dialog.
    ====================

    banketbakkerijmastenbroek

    (@banketbakkerijmastenbroek)

    any one something??

    Making a staging takes so long. This must be solved.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    I activated the “Debug” mode and can see that when order-notification mail is created with pdf invoice attached, a 200:ParseError occurs in the PDF Invoice plug in.

    @knutselateljee could you also check the WooCommerce logs to see if there are errors with the?wpo-wcpdf?or?fatal-errors?prefix? If so, please share the logs with us. You’ll find the logs under?WooCommerce > Status > Logs.

    See:?Where to find error logs

    Thread Starter knutselateljee

    (@knutselateljee)

    Hi Yordan,

    No issues whatever in wcpdf or fatal-errors prefix in the WooCommerce Logs. fatal-errors-prefix doesn’t even exist. Wcpdf logs only shows reinstallation of the fonts as requested in the support ticket a few days ago.

    I activated debug yesterday. This i got in wpo-wcpdf:

    2025-01-27T06:34:36+00:00 Varning Missing translation for: Swish in textdomain: woocommerce
    2025-01-27T06:34:36+00:00 Varning Missing translation for: Swish in textdomain: woocommerce
    2025-01-27T06:34:36+00:00 Varning Missing translation for: Delsumma in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-27T06:34:36+00:00 Varning Missing translation for: Rabatt in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-27T06:34:36+00:00 Varning Missing translation for: Frakt in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-27T06:34:36+00:00 Varning Missing translation for: Betalningsmetod in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-27T06:34:36+00:00 Varning Missing translation for: Totalt in textdomain: woocommerce-pdf-invoices-packing-slips

    wpo-wcpdf from yesterday:

    2025-01-26T11:09:00+00:00 Info Typsnitt ominstallerade!
    2025-01-26T12:52:11+00:00 Varning Missing translation for: Swish in textdomain: woocommerce 2025-01-26T12:52:11+00:00 Varning Missing translation for: Swish in textdomain: woocommerce 2025-01-26T12:52:11+00:00 Varning Missing translation for: Delsumma in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T12:52:11+00:00 Varning Missing translation for: Frakt in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T12:52:11+00:00 Varning Missing translation for: Betalningsmetod in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T12:52:11+00:00 Varning Missing translation for: Totalt in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T18:53:25+00:00 Varning Missing translation for: Swish in textdomain: woocommerce 2025-01-26T18:53:25+00:00 Varning Missing translation for: Swish in textdomain: woocommerce 2025-01-26T18:53:25+00:00 Varning Missing translation for: Delsumma in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T18:53:25+00:00 Varning Missing translation for: Rabatt in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T18:53:25+00:00 Varning Missing translation for: Frakt in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T18:53:25+00:00 Varning Missing translation for: Betalningsmetod in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T18:53:25+00:00 Varning Missing translation for: Totalt in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T20:31:55+00:00 Varning Missing translation for: Swish in textdomain: woocommerce 2025-01-26T20:31:55+00:00 Varning Missing translation for: Swish in textdomain: woocommerce 2025-01-26T20:31:55+00:00 Varning Missing translation for: Delsumma in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T20:31:55+00:00 Varning Missing translation for: Frakt in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T20:31:55+00:00 Varning Missing translation for: Betalningsmetod in textdomain: woocommerce-pdf-invoices-packing-slips
    2025-01-26T20:31:55+00:00 Varning Missing translation for: Totalt in textdomain: woocommerce-pdf-invoices-packing-slips

Viewing 15 replies - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.