WordPress.org

Support

add to cart button error

  • 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 - 1 through 15 (of 33 total)
  • Same problem here, once you click “add to cart” and you get taken to the cart page I get the same error message since upgrading to Cart66 Lite 1.5.1.1

    Running WordPress 3.4.2, what version are you on robert3harrison?

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

    urgently need help , same problem here , i just update the cart66lite 1.5.1.1 , and this error when i press add to cart ,
    Warning: Missing argument 8 for Cart66Cart::addItem(), called in /home/public_html/wp-content/plugins/cart66-lite/models/Cart66Cart.php on line 76 and defined in /home/public_html/wp-content/plugins/cart66-lite/models/Cart66Cart.php on line 107

    my wordpress was update to the latest version 3.5

    I dont know if you guys are facing this problem too, tested this plugin in all browser, in firefox browser shopping cart , the layout is mess up, meaning the coupon and price total are align to the left.

    In ie 9, the error broke the whole site, meaning your theme menu ,everything all is mess up

    The only problem since updating is the one mentioned above.

    You may need to look at your CSS, remember any changes to the CSS file needs to be done outside the plugin folder otherwise when you update the CSS changes you may have made will be over writtern by the new updated.

    Regarding a quick fix, unless a rep from Cart66 provides a solution here we will need to wait for an update since the error is coming from within the Cart66 plugin folder.

    hi bjarni, i did not touch any css file, before updating the site or cart66lite ,the layout and everything was fine, i guess the plugin broke the site layout?

    Uninstall the plugin and see if your site is ok then?

    hi bjarni,

    Sorry, i guess i did not make myself clear, what i meant was, when this plugin was activated and updated,the homepage and everything was fine , except the “add to cart” button error and it broke the cart page layout in firefox and ie9 browser, so the issue lies with the plugin itself

    I correct myself
    in firefox browser shopping cart page layout is mess up, meaning the coupon and price total amount are align to the left. The “price total :” word is missing

    In ie 9, the error broke the “shopping cart page”, meaning your theme menu ,everything all is mess up

    I’m on WordPress 3.5, the update to 1.5.1.1 from 1.5.1 definetly caused the error. Everything on my site worked fine with no other changes until I updated cart66. They need to address this error and fast.

    wp-content/plugins/cart66/models/Cart66Cart.php on line 107

    Argument 8 of line 107 in Cart66Cart.php is:

    $optionResult
    change that to:

    $optionResult=”

    That fixes the error.

    Thanks ZedGee,

    Do you all know how to remove cart 66 meta generator?
    <meta name=”generator” content=”Cart66 Lite 1.5.1.1″ />

    You could try calling Cart66Common::removeCart66Meta() from one of your init scripts.

    hi sdefranc, sorry i may seem abit novice to coding, hmm ,how do i achieve it?
    “calling Cart66Common::removeCart66Meta() from one of your init scripts. ”

    No problem, perhaps add something like:

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

    to your theme’s function.php file.

    Thank you so much, sdefranc

    Hi,

    Everything was working great until I just did the 1.5.1.1 update.

    I receive the following error when the cart screen comes up:
    Warning: Missing argument 8 for Cart66Cart::addItem(), called in /home/content/60/10073160/html/wp-content/plugins/cart66-lite/models/Cart66Cart.php on line 76 and defined in /home/content/60/10073160/html/wp-content/plugins/cart66-lite/models/Cart66Cart.php on line 107

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