WC_Checkout->__get, wc_doing_it_wrong.
-
Love this little program.
I am getting a depreciation notice in my logs anytime someone proceeds to payment from checkout page.
WC_Checkout->posted was called incorrectly. Use $_POST directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_customer, apply_filters(‘woocommerce_checkout_update_customer_data’), WP_Hook->apply_filters, WC_Address_Book->woocommerce_checkout_update_customer_data, WC_Checkout->__get, wc_doing_it_wrong. This message was added in version 3.0.0.
Is this plugin causing this error?
- The topic ‘WC_Checkout->__get, wc_doing_it_wrong.’ is closed to new replies.