Error creating pdf invoice
-
Hi,
at first thanks for that great plugin! Issue is:
Suddenly when I press create pdf invoice I get:
Fatal error: Call to a member function date_i18n() on null
/var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/class-wcpdf-invoice.php (104)
#0 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/class-wcpdf-invoice.php(70): WPO\WC\PDF_Invoices\Documents\Invoice->init_number()
#1 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/wcpdf-functions.php(89): WPO\WC\PDF_Invoices\Documents\Invoice->init()
#2 /var/www/html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(371): wcpdf_get_document(‘invoice’, Object(Automattic\WooCommerce\Admin\Overrides\Order), true)
#3 /var/www/html/wp-includes/class-wp-hook.php(307): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
#4 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#6 /var/www/html/wp-admin/admin-ajax.php(187): do_action(‘wp_ajax_generat…’)
#7 {main}I checked the memory and everything looks ok so far….
Thanks and kind Regards,
Marco
- The topic ‘Error creating pdf invoice’ is closed to new replies.