• Resolved lagghoj

    (@lagghoj)


    I want to regenerate an invoice. It was generated with an old template. I want to make a new one. Can this be done?

    Mainly because this one order cannot display invioce it throws an error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter lagghoj

    (@lagghoj)

    Uppgifter om felet
    ==================
    Ett fel av typen E_ERROR uppstod p? rad 124 i f?ljande fil: /home/user_1538/wordpress/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/helpers.php. Felorsak: Uncaught Error: Call to a member function get_weight() on bool in /home/user_1538/wordpress/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/helpers.php:124
    Stack trace:
    #0 /home/user_1538/wordpress/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-invoice.php(591): apifw_get_order_detail()
    #1 /home/user_1538/wordpress/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-invoice.php(169): APIFW_Invoice->get_invoice_html_template()
    #2 /home/user_1538/wordpress/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-invoice.php(105): APIFW_Invoice->generate_invoice_pdf()
    #3 /home/user_1538/wordpress/wp-content/plugins/pdf-invoices-and-packing-slips-for-woocommerce/includes/class-apifw-front-end.php(128): APIFW_Invoice->invoice_pdf_gen_handler()
    #4 /home/user_1538/wordpress/wp-includes/class-wp-hook.php(287): APIFW_Front_End->handle_order_documents()
    #5 /home/user_1538/wordpress/wp-incl

    Hi,

    Every time you generating invoice it will be generated with the latest invoice template settings.

    Thread Starter lagghoj

    (@lagghoj)

    Thanks for your answer.
    But that is not helping. My questions IS how do I generate an already generated invoice?

    There is no such button available, just to view an invioce. And that is failing and the error message above is appearing.

    Hi,

    Actually, we are only saving invoice number on DB, not entire documents. So there are no such buttons.

    In order items do you have the proper value of weight?

    Thread Starter lagghoj

    (@lagghoj)

    Thanks for your time!
    Actually the product in the order was deleted. This order is old, from june. The product is solded out and deleted. Recovered it from trash, and added a weight.

    Still same error when pressing the invoice button.

    Hi,

    Can you please raise a ticket in our support?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Recreate invoice’ is closed to new replies.