Hello, I have been using the plugin for years and it has never given me any problems.
Since the last update I am getting error 200 on the document preview page.
Also when I try to generate an invoice now I get the following error:
Fatal error: Call to a member function get_header_logo_id() on null/var/www/vhosts/mydomain.com/httpdocs/tienda/wp-content/plugins/woocommerce-pdf-ips-templates/templates/Simple Premium/invoice.php (6)#0 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1084): include() #1 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(928): WPO\WC\PDF_Invoices\Documents\Order_Document->render_template() #2 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(883): WPO\WC\PDF_Invoices\Documents\Order_Document->get_html() #3 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(950): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf() #4 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(517): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf() #5 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-includes/class-wp-hook.php(310): WPO\WC\PDF_Invoices\Main->generate_document_ajax() #6 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #7 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /var/www/vhosts/mydomain.com/httpdocs/tienda/wp-admin/admin-ajax.php(188): do_action() #9 {main}
Edit:
For some reason, after the last update, the template changed to the simple premium one, causing these errors to appear.
I’ve switched back to my custom template and everything works again.
Sorry for the inconvenience.
- This topic was modified 7 minutes ago by .