I just transferred a site from a dev domain to a live domain. After the transfer, I noticed a lot of errors on the orders in the dashboard. All errors are “Notice: id was called incorrectly.” Below are 2 examples of the errors I am seeing.
Notice : id was called incorrectly . Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(’/themes/pro/page.php’), x_get_view, X_View_Router::render, include(’/themes/pro/framework/views/integrity/wp-page.php’), x_get_view, X_View_Router::render, include(’/themes/pro/framework/views/integrity/content-page.php’), x_get_view, X_View_Router::render, include(’/themes/pro/framework/views/global/_content.php’), x_get_view, X_View_Router::render, include(’/themes/pro/framework/views/global/_content-the-content.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(’/plugins/woocommerce/templates/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_action, WP_Hook->apply_fi in /var/www/wp-includes/functions.php on line 5313
Notice : id was called incorrectly . Order properties should not be accessed directly. Backtrace: require(‘wp-admin/edit-form-advanced.php’), do_meta_boxes, WC_Meta_Box_Order_Data::output, WC_Meta_Box_Order_Data::init_address_fields, apply_filters(‘woocommerce_admin_billing_fields’), WP_Hook->apply_filters, Tco_Woo_Hooks::admin_billing_fields, Tco_Woo_Functions::admin_order_filter, 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/wp-includes/functions.php on line 5313
Thanks in advance for the help.