• Resolved Jordi

    (@kukat)


    Hi!

    We got this error when update orders on latest version Woocommerce and PHP.

    AH01071: Got error ‘PHP message: status was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_wc_shipment_tracking_save_form’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Advanced_Shipment_Tracking_Actions->save_meta_box_ajax, WC_Advanced_Shipment_Tracking_Actions->add_tracking_item, do_action(‘update_order_status_after_adding_tracking’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Advanced_Shipment_Tracking_Admin->update_order_status_after_adding_tracking, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, apply_filters(‘woocommerce_valid_order_statuses_for_payment’), WP_Hook->apply_filters, Wf_Woocommerce_Packing_List_Admin->wf_allow_payment_for_order_status, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.’, referer: https://www.accelmovil.es/wp-admin/post.php?post=314083&action=edit

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jordi

    (@kukat)

    Sorry, PHP 8.1 !!

    Plugin Author gaurav1092

    (@gaurav1092)

    Hi @kukat,

    We’ve tried to replicate the issue on our end without success, which suggests that it might be related to a conflict with another plugin on your site.

    To troubleshoot this, we recommend deactivating all plugins except for Advanced Shipment Tracking (AST) and WooCommerce. Then, try updating orders again to see if the error persists. If the error disappears, reactivate your plugins one by one until you find the one causing the conflict.

    Best Regards,
    Gaurav

    Thread Starter Jordi

    (@kukat)

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order properties should not be accessed directly’ is closed to new replies.