• Resolved dardeez200

    (@dardeez200)


    Hello Admin,

    It’s working fine when sending the email to customer if the order is completed. The issue is when for example, I want to print the invoice myself on my end.

    when clicking on the PDF invoice button (when order is completed), it load and then: There has been a critical error on this website. It use to work correctly before, I cannot see or download.

    What can I do ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hello @dardeez200,

    Could you please try adding &debug=true at the end of your document URL and share a screenshot of the output?

    E.g.:
    Original URL: example.com/[…]&_wpnonce=b1ce0a1b6d
    Debugging URL: example.com/[…]&_wpnonce=b1ce0a1b6d&debug=true

    You can use imgur.com or another image sharing service to upload your screenshot.

    Thread Starter dardeez200

    (@dardeez200)

    Hello yordansoares,

    I did what you asked me to do and it gave me a real error message like this

    (Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2250000 bytes) in /home/eyel36008369/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/Cpdf.php on line 5609
    There has been a critical error on this website. )

    I contacted my hosting provider and they fix it on their end, I am not good in dev but slowing trying to get better.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PDF invoice not working when clicking on the bottom’ is closed to new replies.