• Resolved Thiago Quadros

    (@tmquadros)


    2023-09-27T01:32:17+00:00 CRITICAL Uncaught Error: Call to a member function checkout_billing_fields() on null in /bitnami/wordpress/wp-content/plugins/funnel-builder/modules/checkouts/compatibilities/setup-theme/class-extra-checkout-fields-for-brazil.php:86 Stack trace: #0 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(312): WFACP_Compatibility_With_WECFB->{closure}() #1 /opt/bitnami/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /bitnami/wordpress/wp-content/plugins/funnel-builder/modules/checkouts/includes/class-wfacp-template.php(717): apply_filters() #3 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(310): WFACP_Template_Common->woocommerce_checkout_fields() #4 /opt/bitnami/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #5 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(300): apply_filters() #6 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(754): WC_Checkout->get_checkout_fields() #7 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1239): WC_Checkout->get_posted_data() #8 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(508): WC_Checkout->process_checkout() #9 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(310): WC_AJAX::checkout() #10 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #11 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #12 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #13 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(310): WC_AJAX::do_wc_ajax() #14 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #15 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #16 /opt/bitnami/wordpress/wp-includes/template-loader.php(13): do_action() #17 /opt/bitnami/wordpress/wp-blog-header.php(19): require_once(‘…’) #18 /opt/bitnami/wordpress/index.php(17): require(‘…’) #19 {main} thrown in /bitnami/wordpress/wp-content/plugins/funnel-builder/modules/checkouts/compatibilities/setup-theme/class-extra-checkout-fields-for-brazil.php on line 86

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Thiago Quadros

    (@tmquadros)

    FIX

    FILE: /wp-content/plugins/funnel-builder/modules/checkouts/compatibilities/setup-theme/class-extra-checkout-fields-for-brazil.php

    LINES: 86 and 89

    if ( isset( $fields['billing'] ) ) {
    	//$fields['billing'] = $this->instance->checkout_billing_fields( $fields['billing'] ); // ERROR
    	$fields['billing'] = apply_filters('woocommerce_billing_fields', $fields['billing']); // FIX
    }
    if ( isset( $fields['shipping'] ) ) {
    	//$fields['shipping'] = $this->instance->checkout_shipping_fields( $fields['shipping'] ); // ERROR
    	$fields['shipping'] = apply_filters('woocommerce_shipping_fields', $fields['shipping']); // FIX
    }
Viewing 1 replies (of 1 total)
  • The topic ‘CRITICAL Uncaught Error checkout_billing_fields()’ is closed to new replies.