Support » Plugin: XT WooCommerce Floating Cart » Barn2 Restaurant Ordering or Polylang Pro Conflict

  • Resolved jimmylad

    (@jimmylad)


    Hi,

    I’ve had a few different issues with my WordPress and Woo set up and your plugin, which looks to be the relationship between it and Barn2 Restaurant Ordering and/or Polylang Pro. They seem to happen when in English (secondary) language, not in French (primary):

    When there is something in the basket, if I try to delete the item I get a backend debug.log error:

    Delete item 500 error – POST https://alps-drinks.com/?wc-ajax=xt_woofc_update 500

    [08-Mar-2021 14:07:41 UTC] PHP Notice:  Undefined index: product_id in /home/alpsdre/www/wp-content/plugins/polylang-wc/frontend/frontend-cart.php on line 223 #6 /home/alpsdre/www/wp-includes/class-wp-hook.php(287): XT_Woo_Floating_Cart_Ajax->update_q in /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 225 #5 /home/alpsdre/www/wp-content/plugins/xt-woo-floating-cart/public/class-ajax.php(273): WC_Cart->set_quantity(‘884d247c6f65a96…’, 2) #4 /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1328): WC_Cart->calculate_totals() #3 /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1369): WC_Cart_Totals->__construct(Object(WC_Cart)) #2 /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate() #1 /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(143): WC_Cart_Totals->calculate_item_totals() #0 /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(651): WC_Cart_Totals->get_items_from_cart() Stack trace: [08-Mar-2021 14:07:41 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_tax_class() on null in /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:225 [08-Mar-2021 14:07:41 UTC] PHP Notice:  Undefined index: data in /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 225 [08-Mar-2021 14:07:41 UTC] PHP Notice:  Undefined index: 884d247c6f65a96a7da4d1105d584ddd in /home/alpsdre/www/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1322

    2) When there is something in the basket, if I try to change quantities of an item I get a frontend console error

    frontend-min.js?ver=1615210835:1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at onAddedToCart (frontend-min.js?ver=1615210835:1)
    at frontend-min.js?ver=1615210835:1

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter jimmylad

    (@jimmylad)

    In case anyone needs to know the issue was with the Bridge theme conflicting with one or more plugins.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.