PHP Error related to WooCommerce
-
Hi,
Lately, I am getting a lot of these errors in the log:
Got error ‘ USIN_List_Ajax->get_user_data, apply_filters(‘usin_user_profile_data’), WP_Hook->apply_filters, WCMUI_Order_Notes->add_order_notes_to_user_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_usin_get_user_data’), WP_Hook->do_action, WP_Hook->apply_filters, USIN_List_Ajax->get_user_data, apply_filters(‘usin_user_profile_data’), WP_Hook->apply_filters, WCMUI_Order_Notes->add_order_notes_to_user_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong.
The error go a lot longer but the essence is that WooCommerce complains about calling something incorrectly.Initially, I wrote to the Users Insights support, but they told me it is not coming from their core plugin.
Please consider if this is something that requires update of the plugin’s codebase.Thank you!
- You must be logged in to reply to this topic.