When editing orders Function ID was called incorrectly
-
When I want to edit an order, I get 2 identical notices:
Notice: Function ID was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘load-woocommerce_page_wc-orders’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Internal\Admin\Orders\PageController->__call, call_user_func_array, Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action, Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_edit_order, Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form, Automattic\WooCommerce\Internal\Admin\Orders\Edit->setup, do_action(‘add_meta_boxes’), WP_Hook->do_action, WP_Hook->apply_filters, et_add_post_meta_box, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/vhosts/hsalquiler.es/staging.hsalquiler.es/wp-includes/functions.php on line 6078
Notice: Function ID was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘load-woocommerce_page_wc-orders’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Internal\Admin\Orders\PageController->__call, call_user_func_array, Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action, Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_edit_order, Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form, Automattic\WooCommerce\Internal\Admin\Orders\Edit->setup, do_action(‘add_meta_boxes’), WP_Hook->do_action, WP_Hook->apply_filters, et_pb_add_custom_box, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Please see?Debugging in WordPress?for more information. (This message was added in version 3.0.) in?/var/www/vhosts/hsalquiler.es/staging.hsalquiler.es/wp-includes/functions.php?on line?6078
I’ve disabled all plugins but the messages keeps showingCould you help please?
- The topic ‘When editing orders Function ID was called incorrectly’ is closed to new replies.