• travelavenger

    (@travelavenger)


    Hi there,

    there is a php fatal error when creating an invoice with version 3.2.1, the error is

    PHP Fatal error: Uncaught Mpdf\MpdfException: Temporary files directory “…/woocommerce-pdf-invoices/vendor/mpdf/mpdf/src/Config/../../tmp/mpdf” is not writable in …./woocommerce-pdf-invoices/vendor/mpdf/mpdf/src/Cache.php:21\

    I fixed it by making the entire folder woocommerce-pdf-invoices ownership to www-data for ubuntu . it is not a good idea to write file within the plugin directory, I think it is better to write it into the upload folder which is always owned by www-data.

    Could you see if it is possible to update it? thank you for your assistance, by the way it is a great plugin and we love it!!

The topic ‘php fatal error with verion 3.2.1’ is closed to new replies.