Fatal error: Call to a member function custom_field() on null
-
Hola!
Tengo la versión gratuita y de repente me ha dejado de generar facturas, los albaranes si los genera pero en las facturas me sale este mensaje de error:
Fatal error: Call to a member function custom_field() on null/home/anova-cocinas/www/wp-content/mu-plugins/theme-customisations-master/custom/functions.php (117)
#0 /home/anova-cocinas/www/wp-includes/class-wp-hook.php(312): af_nif_factura(‘Mercedes Martin…’)
#1 /home/anova-cocinas/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘Mercedes Martin…’, Array)
#2 /home/anova-cocinas/www/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document-methods.php(93): apply_filters(‘wpo_wcpdf_billi…’, ‘Mercedes Martin…’, Object(WPO\WC\PDF_Invoices\Documents\Invoice))
#3 /home/anova-cocinas/www/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/anova-cocinas/www/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/Simple/invoice.php(42): WPO\WC\PDF_Invoices\Documents\Order_Document_Methods->billing_address()
#5 /home/anova-cocinas/www/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(976): include(‘/home/anova-coc…’)
#6 /home/anova-cocinas/www/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/anova-coc…’, Array)
#7 /home/anova-cocinas/www/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/anova-cocinas/www/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/anova-cocinas/www/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/anova-cocinas/www/wp-includes/class-wp-hook.php(310): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
#11 /home/anova-cocinas/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
#12 /home/anova-cocinas/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#13 /home/anova-cocinas/www/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_generat…’)
Gracias!!!
The page I need help with: [log in to see the link]
- The topic ‘Fatal error: Call to a member function custom_field() on null’ is closed to new replies.