order_key was called incorrectly
-
HI, I try to use CartFlows but with the e-transaction service I have this error in my logs:
[29-Oct-2019 11:25:43 UTC] 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, WC_Etransactions_Abstract_Gateway->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
How to remove this error?
Regards.
Jean
- The topic ‘order_key was called incorrectly’ is closed to new replies.