Uncaught Error with 1.2.3 WooCommerce plugin
-
Hi
The latest version of WP Activity Log for WooCommerce has resulted in an error during WooCommerce checkout. The log reads:
2021-09-03T08:42:54+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Order_Item_Shipping::get_product() in ****/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:2802 Stack trace: #0 /public_html/wp-includes/class-wp-hook.php(303): WSAL_Sensors_WooCommerce->event_order_items_added(8554, Object(WC_Order_Item_Shipping), 24401) #1 /public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(8554, Array) #2 /public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 /public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action('woocommerce_new...', 8554, Object(WC_Order_Item_Shipping), 24401) #4 /public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Shipping)) #5 /public_html/wp-conten in /public_html/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 2802
We are running WooCommerce version 5.6.0 and WordPress version 5.8. We have also rolled back WP Activity Log for WooCommerce back to 1.2.2.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Uncaught Error with 1.2.3 WooCommerce plugin’ is closed to new replies.