• Hello,
    We are keep getting this error in the error log and it’s related to accessing the order_key property incorrectly in WordPress/WooCommerce. This error typically occurs when attempting to access order properties directly, which is not the recommended approach.

    order_key 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, SN_WC_MobilPay->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.

    Is there a way to help us fix the error?

    Thank you.

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

  • The topic ‘order_key was called incorrectly’ is closed to new replies.