Multiple WooCommerce PHP Errors

SupportMultiple WooCommerce PHP Errors
Melissa Lunsford asked 4 years ago
Hi Nikola, I've been seeing a couple of issues in my PHP Error Log with WooCommerce. I reached out to WooCommerce support and they stated these warnings were from Easy Appointments. Could you help?  Here are the warnings:   woocommerce_add_order_item_meta is deprecated since version 3.0.0! Use woocommerce_new_order_item instead. Timestamp: 2020-10-21 23:16:22 UTC   Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'EAC_Woo_Logic' does not have a method 'checkout_item_event' in /wordpress/core/5.5.1/wp-includes/class-wp-hook.php on line 287 Timestamp: 2020-10-23 01:41:07 UTC Stack Trace
-----------
1. WP_Hook->apply_filters('', Array(4))
/wordpress/core/5.5.1/wp-includes/class-wp-hook.php:311
2. WP_Hook->do_action(Array(4))
/wordpress/core/5.5.1/wp-includes/plugin.php:478
3. do_action('woocommerce_checkout_c...', WC_Order_Item_Product, 'ba7e36c43aff315c00ec2b...', Array(12), WC_Order)
/wordpress/plugins/woocommerce/4.6.1/includes/class-wc-checkout.php:489
4. WC_Checkout->create_order_line_items(WC_Order, WC_Cart)
/wordpress/plugins/woocommerce/4.6.1/includes/class-wc-checkout.php:436
5. WC_Checkout->set_data_from_cart(WC_Order)
/wordpress/plugins/woocommerce/4.6.1/includes/class-wc-checkout.php:379
6. WC_Checkout->create_order(Array(25))
/wordpress/plugins/woocommerce/4.6.1/includes/class-wc-checkout.php:1145
7. WC_Checkout->process_checkout()
/wordpress/plugins/woocommerce/4.6.1/includes/class-wc-ajax.php:464
8. WC_AJAX::checkout('')
/wordpress/core/5.5.1/wp-includes/class-wp-hook.php:287
9. WP_Hook->apply_filters('', Array(1))
/wordpress/core/5.5.1/wp-includes/class-wp-hook.php:311
10. WP_Hook->do_action(Array(1))
/wordpress/core/5.5.1/wp-includes/plugin.php:478
11. do_action('wc_ajax_checkout')
/wordpress/plugins/woocommerce/4.6.1/includes/class-wc-ajax.php:89
12. WC_AJAX::do_wc_ajax('')
/wordpress/core/5.5.1/wp-includes/class-wp-hook.php:287
13. WP_Hook->apply_filters(false, Array(1))
/wordpress/core/5.5.1/wp-includes/class-wp-hook.php:311
14. WP_Hook->do_action(Array(1))
/wordpress/core/5.5.1/wp-includes/plugin.php:478
15. do_action('template_redirect')
/wordpress/core/5.5.1/wp-includes/template-loader.php:13
16. require_once('/wordpress/core/5.5.1/...')
/wordpress/core/5.5.1/wp-blog-header.php:19
17. require('/wordpress/core/5.5.1/...')
/wordpress/core/5.5.1/index.php:17 Context
-------
URL : /?wc-ajax=checkout
Referer : https://thebarkacademy.com/checkout/
HTTP Method : POST
HTTP Host : thebarkacademy.com
HTTP Status : 200
isSSL : Yes
Current Filter : template_redirect, wc_ajax_checkout, woocommerce_checkout_create_order_line_item
Execution Time : 1.582 s
Memory Usage : 77.28 MiB
PHP SAPI : fpm-fcgi   I do have WooCommerce setup in the Easy Appointment Connect settings.   Thanks,
1 Answers
Nikola Loncar Staff answered 4 years ago
Hi Melissa, thanks for reporting will be fixed asap. Best regards, Nikola