Support » Plugin: WooCommerce Autocomplete Orders » Error being generated

  • Hi,

    We are currenlty getting this error:

    [21-Jan-2019 02:25:21 UTC] status was called incorrectly. Order properties should not be accessed 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_order_payment, WC_Gateway_PayPal_Pro_PayFlow->process_payment, WC_Gateway_PayPal_Pro_PayFlow->do_payment, WC_Order->payment_complete, apply_filters(‘woocommerce_payment_complete_order_status’), WP_Hook->apply_filters, sp_autocomplete_paid_orders, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.

    Whenever a customer adds a product in the cart and click the checkout button. Anyone getting this error as well?

    I have tried disabling all the plug-ins except the WooCommerce and WC_Gateway_Paypal Pro and when I tried activating this plug-in I got to replicate this error in our test environment.

    WooCommerce Version is: 3.5.3
    Wordpress Version: 4.9.9
    Autocomplete Plugin Version: 1.1.4

Viewing 2 replies - 1 through 2 (of 2 total)
  • yes :(. WP 5.0.2, WC 3.5.3
    Same error, and auto-complete fails.

    maciejrzeszutko

    (@maciejrzeszutko)

    Same error:
    [Mar 28, 22:42:33] status was called incorrectly. Order properties should not be accessed 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_order_payment, WC_Gateway_BACS->process_payment, WC_Order->update_status, WC_Order->set_status, WC_Order->maybe_set_date_paid, apply_filters(‘woocommerce_payment_complete_order_status’), WP_Hook->apply_filters, sp_autocomplete_paid_orders, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.