• After upgrading to 1.5.1.1 I now get the following error when I click my add to cart button:

    Warning: Missing argument 8 for Cart66Cart::addItem(), called in wp-content/plugins/cart66-lite/models/Cart66Cart.php on line 76 and defined in wp-content/plugins/cart66-lite/models/Cart66Cart.php on line 107

    Was fine with 1.5.1 version

    http://wordpress.org/extend/plugins/cart66-lite/

Viewing 15 replies - 16 through 30 (of 33 total)
  • Plugin Author Lee Blue

    (@reality66)

    We’re looking into this problem now and will release an update to fix it right away. It seems the error only occurs when debug mode is turned on. We’ll have a fix deployed no later than Monday.

    Thread Starter robert3harrison

    (@robert3harrison)

    Not sure what you mean by “It seems the error only occurs when debug mode is turned on.”, but I’ve never done anything to turn on debugging on my site that I’m aware of, but I’m getting the error.

    Letting you know that the response that @zedgee (thanks) gave fixes the issue:

    Argument 8 of line 107 in Cart66Cart.php is:

    $optionResult

    change that to:

    $optionResult=''

    Thread Starter robert3harrison

    (@robert3harrison)

    Yes, I’ve tried that also and it appears to fix the error…just want the “plugin author” to verify that that is the correct fix instead of a temporary fix.

    I only know enough php to be dangerous. Don’t want to create an unknown issue only to be found later down the line.

    Plugin Author Lee Blue

    (@reality66)

    We just released an update that should resolve this problem (version 1.5.1.2)

    Thread Starter robert3harrison

    (@robert3harrison)

    Can you tell us if it is just the change noted above?

    Plugin Author Lee Blue

    (@reality66)

    Yes, adding the quotes to $optionResult=” was one of the three updates in this new release. We also updated the cart widget to show the non-discounted subtotal and fixed an issue with ajax add to cart in the cart66-library.js file.

    Thread Starter robert3harrison

    (@robert3harrison)

    Great, thanks.

    Hi guys ,after updating the plugin to latest version, i was faced with a white screen on both front and back end with an error
    ” Fatal error: Class ‘Cart66Common’ not found in /home/public_html/wp-content/themes/eleven/functions.php on line 494″

    on my line 494 was
    function remove_cart66_meta() {
    Cart66Common::removeCart66Meta();
    }
    add_action(‘init’, ‘remove_cart66_meta’);

    any solution?

    Plugin Author Lee Blue

    (@reality66)

    Are you using the Storemerce theme? There seems to be some sort of a problem with that theme.

    To the plugin author
    another thing i aware, not sure if it was a bug, when people add to cart, the reach the shopping cart page, when they check out at the shopping cart page, they reach the check out page and the check out page wrote “Your Cart Is Empty” and a continue shopping button.

    It seem like something like it couldnt hook the shopping cart checkout sometime

    Hi , reality66, i switch to the default wordpress twenty eleven theme, by right i am using “bounce” wordpress theme

    I added the following code to my function.php

    function remove_cart66_meta() {
    Cart66Common::removeCart66Meta();
    }
    add_action(‘init’, ‘remove_cart66_meta’);

    This code was provided by @sdefranc as above to remove the cart66lite meta generator . seem like “Cart66Common” class causing the error , did u all change something during the update?

    Perhaps the action is being called before the Cart66Common class is being defined. You might want to experiment with different priority levels as a third option to the “add_action()” function to make sure that it gets called after the cart66 classes.

    hi sdefranc, sorry, any idea how do i modify the code?

    hiboy,

    Try changing this to:

    function remove_cart66_meta() {
    Cart66Common::removeCart66Meta();
    }
    add_action(‘wp_head’, ‘remove_cart66_meta’);

    Let us know if that works for you.

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘add to cart button error’ is closed to new replies.