WooCommerce 3.0 errors
-
Hi,
I am testing the upgrade to WooCommerce 3.0 on a test site, which has WP_DEBUG ON.
When the user is logged in, the following notice is firing up in the widget (3 times in a row)Notice: status was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/woocommerce/templates/taxonomy-product_cat.php’), wc_get_template, include(‘/plugins/woocommerce/templates/archive-product.php’), do_action(‘woocommerce_after_main_content’), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_get_sidebar, wc_get_template, include(‘/plugins/woocommerce/templates/global/sidebar.php’), get_sidebar, locate_template, load_template, require_once(‘/themes/mytheme/sidebar.php’), dynamic_sidebar, WP_Widget->display_callback, WooCommerceMyAccountWidget->widget, 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 /test_site/wp-includes/functions.php on line 4138
Even though the stack goes down to MyAccountWidget, I am not certain if the template is not the cause as it has a sidebar where the widget is used.
Can you advise?
Thanks for your help!
The topic ‘WooCommerce 3.0 errors’ is closed to new replies.