• Hi There,

    Can you help me?

    Pdf cause internal server error( 500 internal server error ) when I try putting large number of text on the template file. putting less number of text allow me to generate the pdf. Im not sure how large are the maximum size of the pdf to generate that is allowable. we need to add the whole terms and condition text to the pdf for signatory purpose

    if you able to help me I would really appreciate it.

    Thanks

    https://ww.wp.xz.cn/plugins/woocommerce-pdf-invoices-packing-slips/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! The internal server error is probably caused by the maximum memory limit being reached.
    In theory there is no maximum size of the PDF, but DOMPDF (the PDF library that is used) can have difficulties handling a lot of text when this is in a table/table cell. If you make sure this text is not in a table but in a simple div, this will probably resolve these issues.

    Let me know if that helps!

    Ewout

Viewing 1 replies (of 1 total)

The topic ‘internal server error on large text’ is closed to new replies.