WooCommerce Error| id was called incorrectly
-
Hi Support,
I am witnessing the following record in the PHP Log since the past few days (perhaps since this plugin’s last update)
[13-Dec-2021 09:54:26 UTC] id was called incorrectly. Product 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, do_action('woocommerce_checkout_order_processed'), WP_Hook->do_action, WP_Hook->apply_filters, WSVI_Stock_Change_Helper->wsvi_stock_change_helper, WSVI_Stock_Change_Helper->wsvi_stock_change, WSVI_Stock_Change_Helper->update_group_variations_quantity, wc_update_product_stock, do_action('woocommerce_variation_set_stock'), WP_Hook->do_action, WP_Hook->apply_filters, WPO_Cache_Rules->purge_product_page, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
If i disable WP-Optimize plugin, the error goes away.
Could you please help resolve this?
Kind regards,
- The topic ‘WooCommerce Error| id was called incorrectly’ is closed to new replies.