Error When I add the product to the cart.
-
I just want to use this opportunity to thank you for this amazing plugin!!!!
But I get this error when I try to add a Facebook synced product to the cart. Everything was working fine until I updated to the latest version 1.10.0 of Facebook for WooCommerce
It seems there is a conflict with the Facebook for WooCommerce plugin Version 1.10.0
I have also submitted a ticket to the developer of Facebook for WooCommerce developers to see if it’s coming from their end.
Fatal error:
Uncaught ArgumentCountError: Too few arguments to function WC_Facebookcommerce_EventsTracker::set_last_product_added_to_cart_upon_redirect(),
1 passed in [ABSOLUTE_PATH]/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in
[WEBSITE_ABSOLUTE_PATH]/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-events-tracker.php:346
Stack trace: #0 [ABSOLUTE_PATH]/wp-includes/class-wp-hook.php(288): WC_Facebookcommerce_EventsTracker->set_last_product_added_to_cart_upon_redirect(”)
#1 [ABSOLUTE_PATH]/wp-includes/plugin.php(206): WP_Hook->apply_filters(”, Array)
#2 [ABSOLUTE_PATH]/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Cart.php(406): apply_filters(‘woocommerce_add…’, ”)
#3 [ABSOLUTE_PATH]/wp-includes/class-wp-hook.php in [ABSOLUTE_PATH]/wp-content/plugins/facebook-for-woocommerce/facebook-commerce-events-tracker.php on line 346WORDPRESS VERSION: 5.3.2
WooCommerce version: 3.9.3
PHP version: 7.3.15
Hyyan WooCommerce Polylang Integration: Version 1.4.3
- The topic ‘Error When I add the product to the cart.’ is closed to new replies.