Title: WP e-Commerce issue
Last modified: August 19, 2016

---

# WP e-Commerce issue

 *  [nickinoo](https://wordpress.org/support/users/nickinoo/)
 * (@nickinoo)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/)
 * I have just installed the the WP e-Commerce plugin and when I go to the checkout
   options I get
 * > Warning: Invalid argument supplied for foreach() in /wp-content/plugins/wp-
   > shopping-cart/form_fields.php on line 136
 * I also cannot add products, groups or variations. It just says
 * > The item has not been added
 * This is a brand new install, just downloaded wp this morning.

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [kishu27](https://wordpress.org/support/users/kishu27/)
 * (@kishu27)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855818)
 * yeah same error and situation here. . .
 *  [thatblokerob](https://wordpress.org/support/users/thatblokerob/)
 * (@thatblokerob)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855864)
 * Yep – same here also.
 *  [Kathy Reid](https://wordpress.org/support/users/kathyreid/)
 * (@kathyreid)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855868)
 * Same here too 🙁
 *  [Kathy Reid](https://wordpress.org/support/users/kathyreid/)
 * (@kathyreid)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855869)
 * I tried all the previous versions of WP e-commerce (ie 3.6.8 RC1, 3.6.7 right
   back to 3.6.5 and also the dev version) however each gave me a similar error.
   I’ve found another plugin to do e-commerce…
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855870)
 * KathyReid–which plugin did you find?
 *  [macropiper](https://wordpress.org/support/users/macropiper/)
 * (@macropiper)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855874)
 * This is a new bug to me, what version of WordPress are you using and what are
   the database permissions and database prefix set to?
 * The problem appears to be that the database tables for the plugin are not being
   created, but without more information it is not possible to determine why they
   are not being created.
 * Please send us more information so that we can help.
 *  [Mufasa](https://wordpress.org/support/users/mufasa/)
 * (@mufasa)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855875)
 * Macropiper; Thanks for that.
 * Everyone else; Like Macropiper said this is a problem with creating Database 
   tables. We’ve decided to enhance this even futher and look closer at how WordPress
   handle database upgrades…
 * Keep the faith guys. We are here and we are listening 🙂
 *  [pqhost](https://wordpress.org/support/users/pqhost/)
 * (@pqhost)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855878)
 * i just had this error. deactivate the cart plugin and reactivate it and it will
   work…or it did for me.
 *  [peaux](https://wordpress.org/support/users/peaux/)
 * (@peaux)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855880)
 * Thanks pqhost
 * > i just had this error. deactivate the cart plugin and reactivate it and it 
   > will work…or it did for me.
 * I did it and now, all is OK for me too
 *  [mac4417](https://wordpress.org/support/users/mac4417/)
 * (@mac4417)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855902)
 * I FIXED IT!!!!
 * Somebody, please give me some hard cash for this!! Okay, here’s how this was 
   resolved – took me a while but got it.
 * If you are using the wp-super cache plugin and it is activated, take a look at
   your wp-config.php file. Chances are, the define(‘DB_NAME’, entry will be commented
   out. Move it right below the define(‘WP_CACHE’ line. Save the file.
 * Then, deactivate wp-shopping, delete from the plugin folder. Download a fresh
   copy, and put it back into the plugins folder. Activate and viola! You should
   see a bunch of new files in your mysql db.
 *  [mac4417](https://wordpress.org/support/users/mac4417/)
 * (@mac4417)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855903)
 * I’d like to add to my post above…ran into the same issue and noticed that doing
   the above sometimes worked. You also need to delete the pages that wp-shopping
   cart sets up when initially activated. This should work.
 *  [caladohelena](https://wordpress.org/support/users/caladohelena/)
 * (@caladohelena)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855905)
 * Well, I tried also to install this plug-in and I am having the some issue.
 * I already tried to Deactivate-Activate and no databse
 * Check also wp-config.php and nop
 * Please advice !?!
 * wordpress-2.5.1
    wp-e-commerce.3.6.8RC1
 *  [mac4417](https://wordpress.org/support/users/mac4417/)
 * (@mac4417)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855912)
 * my advice: use eshop. Completely user friendly and no issues so far. Try it.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘WP e-Commerce issue’ is closed to new replies.

 * 13 replies
 * 11 participants
 * Last reply from: [mac4417](https://wordpress.org/support/users/mac4417/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/wp-e-commerce-issue/#post-855912)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
