• Hi!

    Please help me I can’t print invoices in woo commerce.

    It was working before.
    To simplify what I’ve done i will use easy numbers of orders and invoices…

    I had 10 orders. I set up invoices in woo commerce and put invoice number 60.
    I print invoice of the order 8 and 9 (invoice number 61 and 62).
    Then after testing I realised I need another invoice number and I wanted to print orders from order 1, 2, etc…
    So I changed in pdf invoices/template number of invoice to 50 expecting I will have invoice of order 1 – 51, order 2 – 52, etc…
    Then I changed manually in order 8 and 9 invoice number to 58 and 59 so there will be correct numbers in all orders.

    Now it doesn’t work and I get this error:

    Warning: imagecreatefrompng(): ‘/tmp/cpdf_img_8NjCB6.png’ is not a valid PNG file in /home/smooth/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/lib/class.pdf.php on line 3978

    Warning: imagecopy() expects parameter 2 to be resource, boolean given in /home/smooth/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/lib/class.pdf.php on line 3979

    Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /home/smooth/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/lib/class.pdf.php on line 3980
    WriteBlob Failed `/tmp/cpdf_img_cvQb8R.png’ @ png.c/PNGErrorHandler/1416

    Thanks a lot for help!!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce PDF Invoices-can't print’ is closed to new replies.