In addition to the phantom pagination issue I mentioned in another thread (http://www.kriesi.at/support/topic/remove-new-nav-on-homepage-woocommerce-update) I am also getting a cart error since updating WooCommerce.
The error appears on both the Shopping Cart page and the Checkout page: “Warning: Invalid argument supplied for foreach() in /home/ran48433/public_html/dayview/wp-content/plugins/woocommerce-min-max-quantities/min-max-quantities.php on line 155″.
The error also distorts the “successfully added to your cart” banner (including the “Continue Shopping” button), all styling for the banner is stripped away.
All aspects of the “Min/Max Quantities Plugin” are working just fine in spite of this error. Here is the line of supposedly offending code in the “min-max-quantities.php” file:
Here are screencaps of the error.
Are you using the latest version of the min-max-quantities plugin? Did you try to switch to another theme? If the error occurs with other themes too (eg the default TwentyTwelve Theme) contact the woocommerce support team: http://www.woothemes.com/support/ because then it’s probably an extension bug.
The topic ‘Cart Error "foreach" (WooCommerce Update’ is closed to new replies.