• this error message appears always when I am trying to create the invoices

    Fatal error: Uncaught MpdfException: Unable to create output file: /home/woomart6/public_html/wp-content/uploads/woocommerce-pdf-invoices/attachments/2018/00002-2018.pdf in /home/woomart6/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php:9442 Stack trace: #0 /home/woomart6/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(204): mPDF->Output(‘/home/woomart6/…’, ‘F’) #1 /home/woomart6/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(321): BEWPI_Abstract_Document->generate(‘F’) #2 /home/woomart6/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php(383): BEWPI_Abstract_Invoice->generate() #3 /home/woomart6/public_html/wp-includes/class-wp-hook.php(286): BE_WooCommerce_PDF_Invoices->admin_pdf_callback(”) #4 /home/woomart6/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /home/woomart6/public_html/wp-includes/plugin.php(453 in /home/woomart6/public_html/wp-content/plugins/woocommerce-pdf-invoices/vendor/mpdf/mpdf/mpdf.php on line 9442

    Anybody can help, please…
    Best

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi, i am also getting same problem waiting for help.

    My issue resolved.

    Solution;

    go to this path folder
    /home/woomart6/public_html/wp-content/uploads/woocommerce-pdf-invoices/attachments/

    Create one folder name: 2018

    this is what not created by the system as year changed and it’s looking to create the file in 2018 folder destination which is not there. So, create just one folder to that path as above your issue will be fixed.

    Good luck
    Happy New Year

    Hi There.
    Could you tell me how to get allocate this path folder?. I am very new to WordPress and Woocommerce this is my first project so I don”t have much knowledge/experience yet.

    Thanks so much.

    Hi

    Login to your web hosting account go to control panel click on File Manager select public_html then open all these folders as shown here “wp-content/uploads/woocommerce-pdf-invoices/attachments”

    Once you open last attachments folder create one folder name it as: 2018

    Hello,

    I had the same problem, thank you for the solution very helpful. What about the orders that were placed before I created the new folder. Are they saved in a different location, so I can copy them to the 2018 folder? Where would I find the files? Thank you!

    Kind regards,
    Marielle

    Hi Marielle

    As per my understanding, your 2017 year invoices should be in 2017 folder in attachments folders.

    this issue is due to the new year 2018 which system generally create as per its new year date, a new folder as like uploads folder for pictures.

    So, 2017 invoices must in 2017 folders.

    Hello,

    Thank you I understand that. To clarify, I’m referring to the invoices from January 1 2018 to January 2 that have automatically been created with each order placed by our customers. I only figured out the invoices were not saved properly, when I manually created an order and I got a fatal error when I wanted to create the invoice. The invoice number at that point was at 56, so there have to have been invoices(at least numbers) before that. Saved somewhere. If not, I have to created the invoices from the older orders starting from 2018. Please advice, thank you!

    Thank you so much! It works!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error message’ is closed to new replies.