Title: Error message
Last modified: January 1, 2018

---

# Error message

 *  [abdullahjanem](https://wordpress.org/support/users/abdullahjanem/)
 * (@abdullahjanem)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/)
 * 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)

 *  [marahman.b2b](https://wordpress.org/support/users/marahmanb2b/)
 * (@marahmanb2b)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9824981)
 * Hi, i am also getting same problem waiting for help.
 *  [marahman.b2b](https://wordpress.org/support/users/marahmanb2b/)
 * (@marahmanb2b)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9825008)
 * 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
 *  [beankindcoffee](https://wordpress.org/support/users/beankindcoffee/)
 * (@beankindcoffee)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9826993)
 * 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.
 *  [marahman.b2b](https://wordpress.org/support/users/marahmanb2b/)
 * (@marahmanb2b)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9827205)
 * 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
 *  [verheesw](https://wordpress.org/support/users/verheesw/)
 * (@verheesw)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9827541)
 * 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
 *  [marahman.b2b](https://wordpress.org/support/users/marahmanb2b/)
 * (@marahmanb2b)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9827846)
 * 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.
 *  [verheesw](https://wordpress.org/support/users/verheesw/)
 * (@verheesw)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9827903)
 * 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!
 *  [silencerhythm](https://wordpress.org/support/users/silencerhythm/)
 * (@silencerhythm)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9839393)
 * Thank you so much! It works!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error message’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices/assets/icon-128x128.png?rev=1128583)
 * [Invoices for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices/reviews/)

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)

 * 8 replies
 * 5 participants
 * Last reply from: [silencerhythm](https://wordpress.org/support/users/silencerhythm/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/error-message-663/#post-9839393)
 * Status: not resolved