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

    (@pomegranate)

    Hi!
    It looks like either there is a plugin conflict (if you are using any other plugins that output to PDF), or the plugin is missing files, specifically:
    woocommerce-pdf-invoices-packing-slips/lib/dompdf/dompdf_config.inc.php

    but judging from another error, probably more files from the dompdf folder.

    Try removing and reinstalling the plugin if you are sure you’re not using other plugins that output to PDF (and use the same library, dompdf).

    Let me know if that helps!

    Ewout

    Thread Starter ThemeHigh

    (@themehigh)

    Thanks for your quick reply!

    I have installed CiviCRM plugin, and there I can see dompdf folder. Please see the below links to see the folder structure.

    -dompdf folder structure in CiviCRM
    https://www.dropbox.com/s/bth1spioduuvrp8/civi-dompdf.png?dl=0

    -dompdf folder structure in WooCommerce PDF Invoices & Packing Slips
    https://www.dropbox.com/s/vkonp9rvrusmb12/woo-pdf-invoice-dompdf.png?dl=0

    If this CiviCRM dompdf folder conflict causing this issue, is there any way to resolve this conflict from ‘WooCommerce PDF Invoices & Packing Slips’ plugin side.

    Thanks again for your support.

    Thread Starter ThemeHigh

    (@themehigh)

    Please see more specific error details in below link,
    https://www.dropbox.com/s/8llko44y2atf28n/generate-pdf-error.png?dl=0

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! I’m afraid I can’t help you with this. To prevent worse errors, this plugin checks if DOMPDF is already loaded, and if so, it doesn’t try to load it again (which would result in a fatal error). It is not possible to unload a class in PHP if it’s already loaded. Even if you rename the class, you’d still get all the function name clashes, and the site would crash. Basically (and unfortunately), there is no way in which you can run two different versions of dompdf on one install…

    I’m sorry I can’t help you with this one!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't generate PDF, shows blank screen’ is closed to new replies.