• Resolved ghanchi2000

    (@ghanchi2000)


    By mistake i deleted directory

    /home/test123.com/public_html/wp-content/uploads/woocommerce-pdf-invoices/

    after i received this error when i click create pdf button

    Error Details
    =============
    An error of type E_ERROR was caused in line 297 of the file /home/test123.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/classes/otl.php. Error message: Uncaught MpdfException: Can’t open file /home/test123.com/public_html/wp-content/uploads/woocommerce-pdf-invoices/mpdf/ttfontdata/dejavusanscondensed.GSUBGPOStables.dat in /home/test123.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/classes/otl.php:297
    Stack trace:
    #0 /home/test123.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php(16209): otl->applyOTL(‘test123.com’, 255)
    #1 /home/test123.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php(15102): mPDF->WriteHTML(‘

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dear ghanci2000,

    Have you tried to re-install the plugin? This might be the easiest fix for you. Make sure you create a back up of the files you’d wish to keep. Afterwards, to keep the sequentially of your invoices set the number to your last invoice + 1.

    I hope this helps!

    Thread Starter ghanchi2000

    (@ghanchi2000)

    yes we tried every thing, reinstall plugin many times

    but issue is the same

    This issue was related to permission errors and has since been fixed. If you are still having issues, please attempt a Composer Install using the Composer program. You can do so by going to the folder with the composer.json file and running composer install via the command line.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘mistake directory delete’ is closed to new replies.