Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2385151
When bundle is added to cart, the cart shows a fatal error.
Closed

Comments

  • Lydia Clarke started the conversation

    The cart shows this error when the bundle is added:  

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WPCleverWoosb::woosb_cart_item_quantity(), 2 passed in /home/disl7824/public_html/thebestu-oc.com/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected in /home/disl7824/public_html/thebestu-oc.com/wp-content/plugins/woo-product-bundle/includes/class-woosb.php:1616 Stack trace: #0 /home/disl7824/public_html/thebestu-oc.com/wp-includes/class-wp-hook.php(287): WPCleverWoosb->woosb_cart_item_quantity(' <div class="q...', '7cb4c020aa049b3...') #1 /home/disl7824/public_html/thebestu-oc.com/wp-includes/plugin.php(206): WP_Hook->apply_filters(' <div class="q...', Array) #2 /home/disl7824/public_html/thebestu-oc.com/wp-content/themes/porto/woocommerce/cart/cart-v2.php(96): apply_filters('woocommerce_car...', ' <div class="q...', '7cb4c020aa049b3...') #3 /home/disl7824/public_html/thebestu-oc.com/wp-includes/template.php(725): require('/home/disl7824/...') #4 /home/disl7824/public_html/thebestu-oc.com/wp-includes/template.php(672): load_tem in /home/disl7824/public_html/thebestu-oc.com/wp-content/plugins/woo-product-bundle/includes/class-woosb.php on line 1616

    There has been a critical error on your website.

    Learn more about debugging in WordPress.

    I saw someone else asked about this, but I did not see a resolution.  I want to offer a bundle for mother's day and want to send out an email blast about it, so a prompt response would be greatly appreciated.  Thanks1

  •  1,228
    Dustin replied

    Hi Lydia,

    I've checked and seen the error is related to this file wp-content/themes/porto/woocommerce/cart/cart-v2.php

    Please send me your website info (wp-admin link, username, password) then I can check and fix this problem for you. You also can create a dev/staging site with the same issue then I'll work on it. Read more about sending secure login information here https://wpclever.net/faqs/sending-secure-login-information.

    Best regards,
    Dustin