200: parsererror + Checkout Field Editor for WooCommerce

[ad_1]

Hello.
I'm having problems with the pdf (preview and download). 
I have the Premium Template plugin too. Everything was working fine before. 
We are also working with the "Checkout Field Editor for WooCommerce" plugin to add the ID Number for the client on the checkout page.
I also have another site with the same plugins but the Premium Template and its working ok.

I tried changing the template to "simple" but didn't work.
I also tried swithching off the Checkout Field plugin and deleting the custome field on the custom blocks, and didn't work either.

Could you help me to solve this error?

This is the error I'm getting:

Fatal error: Call to a member function custom_field() on null
/home/fisinerg/public_html/wp-content/plugins/correos-oficial/src/Infrastructure/Common/Shipping/DniRequired.php (109)
#0 /home/fisinerg/public_html/wp-includes/class-wp-hook.php(312): include_nif_in_invoice('Ana Mar\xC3\xADa Pard...') 
#1 /home/fisinerg/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Ana Mar\xC3\xADa Pard...', Array) 
#2 /home/fisinerg/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document-methods.php(93): apply_filters('wpo_wcpdf_billi...', 'Ana Mar\xC3\xADa Pard...', Object(WPO\WC\PDF_Invoices\Documents\Invoice)) #3 /home/fisinerg/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document-methods.php(102): WPO\WC\PDF_Invoices\Documents\Order_Document_Methods->get_billing_address() 
#4 /home/fisinerg/public_html/wp-content/plugins/woocommerce-pdf-ips-templates/templates/Simple Premium/invoice.php(42): WPO\WC\PDF_Invoices\Documents\Order_Document_Methods->billing_address() 
#5 /home/fisinerg/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(976): include('/home/fisinerg/...') 
#6 /home/fisinerg/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(879): WPO\WC\PDF_Invoices\Documents\Order_Document->render_template('/home/fisinerg/...', Array) 
#7 /home/fisinerg/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(834): WPO\WC\PDF_Invoices\Documents\Order_Document->get_html() 
#8 /home/fisinerg/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(901): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf() 
#9 /home/fisinerg/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(466): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf('download') 
#10 /home/fisinerg/public_html/wp-includes/class-wp-hook.php(310): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax('') 
#11 /home/fisinerg/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) 
#12 /home/fisinerg/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 
#13 /home/fisinerg/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_generat...') 
#14 {main}

Thank you.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer