Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! This sounds like a memory issue (lack of memory). I recommend turning on WP_DEBUG or the debug output option on the PDF Invoice Status tab, then trying again – this may give you a more descriptive error. If not, you can probably find more information in your sites PHP error log.

    More about solving memory issues specifically with the PDF invoice plugin:
    Solving Memory Issues

    Let me know if that helps or if you’re seeing an error that’s not related to memory usage.

    Ewout

    Thread Starter jaybury7

    (@jaybury7)

    Hi there Ewout,

    Thanks for your advice, I’ve updated my PHP memory to 256 and it works perfectly now! Fab ??

    Topic Resolved

    Plugin Contributor Ewout

    (@pomegranate)

    Great – glad to hear that fixed it ??

    Have a fantastic day!
    Ewout

    Where can we update the PHP memory size? I am getting this error. When you go to “WooCommerce” –> “Orders” in the back-end, there are PDF icons next to every item to generate PDF’s. Check screenshot https://prntscr.com/dxprf0.
    When we click on the icons, we only get a white page instead of the pdf file.
    Can you please let me know what is the problem there. I also did debug, and I am getting this error.
    Warning: copy(public_html/wp-content/uploads/wpo_wcpdf/fonts/Courier.afm): failed to open stream: No such file or directory in /public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php on line 139

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! It sounds like you may be missing some files (fonts specifically) or an issue with write permissions rather than this being an issue with memory. Do you see any orange or red flags on the permissions part at the bottom of the “Status” settings tab?
    You may need to delete the /wpo_wcpdf/ folder in its entirety from public_html/wp-content/uploads/ to reinitiate the installation of the fonts.

    Hope that helps!
    Ewout

    Shahid Ali

    (@shahidaliwise)

    Hi Ewout,

    Thanks for the reply,

    I am getting this error when I click on PDF icon. Check the screenshot https://prntscr.com/dykib2

    I deleted that folder which you said above, but the issue is remaining. I already made the permissions to my folder 777. But still getting the same error.

    There is no any orange or red flags on the permissions part.

    This is the path which I get after clicking on PDF icon.
    wp-admin/admin-ajax.php?action=generate_wpo_wcpdf&template_type=invoice&order_ids=5620&_wpnonce=c4e6aaf5fd

    I am also getting these lines error when I login into my wp-admin. Check the screenshot please.
    https://prntscr.com/dykqep

    Can you please guide me, how can I resolve this error.
    waiting for your reply,
    Shahid Ali

    Plugin Contributor Ewout

    (@pomegranate)

    I have received an email about this issue from Pieter that indicated this is a permissions issue (all permissions shown red = no write permissions). Since Pieter has a premium license I have sent him instructions via email.

    Ewout

    Shahid Ali

    (@shahidaliwise)

    Who is pieter and What I need to do now?

    Plugin Contributor Ewout

    (@pomegranate)

    Well Pieter is someone from that site (draagadviseur.be) who contacted me via email. I assume you two know eachother when working on the same site ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WooCommerce PDF Invoices & Packing Slips HTTP ERROR 500’ is closed to new replies.