• Resolved Christian

    (@nwachuku)


    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 Hyyan WooCommerce Polylang Integration Version 1.4.3

    I am also going to submit a ticket to the developer of the Hyyan WooCommerce Polylang Integration to see if it’s coming from there 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 346

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error When I add the product to the cart.’ is closed to new replies.